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 regards


Iain

On Thu, Apr 2, 2015 at 3:37 PM, Hetz Ben Hamo <h...@hetz.biz> 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 quorum
>
> Any suggestions? I tried both on Emperor and the 0.80.9 version. Same
> issue.
>
> Thanks
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
>


-- 
Iain Geddes
Customer Support Engineer[image: Cyan] <http://cyaninc.com/>1383 North
McDowell Blvd.
Petaluma, CA 94954M+353 89 432
6811eiain.ged...@cyaninc.comwww.cyaninc.com[image:
Facebook] <http://www.facebook.com/CyanInc> [image: LinkedIn]
<http://www.linkedin.com/company/cyan-inc?trk=hb_tab_compy_id_2171992> [image:
Twitter] <http://twitter.com/CyanNews>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to