This indicates you have multiple networks on the new mon host, but no definition in your ceph.conf as to which network is public.
In your ceph.conf, add: public network = 192.168.1.0/24 cluster network = 192.168.2.0/24 (Fix the subnet definitions for your environment) Then, re-try your new mon deploy. Thanks, Michael J. Kidd Michael J. Kidd Sr. Storage Consultant Inktank Professional Services On Mon, Dec 16, 2013 at 4:27 PM, Umar Draz <unix...@gmail.com> wrote: > Hi, > > I am try to add mon host using ceph-deploy mon create kvm2, but its not > working and giving me an error. > > [kvm2][DEBUG ] determining if provided host has same hostname in remote > [kvm2][DEBUG ] get remote short hostname > [kvm2][DEBUG ] deploying mon to kvm2 > [kvm2][DEBUG ] get remote short hostname > [kvm2][DEBUG ] remote hostname: kvm2 > [kvm2][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf > [kvm2][DEBUG ] create the mon path if it does not exist > [kvm2][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-kvm2/done > [kvm2][DEBUG ] create a done file to avoid re-doing the mon deployment > [kvm2][DEBUG ] create the init path if it does not exist > [kvm2][DEBUG ] locating the `service` executable... > [kvm2][INFO ] Running command: initctl emit ceph-mon cluster=ceph id=kvm2 > [kvm2][INFO ] Running command: ceph --cluster=ceph --admin-daemon > /var/run/ceph/ceph-mon.kvm2.asok mon_status > [kvm2][ERROR ] admin_socket: exception getting command descriptions: > [Errno 2] No such file or directory > [kvm2][WARNIN] monitor: mon.kvm2, might not be running yet > [kvm2][INFO ] Running command: ceph --cluster=ceph --admin-daemon > /var/run/ceph/ceph-mon.kvm2.asok mon_status > [kvm2][ERROR ] admin_socket: exception getting command descriptions: > [Errno 2] No such file or directory > [kvm2][WARNIN] kvm2 is not defined in `mon initial members` > [kvm2][WARNIN] monitor kvm2 does not exist in monmap > [kvm2][WARNIN] neither `public_addr` nor `public_network` keys are defined > for monitors > [kvm2][WARNIN] monitors may not be able to form quorum > root@kvm1:/home/umar/ceph-cluster# ceph-deploy mon create kvm2 > > > would you please help me how to solve this problem? > > Br. > > Umar > > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com