]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/cephfs: add tests failing MDS and FS when MDS is unhealthy
authorRishabh Dave <ridave@redhat.com>
Mon, 25 Mar 2024 12:05:38 +0000 (17:35 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 12 Jun 2024 10:23:06 +0000 (15:53 +0530)
commit40ecfdee4ed95f50dce2fc2ae1a4c7f828025ace
treef3776e9f020324696b5b7b2174517d76d4c25751
parent61bd3e5be6b4f249552a63cfef8c2ea28de5f1d8
qa/cephfs: add tests failing MDS and FS when MDS is unhealthy

Add tests to verify that the confirmation flag is mandatory for running
commands "ceph mds fail" and "ceph fs fail" when MDS has one of the two
health warnings: MDS_CACHE_OVERSIZE or MDS_TRIM.

Also, add MDS_CACHE_OVERSIZE and MDS_TRIM to ignorelist for
test_admin.py so that QA jobs knows this an expected failure.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 214d614309a75fe9926d1a46be5b184c7cd0cbc1)
qa/suites/fs/functional/tasks/admin.yaml
qa/tasks/cephfs/test_admin.py