ceph -s 出现 mon is allowing insecure global_id reclaim

ceph环境:

1个mon节点,3个osd节点(其中一个osd同时是mon节点)

ceph版本:

[root@ceph_03 ~]# ceph -v
ceph version 14.2.21 (5ef401921d7a88aea18ec7558f7f9374ebd8f5a6) nautilus (stable)

ceph状态:

[root@ceph_03 ~]# ceph -s
  cluster:
    id:     ad221cc4-2af0-4050-8de5-316455b3cb10
    health: HEALTH_WARN
            mon is allowing insecure global_id reclaim
 
  services:
    mon: 1 daemons, quorum ceph_01 (age 3m)
    mgr: ceph_01(active, since 3m)
    osd: 9 osds: 9 up (since 100s), 9 in (since 100s)
 
  data:
    pools:   0 pools, 0 pgs
    objects: 0 objects, 0 B
    usage:   9.0 GiB used, 60 GiB / 69 GiB avail
    pgs:     
 

 

解决办法:

禁用不安全模式

[root@ceph_03 ~]# ceph config set mon auth_allow_insecure_global_id_reclaim false
[root@ceph_03 ~]# ceph -s
  cluster:
    id:     ad221cc4-2af0-4050-8de5-316455b3cb10
    health: HEALTH_OK
 
  services:
    mon: 1 daemons, quorum ceph_01 (age 6m)
    mgr: ceph_01(active, since 6m)
    osd: 9 osds: 9 up (since 4m), 9 in (since 4m)
 
  data:
    pools:   0 pools, 0 pgs
    objects: 0 objects, 0 B
    usage:   9.0 GiB used, 60 GiB / 69 GiB avail
    pgs:     
 

 

ceph -s 出现 mon is allowing insecure global_id reclaim

上一篇:golang调用windows动态库dll方法


下一篇:C#基础之==(双等于号)与equals()区别