Yes, I did.
Furthermore, looking at node2, the ceph service is not starting, giving me this error.
# service ceph start
=== mon.ceph-node2 ===
Starting Ceph mon.ceph-node2 on ceph-node2...
2015-04-02 18:08:50.387800 7f819f2667a0 -1 no public_addr or public_network specified, and mon.ceph-node2 not present in monmap or ceph.conf
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 '
Starting ceph-create-keys on ceph-node2...
[root@ceph-node2 ~]# service ceph status
=== mon.ceph-node2 ===
mon.ceph-node2: not running.
Thanks
On Thu, Apr 2, 2015 at 6:14 PM, Iain Geddes <iain.geddes@xxxxxxxxxxx> wrote:
Hi, can't pretend that I have all the answers (or any of them!) but I've also been unable to deploy a mon node that doesn't appear in the 'mon initial members' list. However, the "No such file or directory" is something that I don't remember. Did you run "ceph-deploy install" against the node first?Kind regardsIainOn Thu, Apr 2, 2015 at 3:37 PM, Hetz Ben Hamo <hetz@xxxxxxxx> wrote:_______________________________________________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 quorumAny 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
--
Iain Geddes
Customer Support Engineer1383 North McDowell Blvd.
Petaluma, CA 94954
M +353 89 432 6811 E iain.geddes@xxxxxxxxxxx www.cyaninc.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com