some tips: 1.if you enabled auth_cluster_required, you may shoud have a check the keyring 2.can you reach the monitors from your admin node by ssh without passwd
2016-04-16 18:16 GMT+08:00 AJ NOURI <[email protected]>: > Followed the preflight and quick start > http://docs.ceph.com/docs/master/start/quick-ceph-deploy/ > > Stuck here > > ajn@admin-node:~/my-cluster$* ceph-deploy mon create-initial * > > [ceph_deploy.conf][DEBUG ] found configuration file at: > /home/ajn/.cephdeploy.conf > [ceph_deploy.cli][INFO ] Invoked (1.5.31): /usr/bin/ceph-deploy mon > create-initial > [ceph_deploy.cli][INFO ] ceph-deploy options: > [ceph_deploy.cli][INFO ] username : None > [ceph_deploy.cli][INFO ] verbose : False > [ceph_deploy.cli][INFO ] overwrite_conf : False > [ceph_deploy.cli][INFO ] subcommand : create-initial > [ceph_deploy.cli][INFO ] quiet : False > [ceph_deploy.cli][INFO ] cd_conf : > <ceph_deploy.conf.cephdeploy.Conf instance at 0x7fd1c2dcb560> > [ceph_deploy.cli][INFO ] cluster : ceph > [ceph_deploy.cli][INFO ] func : <function mon > at 0x7fd1c323a668> > [ceph_deploy.cli][INFO ] ceph_conf : None > [ceph_deploy.cli][INFO ] default_release : False > [ceph_deploy.cli][INFO ] keyrings : None > [ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts monitor > [ceph_deploy.mon][DEBUG ] detecting platform for host monitor ... > [monitor][DEBUG ] connection detected need for sudo > [monitor][DEBUG ] connected to host: monitor > [monitor][DEBUG ] detect platform information from remote host > [monitor][DEBUG ] detect machine type > [monitor][DEBUG ] find the location of an executable > [ceph_deploy.mon][INFO ] distro info: Ubuntu 14.04 trusty > [monitor][DEBUG ] determining if provided host has same hostname in remote > > [monitor][DEBUG ] get remote short hostname > [monitor][DEBUG ] deploying mon to monitor > [monitor][DEBUG ] get remote short hostname > [monitor][DEBUG ] remote hostname: monitor > [monitor][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf > [monitor][DEBUG ] create the mon path if it does not exist > [monitor][DEBUG ] checking for done path: > /var/lib/ceph/mon/ceph-monitor/done > [monitor][DEBUG ] create a done file to avoid re-doing the mon deployment > [monitor][DEBUG ] create the init path if it does not exist > [monitor][INFO ] Running command: sudo initctl emit ceph-mon cluster=ceph > id=monitor > [monitor][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon > /var/run/ceph/ceph-mon.monitor.asok mon_status > [monitor][ERROR ] admin_socket: exception getting command descriptions: > [Errno 2] No such file or directory > [monitor][WARNIN] monitor: mon.monitor, might not be running yet > [monitor][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon > /var/run/ceph/ceph-mon.monitor.asok mon_status > [monitor][ERROR ] admin_socket: exception getting command descriptions: > [Errno 2] No such file or directory > [monitor][WARNIN] monitor monitor does not exist in monmap > [monitor][WARNIN] neither `public_addr` nor `public_network` keys are > defined for monitors > [monitor][WARNIN] monitors may not be able to form quorum > [ceph_deploy.mon][INFO ] processing monitor mon.monitor > [monitor][DEBUG ] connection detected need for sudo > [monitor][DEBUG ] connected to host: monitor > [monitor][DEBUG ] detect platform information from remote host > [monitor][DEBUG ] detect machine type > [monitor][DEBUG ] find the location of an executable > [monitor][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon > /var/run/ceph/ceph-mon.monitor.asok mon_status > *[monitor][ERROR ] admin_socket: exception getting command descriptions: > [Errno 2] No such file or directory* > [ceph_deploy.mon][WARNIN] mon.monitor monitor is not yet in quorum, tries > left: 5 > [ceph_deploy.mon][WARNIN] waiting 5 seconds before retrying > [monitor][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon > /var/run/ceph/ceph-mon.monitor.asok mon_status > *[monitor][ERROR ] admin_socket: exception getting command descriptions: > [Errno 2] No such file or directory* > [ceph_deploy.mon][WARNIN] mon.monitor monitor is not yet in quorum, tries > left: 4 > [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying > [monitor][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon > /var/run/ceph/ceph-mon.monitor.asok mon_status > *[monitor][ERROR ] admin_socket: exception getting command descriptions: > [Errno 2] No such file or directory* > [ceph_deploy.mon][WARNIN] mon.monitor monitor is not yet in quorum, tries > left: 3 > [ceph_deploy.mon][WARNIN] waiting 10 seconds before retrying > [monitor][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon > /var/run/ceph/ceph-mon.monitor.asok mon_status > *[monitor][ERROR ] admin_socket: exception getting command descriptions: > [Errno 2] No such file or directory* > [ceph_deploy.mon][WARNIN] mon.monitor monitor is not yet in quorum, tries > left: 2 > [ceph_deploy.mon][WARNIN] waiting 15 seconds before retrying > [monitor][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon > /var/run/ceph/ceph-mon.monitor.asok mon_status > *[monitor][ERROR ] admin_socket: exception getting command descriptions: > [Errno 2] No such file or directory* > [ceph_deploy.mon][WARNIN] mon.monitor monitor is not yet in quorum, tries > left: 1 > [ceph_deploy.mon][WARNIN] waiting 20 seconds before retrying > *[ceph_deploy.mon][ERROR ] Some monitors have still not reached quorum:* > *[ceph_deploy.mon][ERROR ] monitor* > > > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > >
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
