1.现象:
health: HEALTH_WARN
no active mgr
mons are allowing insecure global_id reclaim
clock skew detected on mon.tg-ceph-mon-2
2.原因有2种:
1.时间不同步
yum install chrony -y
systemctl restart chronyd
同步时间:
ntpdate time2.aliyun.com
2.ceph 集群禁止不安全模式
ceph config set mon auth_allow_insecure_global_id_reclaim false ceph.conf 后面 添加 mon clock drift allowed = 2 、mon clock drift warn backoff = 30 ceph-deploy --overwrite-conf config push ceph-node02 # 向需要同步的节点推送配置文件 ceph-deploy --overwrite-conf config push ceph-node03 systemctl restart ceph-mon.target # 重启所有守护进程 标签:clock,skew,ceph,detected,mon,conf From: https://www.cnblogs.com/zbhlinux/p/16967292.html