ceph报警 application not enabled on 1 pool的解决方法

查看ceph集群状态

[root@ceph1 ~]# ceph -s
  cluster:
    id:     de6c8763-8e9e-4a89-98c2-f144e4b3af47
    health: HEALTH_WARN
            application not enabled on 1 pool(s)

  services:
    mon: 3 daemons, quorum ceph1,ceph2,ceph3 (age 92m)
    mgr: ceph1(active, since 50m)
    osd: 6 osds: 6 up (since 73m), 6 in (since 73m)

  data:
    pools:   4 pools, 128 pgs
    objects: 221 objects, 1.7 GiB
    usage:   11 GiB used, 1.2 TiB / 1.2 TiB avail
    pgs:     128 active+clean

查看healthy信息

[root@ceph1 ~]# ceph health detail
HEALTH_WARN application not enabled on 1 pool(s)
POOL_APP_NOT_ENABLED application not enabled on 1 pool(s)
    application not enabled on pool 'images'
    use 'ceph osd pool application enable <pool-name> <app-name>', where <app-name> is 'cephfs', 'rbd', 'rgw', or freeform for custom applications.

解决办法

ceph osd pool application enable  images rbd

再次使用ceph -s查看集群状态恢复正常

发表评论

后才能评论