[Ceph]application not enabled on 2 pool(s)

故障信息

[root@ceph1 hdd]# ceph -s
  cluster:
    id:     eb4d0231-7f7d-4b07-97a8-c84a46c8ac73
    health: HEALTH_WARN
            application not enabled on 2 pool(s)

  services:
    mon: 3 daemons, quorum ceph1,ceph2,ceph3 (age 4h)
    mgr: ceph1(active, since 4h), standbys: ceph2, ceph3
    osd: 6 osds: 6 up (since 4h), 6 in (since 4h)

  data:
    pools:   2 pools, 128 pgs
    objects: 2.85k objects, 11 GiB
    usage:   39 GiB used, 261 GiB / 300 GiB avail
    pgs:     128 active+clean

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

解决问题 池需要挂载应用分类

[root@ceph1 hdd]# ceph osd pool application enable ssdpool rbd
enabled application 'rbd' on pool 'ssdpool'
[root@ceph1 hdd]# ceph osd pool application enable hddpool rbd
enabled application 'rbd' on pool 'hddpool'
[root@ceph1 hdd]# ceph -s
  cluster:
    id:     eb4d0231-7f7d-4b07-97a8-c84a46c8ac73
    health: HEALTH_OK

  services:
    mon: 3 daemons, quorum ceph1,ceph2,ceph3 (age 4h)
    mgr: ceph1(active, since 4h), standbys: ceph2, ceph3
    osd: 6 osds: 6 up (since 4h), 6 in (since 4h)

  data:
    pools:   2 pools, 128 pgs
    objects: 2.85k objects, 11 GiB
    usage:   39 GiB used, 261 GiB / 300 GiB avail
    pgs:     128 active+clean

END

原文地址:https://www.cnblogs.com/leoshi/p/13652202.html