学习是一个逐步发现自己无知的过程!

ceph错误状态"application not enabled on 1 pool(s)"

报错内容

[root@cephnode01 ~]# ceph -s
cluster:
  id:     ce846d05-1d18-4be6-a4a8-d976e63f4b87
  health: HEALTH_WARN
          application not enabled on 1 pool(s)

services:

查看错误详情

ceph health detail
[root@cephnode01 ~]# 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 'kube'
  use 'ceph osd pool application enable <pool-name> <app-name>', where <app-name> is 'cephfs', 'rbd', 'rgw', or freeform for custom applications.

根据错误提示启动pool

[root@cephnode01 ~]# ceph osd pool application enable kube rbd
enabled application 'rbd' on pool 'kube'
[root@cephnode01 ~]# ceph health detail
HEALTH_OK
赞(0)
未经允许不得转载:劉大帥 » ceph错误状态"application not enabled on 1 pool(s)"

你的评论可能会一针见血! 抢沙发

登录

找回密码

注册