Hello, I am trying to launch a test cluster with 1 monitor and 1 osd on a node. I created a cluster with the name msl-lab-dsg02 and tried to deploy an initial monitor and I get this error: root@msl-lab-dsg02:~/Downloads/cluster# ceph-deploy --overwrite-conf mon create-initial [ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf [ceph_deploy.cli][INFO ] Invoked (1.5.25): /usr/bin/ceph-deploy --overwrite-conf mon create-initial [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts msl-lab-dsg02 [ceph_deploy.mon][DEBUG ] detecting platform for host msl-lab-dsg02 ... [msl-lab-dsg02][DEBUG ] connected to host: msl-lab-dsg02 [msl-lab-dsg02][DEBUG ] detect platform information from remote host [msl-lab-dsg02][DEBUG ] detect machine type [ceph_deploy.mon][INFO ] distro info: Ubuntu 14.04 trusty [msl-lab-dsg02][DEBUG ] determining if provided host has same hostname in remote [msl-lab-dsg02][DEBUG ] get remote short hostname [msl-lab-dsg02][DEBUG ] deploying mon to msl-lab-dsg02 [msl-lab-dsg02][DEBUG ] get remote short hostname [msl-lab-dsg02][DEBUG ] remote hostname: msl-lab-dsg02 [msl-lab-dsg02][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf [msl-lab-dsg02][DEBUG ] create the mon path if it does not exist [msl-lab-dsg02][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-msl-lab-dsg02/done [msl-lab-dsg02][DEBUG ] create a done file to avoid re-doing the mon deployment [msl-lab-dsg02][DEBUG ] create the init path if it does not exist [msl-lab-dsg02][DEBUG ] locating the `service` executable... [msl-lab-dsg02][INFO ] Running command: initctl emit ceph-mon cluster=ceph id=msl-lab-dsg02 [msl-lab-dsg02][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.msl-lab-dsg02.asok mon_status [msl-lab-dsg02][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [msl-lab-dsg02][WARNIN] monitor: mon.msl-lab-dsg02, might not be running yet [msl-lab-dsg02][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.msl-lab-dsg02.asok mon_status [msl-lab-dsg02][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [msl-lab-dsg02][WARNIN] monitor msl-lab-dsg02 does not exist in monmap [msl-lab-dsg02][WARNIN] neither `public_addr` nor `public_network` keys are defined for monitors [msl-lab-dsg02][WARNIN] monitors may not be able to form quorum [ceph_deploy.mon][INFO ] processing monitor mon.msl-lab-dsg02 [msl-lab-dsg02][DEBUG ] connected to host: msl-lab-dsg02 [msl-lab-dsg02][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.msl-lab-dsg02.asok mon_status [msl-lab-dsg02][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [ceph_deploy.mon][WARNIN] mon.msl-lab-dsg02 monitor is not yet in quorum, tries left: 5 [ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying [msl-lab-dsg02][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.msl-lab-dsg02.asok mon_status [msl-lab-dsg02][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [ceph_deploy.mon][WARNIN] mon.msl-lab-dsg02 monitor is not yet in quorum, tries left: 4 [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying [msl-lab-dsg02][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.msl-lab-dsg02.asok mon_status [msl-lab-dsg02][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [ceph_deploy.mon][WARNIN] mon.msl-lab-dsg02 monitor is not yet in quorum, tries left: 3 [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying [msl-lab-dsg02][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.msl-lab-dsg02.asok mon_status [msl-lab-dsg02][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [ceph_deploy.mon][WARNIN] mon.msl-lab-dsg02 monitor is not yet in quorum, tries left: 2 [ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying [msl-lab-dsg02][INFO ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.msl-lab-dsg02.asok mon_status [msl-lab-dsg02][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory [ceph_deploy.mon][WARNIN] mon.msl-lab-dsg02 monitor is not yet in quorum, tries left: 1 [ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying [ceph_deploy.mon][ERROR ] Some monitors have still not reached quorum: [ceph_deploy.mon][ERROR ] msl-lab-dsg02 On checking /var/run/ceph/ceph-mon.msl-lab-dsg02.asok mon_status I found that there is no /ceph-mon.msl-lab-dsg02.asok file and I am unable to find how or when it is created. If anyone encountered this error before please let me know how you got around this. Thanks Sai |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com