问题描述
安装calamari-clients时出错:环境:CentOS6.4配置环境:#yuminstallnpmrubyrubygemsruby-devel#npminstall-ggruntgrunt-clibowergrunt-contrib-compass#gemupdate--system&&geminstallcompass安装:#cdcalamari-clients#makebuild-realbuildinguiset-e;fordinmanageadminlogindashboard;doecho$d;cd$d;makebuild;cd..;donemanagemake[1]:Enteringdirectory`/ceph-calamari/calamari-clients/manage'npminstall--loglevelwarnnpmWARNpackage.jsonmanage@0.0.0Norepositoryfield.>pngquant-bin@0.1.7postinstall/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/pngquant-bin>nodeindex.js>gifsicle@0.1.7postinstall/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle>nodeindex.jspre-buildtestpassedsuccessfullypre-buildtestfailed,compilingfromsource...stream.js:94thrower;//Unhandledstreamerrorinpipe.^Error:invalidtarfileatExtract.Parse._startEntry(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js:145:13)atExtract.Parse._process(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js:127:12)atBlockStream.<anonymous>(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js:47:8)atBlockStream.emit(events.js:95:17)atBlockStream._emitChunk(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/block-stream/block-stream.js:145:10)atBlockStream.resume(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/block-stream/block-stream.js:58:15)atExtract.Reader.resume(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/fstream/lib/reader.js:255:34)atDirWriter.<anonymous>(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/extract.js:57:8)atDirWriter.emit(events.js:92:17)at/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/fstream/lib/dir-writer.js:39:8npmERR!weirderror8npmERR!tarpackErrorreading/root/tmp/npm-11227-8WFpwRHv/1429784658931-0.128843525191769/packagenpmERR!addLocalDirectoryCouldnotpack"/root/tmp/npm-11227-8WFpwRHv/1429784658931-0.128843525191769/package"to"/root/.npm/mout/0.6.0/package.tgz"npmERR!errorrollingbackError:ENOTEMPTY,rmdir'/ceph-calamari/calamari-clients/manage/node_modules/bower/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang'npmERR!errorrollingbackbower@1.2.8{[Error:ENOTEMPTY,rmdir'/ceph-calamari/calamari-clients/manage/node_modules/bower/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang']npmERR!errorrollingbackerrno:53,npmERR!errorrollingbackcode:'ENOTEMPTY',npmERR!errorrollingbackpath:'/ceph-calamari/calamari-clients/manage/node_modules/bower/node_modules/update-notifier/node_modules/configstore/node_modules/js-yaml/node_modules/argparse/node_modules/lodash/lang'}npmERR!notokcode0make[1]:***[build-stamp]错误1make[1]:Leavingdirectory`/ceph-calamari/calamari-clients/manage'make:***[build-ui]错误2试了好多种方法均不行,过来请教各位大神有没有解决方法?
解决方案
解决方案二:
#npm-v1.3.6#node-vv0.10.33
解决方案三:
删除~/.npm/后重新执行makebuild-real错误和以前相同:#makebuild-realbuildinguiset-e;fordinmanageadminlogindashboard;doecho$d;cd$d;makebuild;cd..;donemanagemake[1]:Enteringdirectory`/ceph-calamari/calamari-clients/manage'npminstall--loglevelwarnnpmWARNpackage.jsonmanage@0.0.0Norepositoryfield.>optipng-bin@0.3.11postinstall/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/optipng-bin>nodeindex.js>pngquant-bin@0.1.7postinstall/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/pngquant-bin>nodeindex.js>jpegtran-bin@0.2.8postinstall/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/jpegtran-bin>nodeindex.js>gifsicle@0.1.7postinstall/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle>nodeindex.js✓pre-buildtestpassedsuccessfullypre-buildtestpassedsuccessfully!pre-buildtestfailed,compilingfromsource...stream.js:94thrower;//Unhandledstreamerrorinpipe.^Error:invalidtarfileatExtract.Parse._startEntry(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js:145:13)atExtract.Parse._process(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js:127:12)atBlockStream.<anonymous>(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/parse.js:47:8)atBlockStream.emit(events.js:95:17)atBlockStream._emitChunk(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/block-stream/block-stream.js:145:10)atBlockStream.resume(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/block-stream/block-stream.js:58:15)atExtract.Reader.resume(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/fstream/lib/reader.js:255:34)atDirWriter.<anonymous>(/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/lib/extract.js:57:8)atDirWriter.emit(events.js:92:17)at/ceph-calamari/calamari-clients/manage/node_modules/grunt-contrib-imagemin/node_modules/gifsicle/node_modules/bin-build/node_modules/download/node_modules/decompress/node_modules/tar/node_modules/fstream/lib/dir-writer.js:39:8npmERR!weirderror8npmERR!notokcode0make[1]:***[build-stamp]错误1make[1]:Leavingdirectory`/ceph-calamari/calamari-clients/manage'make:***[build-ui]错误2
解决方案四:
楼主你解决这个问题了么?我也遇到了。。。
解决方案五:
没啊,我换用了淘宝的源,第一次编译出错,clean之后再次编译能编译过,试了几次都是这样。
解决方案六:
引用4楼u011384879的回复:
没啊,我换用了淘宝的源,第一次编译出错,clean之后再次编译能编译过,试了几次都是这样。
我也是,后来换了vagrant+virtualbox的方法编译的
解决方案七:
引用5楼wpwp40的回复:
Quote: 引用4楼u011384879的回复:
没啊,我换用了淘宝的源,第一次编译出错,clean之后再次编译能编译过,试了几次都是这样。我也是,后来换了vagrant+virtualbox的方法编译的
你的calamari监控可以使用吗?是不是centos系统?我安装完成,从浏览器登陆进去后,进入dashboard,一直是HTTP500内部服务器出错。
解决方案八:
引用6楼u011384879的回复:
Quote: 引用5楼wpwp40的回复:
Quote: 引用4楼u011384879的回复:
没啊,我换用了淘宝的源,第一次编译出错,clean之后再次编译能编译过,试了几次都是这样。我也是,后来换了vagrant+virtualbox的方法编译的
你的calamari监控可以使用吗?是不是centos系统?我安装完成,从浏览器登陆进去后,进入dashboard,一直是HTTP500内部服务器出错。
calamari可以登进去,但检测不到ceph集群,显示“4CephserversareconnectedtoCalamari,butnoCephclusterhasbeencreatedyet",但我ceph已经安装了,一直还没解决这个问题。你500错误应该是防火墙的问题,iptables和SElinux都关掉了么
解决方案九:
引用7楼wpwp40的回复:
Quote: 引用6楼u011384879的回复:
Quote: 引用5楼wpwp40的回复:
Quote: 引用4楼u011384879的回复:
没啊,我换用了淘宝的源,第一次编译出错,clean之后再次编译能编译过,试了几次都是这样。我也是,后来换了vagrant+virtualbox的方法编译的
你的calamari监控可以使用吗?是不是centos系统?我安装完成,从浏览器登陆进去后,进入dashboard,一直是HTTP500内部服务器出错。
calamari可以登进去,但检测不到ceph集群,显示“4CephserversareconnectedtoCalamari,butnoCephclusterhasbeencreatedyet",但我ceph已经安装了,一直还没解决这个问题。你500错误应该是防火墙的问题,iptables和SElinux都关掉了么
我把iptables和SELinux关闭后还是一样,一到/dashboard/目录就提示内部服务器出错。你用的时centos吗?
解决方案十:
你进入/dashboard/时会不会出错?
解决方案十一:
引用9楼u011384879的回复:
你进入/dashboard/时会不会出错?
是用的CentOS6.5,我就根本进不去dashboard目录,提示没有cephcluster。这几天都没弄了,,这是截图。
解决方案十二:
引用10楼wpwp40的回复:
Quote: 引用9楼u011384879的回复:
你进入/dashboard/时会不会出错?是用的CentOS6.5,我就根本进不去dashboard目录,提示没有cephcluster。这几天都没弄了,,这是截图。
你没有安装diamond吧?
解决方案十三:
引用11楼u011384879的回复:
Quote: 引用10楼wpwp40的回复:
Quote: 引用9楼u011384879的回复:
你进入/dashboard/时会不会出错?是用的CentOS6.5,我就根本进不去dashboard目录,提示没有cephcluster。这几天都没弄了,,这是截图。
你没有安装diamond吧?
diamond也安装了啊,你的都好了么?我很久没管她了……
解决方案十四:
我现在在Ubuntu下安装的calamari,已经监测好多天了。不过我用centos安calamari没有出现过上面的界面,一直是500,内部服务器出错。centos下安calamari太麻烦了,
解决方案十五:
解决方案:
henhao
解决方案:
重启salt-minion
解决方案:
学习了不错哦