Hey ,
I use " [root@StorServer-1 yum.repos.d]# ceph-deploy osd create
--fs-type ext4 10.41.3.13:/dev/sdb1 " to add osd to my cluster. But I get
the following debug info:
I think this line : { ceph-disk: Error: getting variable from
configuration failed: Command '/usr/bin/ceph-osd' returned non-zero exit status
-11 } is critical . But I don't know how to fix it. .Appreciate your kindness!
==========================
[ceph_deploy.cli][INFO ] Invoked (1.4.0): /usr/bin/ceph-deploy osd create
--fs-type ext4 10.41.3.13:/dev/sdb1
[ceph_deploy.osd][DEBUG ] Preparing cluster ceph disks 10.41.3.13:/dev/sdb1:
Address 10.41.3.13 maps to localhost, but this does not map back to the address
- POSSIBLE BREAK-IN ATTEMPT!
root@10.41.3.13's password:
[10.41.3.13][DEBUG ] connected to host: 10.41.3.13
[10.41.3.13][DEBUG ] detect platform information from remote host
[10.41.3.13][DEBUG ] detect machine type
[ceph_deploy.osd][INFO ] Distro info: CentOS 6.3 Final
[ceph_deploy.osd][DEBUG ] Deploying osd to 10.41.3.13
[10.41.3.13][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[10.41.3.13][INFO ] Running command: udevadm trigger --subsystem-match=block
--action=add
[ceph_deploy.osd][DEBUG ] Preparing host 10.41.3.13 disk /dev/sdb1 journal None
activate True
[10.41.3.13][INFO ] Running command: ceph-disk-prepare --fs-type ext4
--cluster ceph -- /dev/sdb1
[10.41.3.13][WARNIN] ceph-disk: Error: getting variable from configuration
failed: Command '/usr/bin/ceph-osd' returned non-zero exit status -11
[10.41.3.13][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy.osd][ERROR ] Failed to execute command: ceph-disk-prepare
--fs-type ext4 --cluster ceph -- /dev/sdb1
[ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com