Hi,
Did you configure de ceph user, and add it to sudoers?
Cheers,I
El dom., 9 abr. 2017 13:33, Zeeshan Haider <zeeshan.emallates@xxxxxxxxx> escribió:
Hello guys,_______________________________________________I been trying to build a basic cluster for ceph on aws ubuntu ec2 instance but on moitor creation i see the status like this``[ceph_deploy.conf][DEBUG ] found configuration file at: /home/cephuser/.cephdeploy.conf[ceph_deploy.cli][INFO ] Invoked (1.5.37): /usr/bin/ceph-deploy mon create mon-0[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[ceph_deploy.cli][INFO ] quiet : False[ceph_deploy.cli][INFO ] cd_conf : <ceph_deploy.conf.cephdeploy.Conf instance at 0x7f58b359f680>[ceph_deploy.cli][INFO ] cluster : ceph[ceph_deploy.cli][INFO ] mon : ['mon-0'][ceph_deploy.cli][INFO ] func : <function mon at 0x7f58b3a0c230>[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 mon-0[ceph_deploy.mon][DEBUG ] detecting platform for host mon-0 ...[mon-0][DEBUG ] connection detected need for sudo[mon-0][DEBUG ] connected to host: mon-0[mon-0][DEBUG ] detect platform information from remote host[mon-0][DEBUG ] detect machine type[mon-0][DEBUG ] find the location of an executable[mon-0][INFO ] Running command: sudo /sbin/initctl version[mon-0][DEBUG ] find the location of an executable[ceph_deploy.mon][INFO ] distro info: Ubuntu 14.04 trusty[mon-0][DEBUG ] determining if provided host has same hostname in remote[mon-0][DEBUG ] get remote short hostname[mon-0][DEBUG ] deploying mon to mon-0[mon-0][DEBUG ] get remote short hostname[mon-0][DEBUG ] remote hostname: mon-0[mon-0][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf[mon-0][DEBUG ] create the mon path if it does not exist[mon-0][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-mon-0/done[mon-0][DEBUG ] create a done file to avoid re-doing the mon deployment[mon-0][DEBUG ] create the init path if it does not exist[mon-0][INFO ] Running command: sudo initctl emit ceph-mon cluster=ceph id=mon-0[mon-0][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.mon-0.asok mon_status[mon-0][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory[mon-0][WARNIN] monitor: mon.mon-0, might not be running yet[mon-0][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.mon-0.asok mon_status[mon-0][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory[mon-0][WARNIN] monitor mon-0 does not exist in monmap[mon-0][WARNIN] neither `public_addr` nor `public_network` keys are defined for monitors[mon-0][WARNIN] monitors may not be able to form quorum``Please I am a Beginner is there somethings missing.Regards,zeeshan
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