qa/workunits/cephtool: check_response didn't find erasure-code string#46869
qa/workunits/cephtool: check_response didn't find erasure-code string#46869
Conversation
ljflores
left a comment
There was a problem hiding this comment.
Cosmetic fix: Please make sure your commit has a title that goes with the subdirectory you made your changes in-- for you, this would be qa/workunits/cephtool.
e2960f0 to
9d982ed
Compare
Updated commit message and title. |
|
Scheduled some tests for this change here:
|
31df7c0 to
2f55776
Compare
@nmshelke I see the tests all failed, Mind taking a look? |
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>
@ljflores @vshankar I have updated the fix. |
ljflores
left a comment
There was a problem hiding this comment.
The changes look good to me, and the teuthology tests are all green now.
|
@vshankar I'll leave it to you to merge in case this needs any further CephFS testing. All good on the RADOS end. |
Looks good! |
If data or metadata pool is already in-use by filesystem
then it is not allowed to reuse the same pool for another
filesystems.
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.
Proposed fix checks newly added error string instead of
'erasure-code'.
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
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows