Hello,
I follow the doc there:
http://ceph.com/docs/master/start/quick-ceph-deploy/
Just installed three mon-nodes, but one got failed.
The command and output:
ceph@ceph1:~/my-cluster$ ceph-deploy --overwrite-conf mon create
ceph3.geocast.net
[ceph_deploy.cli][INFO ] Invoked (1.3.2): /usr/bin/ceph-deploy
--overwrite-conf mon create ceph3.geocast.net
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts
ceph3.geocast.net
[ceph_deploy.mon][DEBUG ] detecting platform for host ceph3 ...
[ceph3.geocast.net][DEBUG ] connected to host: ceph3.geocast.net
[ceph3.geocast.net][DEBUG ] detect platform information from remote
host
[ceph3.geocast.net][DEBUG ] detect machine type
[ceph_deploy.mon][INFO ] distro info: Ubuntu 12.04 precise
[ceph3][DEBUG ] determining if provided host has same hostname in
remote
[ceph3.geocast.net][DEBUG ] get remote short hostname
[ceph3][DEBUG ] deploying mon to ceph3
[ceph3.geocast.net][DEBUG ] get remote short hostname
[ceph3.geocast.net][DEBUG ] remote hostname: ceph3
[ceph3.geocast.net][DEBUG ] write cluster configuration to
/etc/ceph/{cluster}.conf
[ceph3.geocast.net][DEBUG ] create the mon path if it does not exist
[ceph3.geocast.net][DEBUG ] checking for done path:
/var/lib/ceph/mon/ceph-ceph3/done
[ceph3.geocast.net][DEBUG ] create a done file to avoid re-doing the
mon deployment
[ceph3.geocast.net][DEBUG ] create the init path if it does not exist
[ceph3.geocast.net][DEBUG ] locating the `service` executable...
[ceph3.geocast.net][INFO ] Running command: sudo initctl emit ceph-mon
cluster=ceph id=ceph3
[ceph3.geocast.net][INFO ] Running command: sudo ceph --cluster=ceph
--admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status
[ceph3][ERROR ] admin_socket: exception getting command descriptions:
[Errno 2] No such file or directory
[ceph3][WARNIN] monitor: mon.ceph3, might not be running yet
[ceph3.geocast.net][INFO ] Running command: sudo ceph --cluster=ceph
--admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status
[ceph3][ERROR ] admin_socket: exception getting command descriptions:
[Errno 2] No such file or directory
[ceph3][WARNIN] monitor ceph3 does not exist in monmap
[ceph3][WARNIN] neither `public_addr` nor `public_network` keys are
defined for monitors
[ceph3][WARNIN] monitors may not be able to form quorum
The mon log for ceph3:
2013-11-20 12:32:07.622385 7f0c24b63780 0 ceph version 0.72.1
(4d923861868f6a15dcb33fef7f50f674997322de), process ceph-mon, pid 2267
2013-11-20 12:32:07.711105 7f0c24b63780 0 mon.ceph3 does not exist in
monmap, will attempt to join an existing cluster
2013-11-20 12:32:07.711318 7f0c24b63780 -1 no public_addr or
public_network specified, and mon.ceph3 not present in monmap or
ceph.conf
2013-11-20 12:32:07.730717 7f6b94ed6780 0 ceph version 0.72.1
(4d923861868f6a15dcb33fef7f50f674997322de), process ceph-mon, pid 2277
2013-11-20 12:32:07.820180 7f6b94ed6780 0 mon.ceph3 does not exist in
monmap, will attempt to join an existing cluster
2013-11-20 12:32:07.820402 7f6b94ed6780 -1 no public_addr or
public_network specified, and mon.ceph3 not present in monmap or
ceph.conf
2013-11-20 12:32:07.839424 7f62fa747780 0 ceph version 0.72.1
(4d923861868f6a15dcb33fef7f50f674997322de), process ceph-mon, pid 2287
2013-11-20 12:32:07.929246 7f62fa747780 0 mon.ceph3 does not exist in
monmap, will attempt to join an existing cluster
2013-11-20 12:32:07.929533 7f62fa747780 -1 no public_addr or
public_network specified, and mon.ceph3 not present in monmap or
ceph.conf
2013-11-20 12:32:07.952320 7f32d060e780 0 ceph version 0.72.1
(4d923861868f6a15dcb33fef7f50f674997322de), process ceph-mon, pid 2297
2013-11-20 12:32:08.022799 7f32d060e780 0 mon.ceph3 does not exist in
monmap, will attempt to join an existing cluster
2013-11-20 12:32:08.023155 7f32d060e780 -1 no public_addr or
public_network specified, and mon.ceph3 not present in monmap or
ceph.conf
2013-11-20 12:32:08.042415 7fa5e81dc780 0 ceph version 0.72.1
(4d923861868f6a15dcb33fef7f50f674997322de), process ceph-mon, pid 2307
2013-11-20 12:32:08.115243 7fa5e81dc780 0 mon.ceph3 does not exist in
monmap, will attempt to join an existing cluster
2013-11-20 12:32:08.115528 7fa5e81dc780 -1 no public_addr or
public_network specified, and mon.ceph3 not present in monmap or
ceph.conf
2013-11-20 12:32:08.134854 7fd9929c4780 0 ceph version 0.72.1
(4d923861868f6a15dcb33fef7f50f674997322de), process ceph-mon, pid 2317
2013-11-20 12:32:08.224308 7fd9929c4780 0 mon.ceph3 does not exist in
monmap, will attempt to join an existing cluster
2013-11-20 12:32:08.224541 7fd9929c4780 -1 no public_addr or
public_network specified, and mon.ceph3 not present in monmap or
ceph.conf
I have tried many times, got no luck.
Can you help? Thanks in advance.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com