Project

General

Profile

Bug #8922

ceph-deploy mon create fails to create additional monitoring nodes.

Added by Bobby Yakov over 5 years ago. Updated over 5 years ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

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

History

#1 Updated by Sage Weil over 5 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?

#2 Updated by Bobby Yakov over 5 years ago

ceph-deploy new cwtcph001
ceph-deploy install cwtcph001 cwtcph002 cwtcph003
ceph-deploy mon create cwtcph001 cwtcph002 cwtcph003
ceph-deploy gatherkeys cwtcph001

#3 Updated by Sage Weil over 5 years ago

does 'hostname' on those machines return the same string, or does it include a domain name, or somethign different?

#4 Updated by Sage Weil over 5 years ago

  • Status changed from Need More Info to Can't reproduce

Also available in: Atom PDF