mon, qa: suites override ec profiles with --yes_i_really_mean_it; monitors accept that#56531
mon, qa: suites override ec profiles with --yes_i_really_mean_it; monitors accept that#56531
Conversation
|
jenkins test api |
|
@rzarzynski I saw this in a different test run, but this also needs to be fixed for qa/standalone/mon/osd-erasure-code-profile.sh: /a/yuriw-2024-04-01_20:57:46-rados-wip-yuri3-testing-2024-04-01-0837-squid-distro-default-smithi/7634757 It can perhaps be done in a separate PR since this one is already in testing. WDYT? |
|
Fixing. |
2ff3b93 to
fc14c3c
Compare
|
@ljflores: now this should be also covered. |
|
Looks unrelated: |
|
jenkins test make check |
qa/workunits/cephtool/test.sh
Outdated
| ceph osd erasure-code-profile set fooprofile a=b c=d | ||
| expect_false ceph osd erasure-code-profile set fooprofile a=b c=d e=f | ||
| ceph osd erasure-code-profile set fooprofile a=b c=d e=f --force | ||
| ceph osd erasure-code-profile set fooprofile a=b c=d e=f --force --yes_i_really_mean_it |
There was a problem hiding this comment.
Should be:
| ceph osd erasure-code-profile set fooprofile a=b c=d e=f --force --yes_i_really_mean_it | |
| ceph osd erasure-code-profile set fooprofile a=b c=d e=f --force --yes-i-really-mean-it |
I pushed a small fix for this.
| ceph osd erasure-code-profile set fooprofile a=b c=d | ||
| expect_false ceph osd erasure-code-profile set fooprofile a=b c=d e=f |
There was a problem hiding this comment.
From the latest results, it looks like we need to also add this flag to other lines of the script- basically wherever we're overriding an existing profile:
2024-04-12T01:54:30.858 INFO:tasks.workunit.client.0.smithi023.stderr:/home/ubuntu/cephtest/clone.client.0/qa/workunits/cephtool/test.sh:2490: test_mon_osd_erasure_code: ceph osd erasure-code-profile set fooprofile a=b c=d
2024-04-12T01:54:31.422 INFO:tasks.workunit.client.0.smithi023.stderr:/home/ubuntu/cephtest/clone.client.0/qa/workunits/cephtool/test.sh:2491: test_mon_osd_erasure_code: ceph osd erasure-code-profile set fooprofile a=b c=d
2024-04-12T01:54:31.835 INFO:tasks.workunit.client.0.smithi023.stderr:/home/ubuntu/cephtest/clone.client.0/qa/workunits/cephtool/test.sh:2492: test_mon_osd_erasure_code: expect_false ceph osd erasure-code-profile set fooprofile a=b c=d e=f
There was a problem hiding this comment.
This failure is pretty weird. The change should affect only the ceph osd erasure-code-profile set --force commands; those without --force should be failing (if the profiles differ) even in the past.
Do you have a teuthology.log maybe?
Also, I found two other cases in test_rados_tool.sh. I'm pushing updated commit because that.
This fixes a fallout from 629ba7b. The problem has been nailed down by Laura Flores. Fixes: https://tracker.ceph.com/issues/65183 Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
d40a733 to
6f81323
Compare
|
This PR is under test in https://tracker.ceph.com/issues/65797. |
|
jenkins test make check |
1 similar comment
|
jenkins test make check |
|
This PR only changes 2 test files, I think that we should test those separably in order to merge. (no need for full batch) |
Fixes: https://tracker.ceph.com/issues/65183 Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
|
Thanks @rzarzynski, we'll get this into a QA batch. |
This fixes a fallout from 629ba7b. The problem has been nailed down by Laura Flores.
Fixes: https://tracker.ceph.com/issues/65183
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. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.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 windowsjenkins test rook e2e