Thanks. So, you didn't get any error on command "ceph-deploy mon create-initial"?
-AMOn Fri, Apr 28, 2017 at 9:50 AM, Roger Brown <rogerpbrown@xxxxxxxxx> wrote:
I used ceph on centos 7. I check monitor status with commands like these:systemctl status ceph-mon@nuc1systemctl stop ceph-mon@nuc1systemctl start ceph-mon@nuc1systemctl restart ceph-mon@nuc1for me, the hostnames are nuc1, nuc2, nuc3 so you have to modify to suit your case.On Fri, Apr 28, 2017 at 9:43 AM Ali Moeinvaziri <moeinvaz@xxxxxxxxx> wrote:______________________________Here is the tail of log file:I'm just trying to install and test cephs with centos 7, which is the recommended versionHi,
over centos 6 (if I read it correctly). However, the scripts seem to be still tuned for centos6. So
here is the error I get on deploying monitor node:
[ceph_deploy.mon][ERROR ] Failed to execute command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.xxxx
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors[xxxx][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-orion2/done
[xxxx][DEBUG ] create a done file to avoid re-doing the mon deployment
[xxxx][DEBUG ] create the init path if it does not exist
[xxxx][DEBUG ] locating the `service` executable...
[orion2][INFO ] Running command: sudo /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.xxxx
[xxxx][WARNING] The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl.
[xxxx][ERROR ] RuntimeError: command returned non-zero exit status: 2
[ceph_deploy.mon][ERROR ] Failed to execute command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.xxxx
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitorsAre there scripts for centos7, or should this be done manually? Any suggestions?Thanks,-AM_________________
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