Skip to content

qa: add killpoint testing for dirfrags - #48130

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

batrick merged 9 commits into
ceph:mainfrom
batrick:i7320

Conversation

@batrick

@batrick batrick commented Sep 15, 2022 •

Copy link
Copy Markdown
Member

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

@vshankar vshankar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Comment thread src/mds/MDCache.cc Resolved
@batrick

batrick commented Oct 24, 2022

Copy link
Copy Markdown
Member Author

@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
Copy Markdown
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

batrick commented Jun 5, 2024

Copy link
Copy Markdown
Member Author

jenkins test dashboard cephadm

@batrick

batrick commented Jun 5, 2024

Copy link
Copy Markdown
Member Author

jenkins test make check

@batrick

batrick commented Jun 5, 2024

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@batrick

batrick commented Jun 5, 2024

Copy link
Copy Markdown
Member Author

jenkins test dashboard cephadm

@batrick

batrick commented Jun 6, 2024

Copy link
Copy Markdown
Member Author

/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 <[email protected]>
Signed-off-by: Patrick Donnelly <[email protected]>
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 <[email protected]>
Signed-off-by: Patrick Donnelly <[email protected]>
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 <[email protected]>
So that these configs can be easily overriden by tests.

Signed-off-by: Patrick Donnelly <[email protected]>
This is faster and catches config changes made outside this interface.

Signed-off-by: Patrick Donnelly <[email protected]>
Signed-off-by: Patrick Donnelly <[email protected]>
@batrick

batrick commented Jun 6, 2024

Copy link
Copy Markdown
Member Author

Minor rebase. Needs approval + merge @vshankar

@batrick

batrick commented Jun 6, 2024

Copy link
Copy Markdown
Member Author

jenkins test dashboard cephadm

1 similar comment
@batrick

batrick commented Jun 6, 2024

Copy link
Copy Markdown
Member Author

jenkins test dashboard cephadm

@batrick

batrick commented Jun 7, 2024

Copy link
Copy Markdown
Member Author

jenkins test api

@batrick

batrick commented Jun 7, 2024

Copy link
Copy Markdown
Member Author

jenkins test dashboard cephadm

1 similar comment
@batrick

batrick commented Jun 7, 2024

Copy link
Copy Markdown
Member Author

jenkins test dashboard cephadm

@batrick

batrick commented Jun 7, 2024

Copy link
Copy Markdown
Member Author

jenkins test api

@vshankar

vshankar commented Jun 7, 2024

Copy link
Copy Markdown
Contributor

jenkins test api

1 similar comment
@batrick

batrick commented Jun 7, 2024

Copy link
Copy Markdown
Member Author

jenkins test api

@batrick

batrick commented Jun 7, 2024

Copy link
Copy Markdown
Member Author

jenkins test dashboard cephadm

@batrick

batrick commented Jun 7, 2024

Copy link
Copy Markdown
Member Author

jenkins test api

1 similar comment
@batrick

batrick commented Jun 8, 2024

Copy link
Copy Markdown
Member Author

jenkins test api

@batrick

batrick commented Jun 8, 2024

Copy link
Copy Markdown
Member Author

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