Hello,
When trying to deploy ceph mons on our rhel 7 cluster, I get the following error:
ceph-deploy mon create-initial
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf
[ceph_deploy.cli][INFO ] Invoked (1.5.25): /usr/bin/ceph-deploy mon create-initial
[ceph_deploy.mon][DEBUG ] Deploying mon, cluster ceph hosts gorness
[ceph_deploy.mon][DEBUG ] detecting platform for host gorness ...
[gorness][DEBUG ] connected to host: gorness
[gorness][DEBUG ] detect platform information from remote host
[gorness][DEBUG ] detect machine type
[ceph_deploy.mon][INFO ] distro info: Red Hat Enterprise Linux Server 7.1 Maipo
[gorness][DEBUG ] determining if provided host has same hostname in remote
[gorness][DEBUG ] get remote short hostname
[gorness][DEBUG ] deploying mon to gorness
[gorness][DEBUG ] get remote short hostname
[gorness][DEBUG ] remote hostname: gorness
[gorness][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[gorness][DEBUG ] create the mon path if it does not exist
[gorness][DEBUG ] checking for done path: /var/lib/ceph/mon/ceph-gorness/done
[gorness][DEBUG ] create a done file to avoid re-doing the mon deployment
[gorness][DEBUG ] create the init path if it does not exist
[gorness][DEBUG ] locating the `service` executable...
[gorness][INFO ] Running command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.gorness
[gorness][WARNIN] 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.
[gorness][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.gorness
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors
------
ceph-deploy --version
1.5.25
rpm -qa | grep -i ceph
ceph-radosgw-0.94.1-0.el7.x86_64
python-cephfs-0.94.1-0.el7.x86_64
libcephfs1-0.94.1-0.el7.x86_64
ceph-deploy-1.5.25-0.noarch
ceph-common-0.94.1-0.el7.x86_64
cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.1 (Maipo)
Regards,
Jerico |
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com