1. 程式人生 > >ceph-deploy報錯

ceph-deploy報錯

oar ror error: reload exit http supports war long

ceph-deploy報錯部署時報錯

ceph-deploy mon create-initial

報錯如下

[vonlong-2][INFO  ] Running command: /usr/sbin/service ceph -c /etc/ceph/ceph.conf start mon.vonlong-2
[vonlong-2][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.
[vonlong-2][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.vonlong-2

原因:epel中的ceph-deploy版本過低,從ceph官網下載最新版即可。

https://download.ceph.com/rpm-kraken/el7/noarch/

ceph-deploy報錯