欢迎光临
我们一直在努力

ceph application not enabled 的解决方法--2019_9

‘# ceph -s
cluster:
id: XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
health: HEALTH_WARN
application not enabled on 1 pool(s)

services:
mon: 3 daemons, quorum a,b,c
mgr: a(active), standbys: b, c
osd: 6 osds: 6 up, 6 in

data:
pools: 17 pools, 472 pgs
objects: 16 objects, 1.9 KiB
usage: 360 MiB used, 3.4 TiB / 3.4 TiB avail
pgs: 472 active+clean

根据提示把pool设置

[root@localhost Keyring]# 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 ‘.rgw.root’
use ‘ceph osd pool application enable <pool-name> <app-name>’, where <app-name> is ‘cephfs’, ‘rbd’, ‘rgw’, or freeform for custom applications.

[root@localhost Keyring]# ceph osd pool application enable .rgw.root rgw
enabled application ‘rgw’ on pool ‘.rgw.root’

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。