ceph-deploy安装报错

quicksort 发布于 2015/12/03 17:49
阅读 2K+
收藏 0

使用ceph-deploy部署mon时出错,

出错的命令:

ceph-deploy mon create ceph0


报错如下:

[ceph0][INFO  ] Running command: ceph-mon --cluster ceph --mkfs -i ceph0 --keyring /var/lib/ceph/tmp/ceph-ceph0.mon.keyring
cmd: ['ceph-mon', '--cluster', 'ceph', '--mkfs', '-i', 'ceph0', '--keyring', '/var/lib/ceph/tmp/ceph-ceph0.mon.keyring']
[ceph0][ERROR ] Traceback (most recent call last):
[ceph0][ERROR ]   File "/usr/local/lib64/python2.6/site-packages/ceph_deploy-1.4.0-py2.6.egg/ceph_deploy/lib/remoto/process.py", line 70, in run
[ceph0][ERROR ]     reporting(conn, result, timeout)
[ceph0][ERROR ]   File "/usr/local/lib64/python2.6/site-packages/ceph_deploy-1.4.0-py2.6.egg/ceph_deploy/lib/remoto/log.py", line 13, in reporting
[ceph0][ERROR ]     received = result.receive(timeout)
[ceph0][ERROR ]   File "/usr/local/lib64/python2.6/site-packages/ceph_deploy-1.4.0-py2.6.egg/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 701, in receive
[ceph0][ERROR ]     raise self._getremoteerror() or EOFError()
[ceph0][ERROR ] RemoteError: Traceback (most recent call last):
[ceph0][ERROR ]   File "/usr/local/lib64/python2.6/site-packages/ceph_deploy-1.4.0-py2.6.egg/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 1044, in executetask
[ceph0][ERROR ]     function(channel, **kwargs)
[ceph0][ERROR ]   File "<remote exec>", line 12, in _remote_run
[ceph0][ERROR ]   File "/usr/lib64/python2.6/subprocess.py", line 623, in __init__
[ceph0][ERROR ]     errread, errwrite)
[ceph0][ERROR ]   File "/usr/lib64/python2.6/subprocess.py", line 1142, in _execute_child
[ceph0][ERROR ]     raise child_exception
[ceph0][ERROR ] OSError: [Errno 2] No such file or directory
[ceph0][ERROR ] 
[ceph0][ERROR ] 
[ceph_deploy.mon][ERROR ] Failed to execute command: ceph-mon --cluster ceph --mkfs -i ceph0 --keyring /var/lib/ceph/tmp/ceph-ceph0.mon.keyring
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors


我把cmd打印出来了,

然后手动执行ceph-mon --cluster ceph --mkfs -i ceph0 --keyring /var/lib/ceph/tmp/ceph-ceph0.mon.keyring

一切正常,同时,各个节点无密码ssh连接也配置了。

/usr/lib64/python2.6/subprocess.py文件存在,环境变量也配置了。

python版本是2.6.9,系统是suse 11 sp4,ceph版本是ceph version 0.87.2 (87a7cec9ab11c677de2ab23a7668a77d2f5b955e).



加载中
0
q
quicksort
没有人遇到过吗?
0
w
weixianfei
这个文件解决了没有
0
0
q
quicksort
suse的问题,已经解决了
充满无穷能量的山人
你好 你的问题是怎么解决的?qq595790538能否告知 谢谢
返回顶部
顶部