问题
我得到以下错误:
[ceph_deploy.mon][ERROR ] RuntimeError: config file /etc/ceph/ceph.conf exists with different content; use --overwrite-conf to overwrite
[ceph_deploy][ERROR ] GenericError: Failed to create 1 monitors
答案1
消息是:使用--overwrite-conf
覆盖配置,或者通过
sudo mv /etc/ceph/ceph.conf /etc/ceph/ceph.conf.bak
再次启动服务。
答案2
你需要将配置同步到其他机器:
ceph-deploy --overwrite-conf admin node01 node02 node03 node04