qa: add killpoint testing for dirfrags#48130
Conversation
8b3a707 to
88ff337
Compare
I don't think the performance aspect is really significant. It was useful for config changes (although IIRC legacy config still tracks changes). I think we can backport this set to Quincy or even Pacific so no particular reason to split it out IMO. |
c2ab198 to
cf2fe4d
Compare
Fair enough. |
|
This PR is under test in https://tracker.ceph.com/issues/66358. |
|
jenkins test dashboard cephadm |
|
jenkins test make check |
|
jenkins test make check arm64 |
|
jenkins test dashboard cephadm |
|
/teuthology/pdonnell-2024-06-05_18:51:33-fs-wip-pdonnell-testing-20240605.005022-debug-distro-default-smithi/7742414/ |
Defined a set of killpoints for testing directory fragmentation during cluster recovery after failure. Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com> Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This change is necessary because the new way of setting config is to use the ceph config command or the asok interface rather than the old way which involved editing the ceph.conf and restarting the daemons to reflect the changes. Have updated the code to support runtime config changes. Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com> Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
These configs may be set using:
ceph:
cluster-config:
entity:
foo: bar
same as the current:
ceph:
config:
entity:
foo: bar
The configs will be set in parallel using the `ceph config set` command.
The main benefit here is to avoid using the ceph.conf to set configs which
cannot be overriden using subsequent `ceph config` command. The only way to
override is to change the ceph.conf in the test (yuck) or the admin socket
(which gets reset when the daemon restarts).
Finally, we can now exploit the `ceph config reset` command will let us
trivially rollback config changes after a test completes. That is exposed
as the `ctx.config_epoch` variable.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
So that these configs can be easily overriden by tests. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This is faster and catches config changes made outside this interface. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Fixes: https://tracker.ceph.com/issues/7320 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com> Signed-off-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
|
Minor rebase. Needs approval + merge @vshankar |
|
jenkins test dashboard cephadm |
1 similar comment
|
jenkins test dashboard cephadm |
|
jenkins test api |
|
jenkins test dashboard cephadm |
1 similar comment
|
jenkins test dashboard cephadm |
|
jenkins test api |
|
jenkins test api |
1 similar comment
|
jenkins test api |
|
jenkins test dashboard cephadm |
|
jenkins test api |
1 similar comment
|
jenkins test api |
|
jenkins test dashboard cephadm |
Successor to #35178
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