问题:

ceph 出现 如下的错误提示:

[[email protected] /]# ceph -s

  cluster:

    id:     e7a3be6e-2e30-49fd-99c0-dbb304ae1a82

    health: HEALTH_WARN

            application not enabled on 1 pool(s)

 

  --------------------------------------------------------

[[email protected] /]#

解决办法:

根据提示把pool设置

[[email protected] /]#

[[email protected] /]# 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 'ganesha_data'

    use 'ceph osd pool application enable <pool-name> <app-name>', where <app-name> is 'cephfs', 'rbd', 'rgw', or freeform for custom applications.

[[email protected] /]#

 

[[email protected] /]#

[[email protected] /]# 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 'ganesha_data'

    use 'ceph osd pool application enable <pool-name> <app-name>', where <app-name> is 'cephfs', 'rbd', 'rgw', or freeform for custom applications.

[[email protected] /]# ceph osd pool application enable ganesha_data  rgw

enabled application 'rgw' on pool 'ganesha_data'

[[email protected] /]#

[[email protected] /]#

[[email protected] /]#

[[email protected] /]#

[[email protected] /]#

恢复正常:

[[email protected] /]#

[[email protected] /]# ceph -s

  cluster:

    id:     e7a3be6e-2e30-49fd-99c0-dbb304ae1a82

    health: HEALTH_OK

 

 --------------------------------------------------------

ceph错误提示:application not enabled on 1 pool(s) 解决办法!

 

 

相关文章: