Hi All,
I am testing install ceph cluster from ceph-deploy 1.3.2, I get a python error when execute "ceph-deploy disk list".[root@ceph-02 my-cluster]# ceph-deploy disk list ceph-02
[ceph_deploy.cli][INFO ] Invoked (1.3.2): /usr/bin/ceph-deploy disk list ceph-02
[ceph-02][DEBUG ] connected to host: ceph-02
[ceph-02][DEBUG ] detect platform information from remote host
[ceph-02][DEBUG ] detect machine type
[ceph_deploy.osd][INFO ] Distro info: Red Hat Enterprise Linux Server 6.4 Santiago
[ceph_deploy.osd][DEBUG ] Listing disks on ceph-02...
[ceph-02][INFO ] Running command: ceph-disk list
[ceph-02][ERROR ] Traceback (most recent call last):
[ceph-02][ERROR ] File "/usr/sbin/ceph-disk", line 2340, in <module>
[ceph-02][ERROR ] main()
[ceph-02][ERROR ] File "/usr/sbin/ceph-disk", line 2329, in main
[ceph-02][ERROR ] args.func(args)
[ceph-02][ERROR ] File "/usr/sbin/ceph-disk", line 2006, in main_list
[ceph-02][ERROR ] part_uuid = get_partition_uuid(dev)
[ceph-02][ERROR ] File "/usr/sbin/ceph-disk", line 1916, in get_partition_uuid
[ceph-02][ERROR ] stderr = subprocess.PIPE).stdout.read()
[ceph-02][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 639, in __init__
[ceph-02][ERROR ] errread, errwrite)
[ceph-02][ERROR ] File "/usr/lib64/python2.6/subprocess.py", line 1228, in _execute_child
[ceph-02][ERROR ] raise child_exception
[ceph-02][ERROR ] OSError: [Errno 2] No such file or directory
[ceph-02][ERROR ] Traceback (most recent call last):
[ceph-02][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/lib/remoto/process.py", line 68, in run
[ceph-02][ERROR ] reporting(conn, result, timeout)
[ceph-02][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/lib/remoto/log.py", line 13, in reporting
[ceph-02][ERROR ] received = result.receive(timeout)
[ceph-02][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 455, in receive
[ceph-02][ERROR ] raise self._getremoteerror() or EOFError()
[ceph-02][ERROR ] RemoteError: Traceback (most recent call last):
[ceph-02][ERROR ] File "/usr/lib/python2.6/site-packages/ceph_deploy/lib/remoto/lib/execnet/gateway_base.py", line 806, in executetask
[ceph-02][ERROR ] function(channel, **kwargs)
[ceph-02][ERROR ] File "", line 35, in _remote_run
[ceph-02][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph-02][ERROR ]
[ceph-02][ERROR ]
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: ceph-disk list
My OS is RHEL 6.4, and kernel is 3.5.0
Do you have any advice?
Best Regards,
-Xuan Bai
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com