首页 > Windows开发 > 详细

ceph -s 出现 mon is allowing insecure global_id reclaim

时间:2021-05-25 15:43:53      阅读:22      评论:0      收藏:0      [点我收藏+]

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

原文:https://www.cnblogs.com/tianyingz/p/14808365.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!