Skip to content

qa: restrict 'perf dump' on active mds only - #59383

Merged
mchangir merged 1 commit into
ceph:mainfrom
joscollin:wip-B67360-counters-set-on-mds-failed
Dec 6, 2024
Merged

mchangir merged 1 commit into
ceph:mainfrom
joscollin:wip-B67360-counters-set-on-mds-failed

Conversation

@joscollin

@joscollin joscollin commented Aug 21, 2024 •

Copy link
Copy Markdown
Member

Fixes: https://tracker.ceph.com/issues/67360

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

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
  • jenkins test rook e2e

@joscollin
joscollin marked this pull request as draft August 21, 2024 15:15
@github-actions github-actions Bot added the tests label Aug 21, 2024
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@joscollin
joscollin force-pushed the wip-B67360-counters-set-on-mds-failed branch from 9292e38 to b1e7b54 Compare August 27, 2024 06:06
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin
joscollin marked this pull request as ready for review August 27, 2024 09:18
@joscollin joscollin added the cephfs Ceph File System label Aug 27, 2024
@joscollin joscollin changed the title qa: restrict 'perf dump' on active mds qa: restrict 'perf dump' on active mdses only Aug 27, 2024
@joscollin joscollin changed the title qa: restrict 'perf dump' on active mdses only qa: restrict 'perf dump' on active mds only Aug 27, 2024
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

Comment thread qa/tasks/check_counter.py Resolved
@vshankar
vshankar requested a review from a team August 28, 2024 05:48
@joscollin
joscollin force-pushed the wip-B67360-counters-set-on-mds-failed branch from b1e7b54 to 3d7f384 Compare August 28, 2024 11:40
@vshankar

Copy link
Copy Markdown
Contributor

This change looks fine when check-counter the MDS states are stable, i.e., when there aren't frequent transitions b/w active to standby, etc.. But check-counters is also included in fs:thrash.

@joscollin

Copy link
Copy Markdown
Member Author

This change looks fine when check-counter the MDS states are stable, i.e., when there aren't frequent transitions b/w active to standby, etc.. But check-counters is also included in fs:thrash.

@batrick Then I should check the status each time in the loop to cover this^.

@vshankar

Copy link
Copy Markdown
Contributor

This change looks fine when check-counter the MDS states are stable, i.e., when there aren't frequent transitions b/w active to standby, etc.. But check-counters is also included in fs:thrash.

@batrick Then I should check the status each time in the loop to cover this^.

That just narrows the race windows IMO.

@batrick

batrick commented Aug 28, 2024

Copy link
Copy Markdown
Member

This change looks fine when check-counter the MDS states are stable, i.e., when there aren't frequent transitions b/w active to standby, etc.. But check-counters is also included in fs:thrash.

@batrick Then I should check the status each time in the loop to cover this^.

That just narrows the race windows IMO.

If that's a concern, then use mds.<gid> with the ceph tell command so that the command will fail if there is a failover since the fs dump was fetched.

@joscollin
joscollin force-pushed the wip-B67360-counters-set-on-mds-failed branch 3 times, most recently from 5b9aa7e to 1c74c08 Compare August 29, 2024 12:02
@joscollin

Copy link
Copy Markdown
Member Author

Comment thread qa/tasks/check_counter.py Resolved
@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check

@joscollin
joscollin force-pushed the wip-B67360-counters-set-on-mds-failed branch from 1c74c08 to c096967 Compare September 2, 2024 03:21

@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.

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test windows

@joscollin

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@joscollin
joscollin force-pushed the wip-B67360-counters-set-on-mds-failed branch from c096967 to 7a952dc Compare September 12, 2024 03:59
@joscollin
joscollin requested a review from vshankar September 16, 2024 05:06
@batrick

batrick commented Oct 9, 2024

Copy link
Copy Markdown
Member

jenkins test make check arm64

@batrick

batrick commented Oct 15, 2024

Copy link
Copy Markdown
Member

jenkins test make check arm64

@vshankar

Copy link
Copy Markdown
Contributor

Comment thread qa/tasks/check_counter.py Resolved
@mchangir
mchangir merged commit 7fdc8a7 into ceph:main Dec 6, 2024
@joscollin
joscollin deleted the wip-B67360-counters-set-on-mds-failed branch December 6, 2024 07:41
@vshankar

Copy link
Copy Markdown
Contributor

Thx for merging @mchangir

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.

4 participants