我试图通过以下命令添加一个osd节点
ceph-deploy osd prepare ceph-02:/dev/sdb发现配置文件/etc/c年会/ceph.conf存在不同内容的错误。使用--overwrite-conf覆盖。
如何使用overwrite-conf**?** ?
错误日志:
[ceph_deploy.osd][INFO ] Distro info: CentOS Linux 7.4.1708 Core
[ceph_deploy.osd][DEBUG ] Deploying osd to ceph-02
[ceph-02][DEBUG ] write cluster configuration to /etc/ceph/{cluster}.conf
[ceph_deploy.osd][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 OSDs发布于 2017-12-08 11:00:36
这是ceph-deploy命令的正常行为。只需运行ceph-deploy --overwrite-conf osd prepare ceph-02:/dev/sdb。这将取代现有的/etc/c年会/ceph.conf。这将解决你的问题。
https://stackoverflow.com/questions/47453717
复制相似问题