Bug #8922
closedceph-deploy mon create fails to create additional monitoring nodes.
0%
Description
Hi guys,
Please help.
Running into issue adding monitors. The initial monitor gets created successfully, but get below error adding additional ones.
Running ubuntu 14.04 and ceph firefly.
Error:
[DEBUG ] Starting ceph-create-keys on cwtcph002...
[WARNIN] No data was received after 7 seconds, disconnecting.
[INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.cwtcph002.asok mon_status
[ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[WARNIN] monitor: mon.cwtcph002, might not be running yet
[INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.cwtcph002.asok mon_status
[ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[WARNIN] cwtcph002 is not defined in `mon initial members`
[WARNIN] monitor cwtcph002 does not exist in monmap
[WARNIN] neither `public_addr` nor `public_network` keys are defined for monitors
[WARNIN] monitors may not be able to form quorum
Updated by Sage Weil over 9 years ago
- Status changed from New to Need More Info
- Priority changed from Urgent to Normal
It sounds like the monitor names don't match the host names or something similar. Can you post the full sequence of commands, and the terminal output?
Updated by Bobby Yakov over 9 years ago
ceph-deploy new cwtcph001
ceph-deploy install cwtcph001 cwtcph002 cwtcph003
ceph-deploy mon create cwtcph001 cwtcph002 cwtcph003
ceph-deploy gatherkeys cwtcph001
Updated by Sage Weil over 9 years ago
does 'hostname' on those machines return the same string, or does it include a domain name, or somethign different?
Updated by Sage Weil over 9 years ago
- Status changed from Need More Info to Can't reproduce