使用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
然后手动执行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).
没有人遇到过吗?这个文件解决了没有qq870150258suse的问题,已经解决了你好你的问题是怎么解决的?qq595790538能否告知谢谢
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。