Skip to content

Commit

Permalink
Merge pull request ceph#47560 from pdvian/wip-pool-app
Browse files Browse the repository at this point in the history
mon, qa: issue pool application warning even if pool is empty
  • Loading branch information
ljflores authored Aug 15, 2023
2 parents d1a0d8d + 990806e commit 93c326f
Show file tree
Hide file tree
Showing 114 changed files with 163 additions and 17 deletions.
4 changes: 2 additions & 2 deletions doc/rados/operations/health-checks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1226,8 +1226,8 @@ The health check will be silenced for a specific pool only if
POOL_APP_NOT_ENABLED
____________________

A pool exists that contains one or more objects, but the pool has not been
tagged for use by a particular application.
A pool exists but the pool has not been tagged for use by a particular
application.

To resolve this issue, tag the pool for use by an application. For
example, if the pool is used by RBD, run the following command:
Expand Down
2 changes: 1 addition & 1 deletion qa/standalone/mon/mon-last-epoch-clean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function TEST_mon_last_clean_epoch() {
local dir=$1

run_mon $dir a || return 1
run_mgr $dir x || return 1
run_mgr $dir x --mon-warn-on-pool-no-app=false || return 1
run_osd $dir 0 || return 1
run_osd $dir 1 || return 1
run_osd $dir 2 || return 1
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/basic/tasks/rados_stress_watch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ overrides:
- overall HEALTH_
- \(CACHE_POOL_NO_HIT_SET\)
- \(TOO_FEW_PGS\)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- workunit:
clients:
Expand Down
4 changes: 4 additions & 0 deletions qa/suites/rados/basic/tasks/rados_striper.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
overrides:
ceph:
log-ignorelist:
- \(POOL_APP_NOT_ENABLED\)
tasks:
- exec:
client.0:
Expand Down
2 changes: 2 additions & 0 deletions qa/suites/rados/basic/tasks/readwrite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ overrides:
mon osd initial require min compat client: luminous
osd:
osd_discard_disconnected_ops: false
log-ignorelist:
- \(POOL_APP_NOT_ENABLED\)
tasks:
- rados:
clients: [client.0]
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/basic/tasks/repair_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ overrides:
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(POOL_APP_NOT_ENABLED\)
conf:
osd:
filestore debug inject read err: true
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/basic/tasks/scrub_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ overrides:
- \(PG_
- \(OSD_SCRUB_ERRORS\)
- \(TOO_FEW_PGS\)
- \(POOL_APP_NOT_ENABLED\)
conf:
osd:
osd deep scrub update digest min age: 0
Expand Down
2 changes: 2 additions & 0 deletions qa/suites/rados/dashboard/tasks/dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ overrides:
conf:
osd:
osd mclock override recovery settings: true
mgr:
mon warn on pool no app: false

tasks:
- install:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/mgr/tasks/crash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tasks:
- \(RECENT_CRASH\)
- replacing it with standby
- No standby daemons available
- \(POOL_APP_NOT_ENABLED\)
- cephfs_test_runner:
modules:
- tasks.mgr.test_crash
1 change: 1 addition & 0 deletions qa/suites/rados/mgr/tasks/failover.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tasks:
- \(PG_
- replacing it with standby
- No standby daemons available
- \(POOL_APP_NOT_ENABLED\)
- cephfs_test_runner:
modules:
- tasks.mgr.test_failover
1 change: 1 addition & 0 deletions qa/suites/rados/mgr/tasks/insights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tasks:
- \(RECENT_CRASH\)
- replacing it with standby
- No standby daemons available
- \(POOL_APP_NOT_ENABLED\)
- cephfs_test_runner:
modules:
- tasks.mgr.test_insights
1 change: 1 addition & 0 deletions qa/suites/rados/mgr/tasks/module_selftest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ tasks:
- Failed to open Telegraf
- evicting unresponsive client
- 1 mgr modules have recently crashed \(RECENT_MGR_MODULE_CRASH\)
- \(POOL_APP_NOT_ENABLED\)
- cephfs_test_runner:
modules:
- tasks.mgr.test_module_selftest
Expand Down
2 changes: 2 additions & 0 deletions qa/suites/rados/mgr/tasks/per_module_finisher_stats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ tasks:
- install:
- ceph:
wait-for-scrub: false
log-ignorelist:
- \(POOL_APP_NOT_ENABLED\)
- check-counter:
counters:
mgr:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/mgr/tasks/progress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ tasks:
- \(OSDMAP_FLAGS\)
- replacing it with standby
- No standby daemons available
- \(POOL_APP_NOT_ENABLED\)
- cephfs_test_runner:
modules:
- tasks.mgr.test_progress
1 change: 1 addition & 0 deletions qa/suites/rados/mgr/tasks/prometheus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ tasks:
- \(PG_
- replacing it with standby
- No standby daemons available
- \(POOL_APP_NOT_ENABLED\)
- cephfs_test_runner:
modules:
- tasks.mgr.test_prometheus
1 change: 1 addition & 0 deletions qa/suites/rados/mgr/tasks/workunits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ tasks:
- \(PG_
- replacing it with standby
- No standby daemons available
- \(POOL_APP_NOT_ENABLED\)
- workunit:
clients:
client.0:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/monthrash/thrashers/force-sync-many.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ overrides:
- overall HEALTH_
- \(MON_DOWN\)
- \(TOO_FEW_PGS\)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- mon_thrash:
revive_delay: 90
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/monthrash/thrashers/many.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ overrides:
log-ignorelist:
- overall HEALTH_
- \(MON_DOWN\)
- \(POOL_APP_NOT_ENABLED\)
conf:
osd:
mon client ping interval: 4
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/monthrash/thrashers/one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ overrides:
log-ignorelist:
- overall HEALTH_
- \(MON_DOWN\)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- mon_thrash:
revive_delay: 20
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/monthrash/thrashers/sync-many.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ overrides:
log-ignorelist:
- overall HEALTH_
- \(MON_DOWN\)
- \(POOL_APP_NOT_ENABLED\)
conf:
mon:
paxos min: 10
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/monthrash/thrashers/sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ overrides:
log-ignorelist:
- overall HEALTH_
- \(MON_DOWN\)
- \(POOL_APP_NOT_ENABLED\)
conf:
mon:
paxos min: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ overrides:
log-ignorelist:
- slow request
- overall HEALTH_
- \(POOL_APP_NOT_ENABLED\)
tasks:
- exec:
client.0:
Expand Down
1 change: 0 additions & 1 deletion qa/suites/rados/monthrash/workloads/rados_5925.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ overrides:
ceph:
log-ignorelist:
- overall HEALTH_
- \(POOL_APP_NOT_ENABLED\)
tasks:
- exec:
client.0:
Expand Down
1 change: 0 additions & 1 deletion qa/suites/rados/monthrash/workloads/rados_api_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ overrides:
- \(SLOW_OPS\)
- \(MON_DOWN\)
- \(PG_
- \(POOL_APP_NOT_ENABLED\)
- \(SMALLER_PGP_NUM\)
- slow request
conf:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/multimon/tasks/mon_clock_no_skews.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ tasks:
- clocks not synchronized
- overall HEALTH_
- \(MON_CLOCK_SKEW\)
- \(POOL_APP_NOT_ENABLED\)
- mon_clock_skew_check:
expect-skew: false
1 change: 1 addition & 0 deletions qa/suites/rados/multimon/tasks/mon_clock_with_skews.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ tasks:
- \(SLOW_OPS\)
- No standby daemons available
- slow request
- \(POOL_APP_NOT_ENABLED\)
- mon_clock_skew_check:
expect-skew: true
1 change: 1 addition & 0 deletions qa/suites/rados/multimon/tasks/mon_recovery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ tasks:
- \(PG_AVAILABILITY\)
- \(SLOW_OPS\)
- slow request
- \(POOL_APP_NOT_ENABLED\)
- mon_recovery:
2 changes: 2 additions & 0 deletions qa/suites/rados/objectstore/backends/objectcacher-stress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ tasks:
- install:
- ceph:
fs: xfs
log-ignorelist:
- \(POOL_APP_NOT_ENABLED\)
- workunit:
clients:
all:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/perf/ceph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ tasks:
- \(OSD_
- \(OBJECT_
- overall HEALTH
- \(POOL_APP_NOT_ENABLED\)
- ssh_keys:
1 change: 1 addition & 0 deletions qa/suites/rados/rest/mgr-restful.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ tasks:
- \(OSD_
- \(OBJECT_
- \(OSDMAP_FLAGS\)
- \(POOL_APP_NOT_ENABLED\)
- exec:
mon.a:
- ceph restful create-key admin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ overrides:
- \(OSD_FULL\)
- \(MDS_READ_ONLY\)
- \(POOL_FULL\)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- install:
- ceph:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/singleton-nomsgr/all/balancer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ tasks:
fs: xfs
log-ignorelist:
- \(PG_AVAILABILITY\)
- \(POOL_APP_NOT_ENABLED\)
- cram:
clients:
client.0:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/singleton-nomsgr/all/cache-fs-trunc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tasks:
log-ignorelist:
- overall HEALTH_
- \(CACHE_POOL_NO_HIT_SET\)
- \(POOL_APP_NOT_ENABLED\)
conf:
global:
osd max object name len: 460
Expand Down
2 changes: 2 additions & 0 deletions qa/suites/rados/singleton-nomsgr/all/ceph-kvstore-tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ overrides:
tasks:
- install:
- ceph:
log-ignorelist:
- \(POOL_APP_NOT_ENABLED\)
- workunit:
clients:
all:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ tasks:
log-ignorelist:
- overall HEALTH_
- \(CACHE_POOL_NO_HIT_SET\)
- \(POOL_APP_NOT_ENABLED\)
conf:
global:
osd max object name len: 460
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/singleton-nomsgr/all/full-tiering.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ overrides:
- \(POOL_NEAR_FULL\)
- \(CACHE_POOL_NO_HIT_SET\)
- \(CACHE_POOL_NEAR_FULL\)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- install:
- ceph:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/singleton-nomsgr/all/health-warnings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ tasks:
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(POOL_APP_NOT_ENABLED\)
- workunit:
clients:
all:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ tasks:
- \(PG_
- \(OSD_
- \(OBJECT_
- \(POOL_APP_NOT_ENABLED\)
conf:
osd:
osd debug reject backfill probability: .3
Expand Down
2 changes: 2 additions & 0 deletions qa/suites/rados/singleton-nomsgr/all/pool-access.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ tasks:
- ceph:
pre-mgr-commands:
- sudo ceph config set mgr mgr_pool false --force
log-ignorelist:
- \(POOL_APP_NOT_ENABLED\)
- workunit:
clients:
all:
Expand Down
2 changes: 2 additions & 0 deletions qa/suites/rados/singleton/all/admin-socket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ openstack:
tasks:
- install:
- ceph:
log-ignorelist:
- \(POOL_APP_NOT_ENABLED\)
- admin_socket:
osd.0:
version:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/singleton/all/backfill-toofull.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ tasks:
- \(TOO_FEW_PGS\)
- Monitor daemon marked osd\.[[:digit:]]+ down, but it is still running
- slow request
- \(POOL_APP_NOT_ENABLED\)
conf:
osd:
osd min pg log entries: 5
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/singleton/all/dump-stuck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ tasks:
- \(OSDMAP_FLAGS\)
- \(OSD_
- \(PG_
- \(POOL_APP_NOT_ENABLED\)
- dump_stuck:
1 change: 1 addition & 0 deletions qa/suites/rados/singleton/all/ec-inconsistent-hinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ tasks:
- repair
- slow request
- unfound
- \(POOL_APP_NOT_ENABLED\)
conf:
osd:
osd min pg log entries: 5
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/singleton/all/ec-lost-unfound.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ tasks:
- \(OBJECT_
- \(SLOW_OPS\)
- slow request
- \(POOL_APP_NOT_ENABLED\)
- ec_lost_unfound:
1 change: 1 addition & 0 deletions qa/suites/rados/singleton/all/lost-unfound-delete.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ tasks:
- \(OBJECT_
- \(SLOW_OPS\)
- slow request
- \(POOL_APP_NOT_ENABLED\)
- rep_lost_unfound_delete:
1 change: 1 addition & 0 deletions qa/suites/rados/singleton/all/lost-unfound.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ tasks:
- \(OBJECT_
- \(SLOW_OPS\)
- slow request
- \(POOL_APP_NOT_ENABLED\)
- lost_unfound:
1 change: 1 addition & 0 deletions qa/suites/rados/singleton/all/max-pg-per-osd.from-mon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ overrides:
log-ignorelist:
- \(TOO_FEW_PGS\)
- \(PENDING_CREATING_PGS\)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- install:
- ceph:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ overrides:
- \(TOO_FEW_PGS\)
- \(PG_
- \(PENDING_CREATING_PGS\)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- install:
- ceph:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ overrides:
- \(TOO_FEW_PGS\)
- \(PG_
- \(PENDING_CREATING_PGS\)
- \(POOL_APP_NOT_ENABLED\)
tasks:
- install:
- ceph:
Expand Down
1 change: 1 addition & 0 deletions qa/suites/rados/singleton/all/mon-auth-caps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ tasks:
log-ignorelist:
- overall HEALTH_
- \(AUTH_BAD_CAPS\)
- \(POOL_APP_NOT_ENABLED\)
- workunit:
clients:
all:
Expand Down
Loading

0 comments on commit 93c326f

Please sign in to comment.