【发布时间】:2017-11-23 10:51:47
【问题描述】:
我正在尝试通过以下命令添加一个 osd 节点
ceph-deploy osd prepare ceph-02:/dev/sdb
发现配置文件 /etc/ceph/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
【问题讨论】:
标签: ceph