这篇文章将为大家详细讲解有关Ceph集群出现WARN怎么办,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
Ceph集群出现WARN
# ceph -s
cluster:
id: 559a2fd9-5fcd-402d-99c4-a61c10cfaa6f
health: HEALTH_WARN
application not enabled on 1 pool(s)
services:
mon: 3 daemons, quorum ceph-1,ceph-2,ceph-3 (age 2w)
mgr: ceph-1(active, since 2w)
mds: k8s:1 {0=ceph-1=up:active}
osd: 3 osds: 3 up (since 2w), 3 in (since 10M)
rgw: 1 daemon active (ceph-1)
data:
pools: 15 pools, 250 pgs
objects: 4.02k objects, 13 GiB
usage: 40 GiB used, 1.1 TiB / 1.2 TiB avail
pgs: 250 active+clean
查看具体的问题
# 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 'superset'
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 superset rbd
enabled application 'rbd' on pool 'superset'
关于“Ceph集群出现WARN怎么办”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。