]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/suites/rados/singleton/all: init mon-stretch-pool.yaml
authorKamoltat <ksirivad@redhat.com>
Mon, 25 Mar 2024 19:42:25 +0000 (19:42 +0000)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Wed, 28 Aug 2024 18:50:42 +0000 (18:50 +0000)
commit7b56b5ce5c543f43ceb94b0602a0c1e84f5f8251
tree95025c3c3a166c521f0b7e1170d94197b16e12c5
parent072b08eddccd4654d42b1d65b36ed4d3f12c126c
qa/suites/rados/singleton/all: init mon-stretch-pool.yaml

Test the following new Ceph CLI commands:

`ceph osd pool stretch set`
`ceph osd pool stretch unset`
`ceph osd pool stretch show`

`qa/workunits/mon/mon-stretch-pool.sh`

will create the stretch cluster
while performing input validation for the CLI
Commands mentioned above.

`qa/tasks/stretch_cluster.py`

is in charge of
setting a pool to stretch cluster
and checks whether it prevents PGs
from the going active when there is not
enough buckets available in the acting
set of PGs to go active.

Also, test different MON fail over scenarios
after setting pool as stretch

`qa/suites/rados/singleton/all/mon-stretch-pool.yaml`

brings the scripts together.

Fixes: https://tracker.ceph.com/issues/64802
Signed-off-by: Kamoltat <ksirivad@redhat.com>
(cherry picked from commit 4ca1320727d1f7dca2ddfe7ad1a0b76f95b80ab0)

Conflicts:
- qa/tasks/ceph_test_case.py (trivial fix)
qa/suites/rados/singleton/all/mon-stretch-pool.yaml [new file with mode: 0755]
qa/tasks/ceph_manager.py
qa/tasks/ceph_test_case.py
qa/tasks/stretch_cluster.py [new file with mode: 0644]
qa/workunits/mon/mon-stretch-pool.sh [new file with mode: 0755]