【ceph运维】解决"mon is allowing insecure global_id reclaim"问题

解决mon is allowing insecure global_id reclaim问题

1.查询ceph状态:

$ ceph -s
  cluster:
    id:     37ac4cbb-a2c6-4f81-af1e-e9e39c010c85
    health: HEALTH_WARN
            mon is allowing insecure global_id reclaim
 
  services:
    mon: 1 daemons, quorum ceph-node-11 (age 64s)
    mgr: no daemons active
    osd: 0 osds: 0 up, 0 in
 
  data:
    pools:   0 pools, 0 pgs
    objects: 0 objects, 0 B
    usage:   0 B used, 0 B / 0 B avail
    pgs:   

解决办法:禁用不安全模式

$ ceph config set mon auth_allow_insecure_global_id_reclaim false
$ ceph -s
  cluster:
    id:     37ac4cbb-a2c6-4f81-af1e-e9e39c010c85
    health: HEALTH_OK
 
  services:
    mon: 1 daemons, quorum ceph-node-11 (age 90s)
    mgr: no daemons active
    osd: 0 osds: 0 up, 0 in
 
  data:
    pools:   0 pools, 0 pgs
    objects: 0 objects, 0 B
    usage:   0 B used, 0 B / 0 B avail
    pgs:   

 

posted @ 2023-09-03 16:11  苏格拉底的落泪  阅读(931)  评论(0编辑  收藏  举报