热烈庆祝中华人民共和国成立70周年!

技术流ken 运维拯救世界

ceph创建监视器报错命令无法执行解决方案–技术流ken

ceph-deploy报错

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/

发表评论

电子邮件地址不会被公开。