On Tue, Nov 19, 2013 at 1:33 AM, Dnsbed Ops <ops@xxxxxxxxxx> wrote: > Hello, > > I deployed one monitor daemon in a separate server successfully. > But I can't deploy it together with the osd node. > I run the deployment command and got: > > ceph@172-17-6-65:~/my-cluster$ ceph-deploy mon create ceph3.geocast.net > [ceph_deploy.cli][INFO ] Invoked (1.3.2): /usr/bin/ceph-deploy mon create > ceph3.geocast.net > [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts > ceph3.geocast.net > [ceph_deploy.mon][DEBUG ] detecting platform for host ceph3 ... > [ceph3.geocast.net][DEBUG ] connected to host: ceph3.geocast.net > [ceph3.geocast.net][DEBUG ] detect platform information from remote host > [ceph3.geocast.net][DEBUG ] detect machine type > [ceph_deploy.mon][INFO ] distro info: Ubuntu 12.04 precise > [ceph3][DEBUG ] determining if provided host has same hostname in remote > [ceph3.geocast.net][DEBUG ] get remote short hostname > [ceph3][DEBUG ] deploying mon to ceph3 > [ceph3.geocast.net][DEBUG ] get remote short hostname > [ceph3.geocast.net][DEBUG ] remote hostname: ceph3 > [ceph3.geocast.net][DEBUG ] write cluster configuration to > /etc/ceph/{cluster}.conf > [ceph3.geocast.net][DEBUG ] create the mon path if it does not exist > [ceph3.geocast.net][DEBUG ] checking for done path: > /var/lib/ceph/mon/ceph-ceph3/done > [ceph3.geocast.net][DEBUG ] create a done file to avoid re-doing the mon > deployment > [ceph3.geocast.net][DEBUG ] create the init path if it does not exist > [ceph3.geocast.net][DEBUG ] locating the `service` executable... > [ceph3.geocast.net][INFO ] Running command: sudo initctl emit ceph-mon > cluster=ceph id=ceph3 > [ceph3.geocast.net][INFO ] Running command: sudo ceph --cluster=ceph > --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status > [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno > 2] No such file or directory > [ceph3][WARNIN] monitor: mon.ceph3, might not be running yet > [ceph3.geocast.net][INFO ] Running command: sudo ceph --cluster=ceph > --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status > [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno > 2] No such file or directory > [ceph3][WARNIN] ceph3 is not defined in `mon initial members` > [ceph3][WARNIN] monitor ceph3 does not exist in monmap > [ceph3][WARNIN] neither `public_addr` nor `public_network` keys are defined > for monitors > [ceph3][WARNIN] monitors may not be able to form quorum > > > Can you help? A few things are going on here, if you look at the output there are 3 important warnings, but the one that tells us you have missing information in your configuration file is what I would tackle first: * ceph3 is not defined in `mon initial members` So it appears that monitor was not defined in your ceph.conf You need that there otherwise things will fail. It also looks like that monitor never came up. Can you try those commands in that server and see why not? Maybe some logs from the monitor as well. But I would definitely start with the lack of configuration. Are you following the "get started" guide? It will help going through those steps so you know when something is a bit off. > > Thanks. > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com