
我面臨以下錯誤:
[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
您需要將配置同步到其他機器:
ceph-deploy --overwrite-conf admin node01 node02 node03 node04
答案2
正如訊息所說:透過覆蓋配置--overwrite-conf
或刪除配置
sudo mv /etc/ceph/ceph.conf /etc/ceph/ceph.conf.bak
並再次啟動該服務。