]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/cephtool: check_response didn't find erasure-code string 46869/head
authorNikhilkumar Shelke <nshelke@redhat.com>
Tue, 28 Jun 2022 11:13:13 +0000 (16:43 +0530)
committerNikhilkumar Shelke <nshelke@redhat.com>
Wed, 29 Jun 2022 06:58:55 +0000 (12:28 +0530)
commit217c1d2bb2f0ab76cbf60be1e0917852640ed092
tree016a6eaf5e0d3a2a4206dd2ca5d517592fdd3bd1
parentec3c779b12d692b1fec1a46caf2af9be0614d2d1
qa/workunits/cephtool: check_response didn't find erasure-code string

1. If data or metadata pool is already in-use by filesystem
then it is not allowed to reuse the same pool for another
filesystems.

2. Test is failing because above(1) restrictions/checks comes
before checking erasure-code pools. Hence test is failing
and not finding expected error string in output.

3. Proposed fix checks newly added error string instead of
'erasure-code'.

4. Also adding new tests to verify string 'erasure-code'
by passing --force option so that check for pools reuse(1)
will be skipped and check for 'erasure-code' will be hit.

Fixes: https://tracker.ceph.com/issues/56384
Signed-off-by: Nikhilkumar Shelke <nshelke@redhat.com>
qa/workunits/cephtool/test.sh