ceph/qa/suites/rados/mgr/tasks/progress.yaml
Kamoltat 5f33f2f6e0 mgr/test_progress.py: Delay recover in test_progress
Changes some the tests in teuthology to make
the test more deterministic.
Using:

`ceph osd set norecover` and
`ceph osd set nobackfill` when marking osds in
or out. As this will delay the recovery and make
sure it the test cases get the chance to check
that there is actually events poping up in
the progress module.

took out test_osd_cannot_recover from
tasks/mgr/test_progress.py since it is no longer
a relevant test case since recovery will get
triggered regardless if pg is unmoved.

Ignoring `OSDMAP_FLAGS` in teuthology
because we are using norecover and nobackfill
to delay the recovery process, therefore, it
will create a health warning and fails the
teuthology test.

Signed-off-by: Kamoltat <ksirivad@redhat.com>
2021-07-13 19:33:20 +00:00

30 lines
750 B
YAML

overrides:
ceph:
conf:
osd:
osd mclock profile: high_recovery_ops
tasks:
- install:
- ceph:
config:
global:
osd pool default size : 3
osd pool default min size : 2
# tests may leave mgrs broken, so don't try and call into them
# to invoke e.g. pg dump during teardown.
wait-for-scrub: false
log-ignorelist:
- overall HEALTH_
- \(MGR_DOWN\)
- \(MDS_ALL_DOWN\)
- \(MDS_UP_LESS_THAN_MAX\)
- \(FS_WITH_FAILED_MDS\)
- \(FS_DEGRADED\)
- \(PG_
- \(OSDMAP_FLAGS\)
- replacing it with standby
- No standby daemons available
- cephfs_test_runner:
modules:
- tasks.mgr.test_progress