Errors when trying to deploying mon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I just bought the book "Learning Ceph". I'm trying to go through the pages and set up a virtual lab. I managed to set up the servers etc but when it comes to using ceph-deploy mon create to other nodes - it fails badly. I don't see anything that I missed on the books.

Here's the output:

[root@ceph-node1 ~]#  ceph-deploy mon create ceph-node2
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO  ] Invoked (1.5.11): /usr/bin/ceph-deploy mon create ceph-node2
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts ceph-node2
[ceph_deploy.mon][DEBUG ] detecting platform for host ceph-node2 ...
[ceph-node2][DEBUG ] connected to host: ceph-node2 
[ceph-node2][DEBUG ] detect platform information from remote host
[ceph-node2][DEBUG ] detect machine type
[ceph_deploy.mon][INFO  ] distro info: CentOS 6.5 Final
[ceph-node2][DEBUG ] determining if provided host has same hostname in remote
[ceph-node2][DEBUG ] get remote short hostname
[ceph-node2][DEBUG ] deploying mon to ceph-node2
[ceph-node2][DEBUG ] get remote short hostname
[ceph-node2][DEBUG ] remote hostname: ceph-node2
[ceph-node2][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[ceph-node2][DEBUG ] create the mon path if it does not exist
[ceph-node2][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-ceph-node2/done
[ceph-node2][DEBUG ] create a done file to avoid re-doing the mon deployment
[ceph-node2][DEBUG ] create the init path if it does not exist
[ceph-node2][DEBUG ] locating the `service` executable...
[ceph-node2][INFO  ] Running command: /sbin/service ceph -c /etc/ceph/ceph.conf start mon.ceph-node2
[ceph-node2][DEBUG ] === mon.ceph-node2 === 
[ceph-node2][DEBUG ] Starting Ceph mon.ceph-node2 on ceph-node2...
[ceph-node2][DEBUG ] failed: 'ulimit -n 32768;  /usr/bin/ceph-mon -i ceph-node2 --pid-file /var/run/ceph/mon.ceph-node2.pid -c /etc/ceph/ceph.conf --cluster ceph '
[ceph-node2][DEBUG ] Starting ceph-create-keys on ceph-node2...
[ceph-node2][WARNIN] No data was received after 7 seconds, disconnecting...
[ceph-node2][INFO  ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node2.asok mon_status
[ceph-node2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph-node2][WARNIN] monitor: mon.ceph-node2, might not be running yet
[ceph-node2][INFO  ] Running command: ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node2.asok mon_status
[ceph-node2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
[ceph-node2][WARNIN] ceph-node2 is not defined in `mon initial members`
[ceph-node2][WARNIN] monitor ceph-node2 does not exist in monmap
[ceph-node2][WARNIN] neither `public_addr` nor `public_network` keys are defined for monitors
[ceph-node2][WARNIN] monitors may not be able to form quorum

Any suggestions? I tried both on Emperor and the 0.80.9 version. Same issue.

Thanks

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux