Skip to content

qa: add killpoint testing for dirfrags#48130

Merged
batrick merged 9 commits intoceph:mainfrom
batrick:i7320
Jun 8, 2024
Merged

qa: add killpoint testing for dirfrags#48130
batrick merged 9 commits intoceph:mainfrom
batrick:i7320

Conversation

@batrick
Copy link
Member

@batrick batrick commented Sep 15, 2022

Successor to #35178

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@batrick batrick marked this pull request as ready for review September 15, 2022 22:12
@batrick batrick force-pushed the i7320 branch 4 times, most recently from 8b3a707 to 88ff337 Compare September 16, 2022 13:36
@batrick batrick requested a review from a team October 3, 2022 17:04
Copy link
Contributor

@vshankar vshankar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@batrick Should commit ba4b329 ("mds: optimize MDBalancer code path config access") be a separate PR? Seems like it could be a backport candidate.

@batrick
Copy link
Member Author

batrick commented Oct 24, 2022

@batrick Should commit ba4b329 ("mds: optimize MDBalancer code path config access") be a separate PR? Seems like it could be a backport candidate.

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.

@batrick batrick force-pushed the i7320 branch 3 times, most recently from c2ab198 to cf2fe4d Compare October 24, 2022 20:32
@vshankar
Copy link
Contributor

@batrick Should commit ba4b329 ("mds: optimize MDBalancer code path config access") be a separate PR? Seems like it could be a backport candidate.

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.

Fair enough.

@batrick
Copy link
Member Author

batrick commented Jun 4, 2024

This PR is under test in https://tracker.ceph.com/issues/66358.

@batrick
Copy link
Member Author

batrick commented Jun 5, 2024

jenkins test dashboard cephadm

@batrick
Copy link
Member Author

batrick commented Jun 5, 2024

jenkins test make check

@batrick
Copy link
Member Author

batrick commented Jun 5, 2024

jenkins test make check arm64

@batrick
Copy link
Member Author

batrick commented Jun 5, 2024

jenkins test dashboard cephadm

@batrick
Copy link
Member Author

batrick commented Jun 6, 2024

/teuthology/pdonnell-2024-06-05_18:51:33-fs-wip-pdonnell-testing-20240605.005022-debug-distro-default-smithi/7742414/

sidharthanup and others added 9 commits June 6, 2024 13:57
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>
@batrick
Copy link
Member Author

batrick commented Jun 6, 2024

Minor rebase. Needs approval + merge @vshankar

@batrick
Copy link
Member Author

batrick commented Jun 6, 2024

jenkins test dashboard cephadm

1 similar comment
@batrick
Copy link
Member Author

batrick commented Jun 6, 2024

jenkins test dashboard cephadm

@batrick
Copy link
Member Author

batrick commented Jun 7, 2024

jenkins test api

@batrick
Copy link
Member Author

batrick commented Jun 7, 2024

jenkins test dashboard cephadm

1 similar comment
@batrick
Copy link
Member Author

batrick commented Jun 7, 2024

jenkins test dashboard cephadm

@batrick
Copy link
Member Author

batrick commented Jun 7, 2024

jenkins test api

@vshankar
Copy link
Contributor

vshankar commented Jun 7, 2024

jenkins test api

1 similar comment
@batrick
Copy link
Member Author

batrick commented Jun 7, 2024

jenkins test api

@batrick
Copy link
Member Author

batrick commented Jun 7, 2024

jenkins test dashboard cephadm

@batrick
Copy link
Member Author

batrick commented Jun 7, 2024

jenkins test api

1 similar comment
@batrick
Copy link
Member Author

batrick commented Jun 8, 2024

jenkins test api

@batrick
Copy link
Member Author

batrick commented Jun 8, 2024

jenkins test dashboard cephadm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants