Skip to content

cephfs,mon: don't disallow "mds/fs fail" when other MDS/FS has health warning#61554

Merged
rishabh-d-dave merged 9 commits intoceph:mainfrom
rishabh-d-dave:check-mds-id
Feb 28, 2025
Merged

cephfs,mon: don't disallow "mds/fs fail" when other MDS/FS has health warning#61554
rishabh-d-dave merged 9 commits intoceph:mainfrom
rishabh-d-dave:check-mds-id

Conversation

@rishabh-d-dave
Copy link
Contributor

@rishabh-d-dave rishabh-d-dave commented Jan 28, 2025

Fixes: https://tracker.ceph.com/issues/69694
Fixes: https://tracker.ceph.com/issues/69707

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

@rishabh-d-dave rishabh-d-dave requested a review from a team as a code owner January 28, 2025 17:50
@rishabh-d-dave rishabh-d-dave requested review from a team, batrick and vshankar January 28, 2025 17:50
@rishabh-d-dave rishabh-d-dave changed the title <!-- - Please give your pull request a title like cephfs,mon: don't disallow mds fail when other MDS/FS has health warning Jan 28, 2025
@rishabh-d-dave rishabh-d-dave changed the title cephfs,mon: don't disallow mds fail when other MDS/FS has health warning cephfs,mon: don't disallow "mds fail" when other MDS/FS has health warning Jan 29, 2025
@rishabh-d-dave rishabh-d-dave force-pushed the check-mds-id branch 2 times, most recently from c13f7c3 to c49dfcc Compare January 29, 2025 14:47
@rishabh-d-dave rishabh-d-dave changed the title cephfs,mon: don't disallow "mds fail" when other MDS/FS has health warning cephfs,mon: don't disallow "mds/fs fail" when other MDS/FS has health warning Jan 29, 2025
@rishabh-d-dave
Copy link
Contributor Author

jenkins test make check

1 similar comment
@rishabh-d-dave
Copy link
Contributor Author

jenkins test make check

Copy link
Member

@batrick batrick left a comment

Choose a reason for hiding this comment

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

otherwise LGTM

@rishabh-d-dave rishabh-d-dave force-pushed the check-mds-id branch 2 times, most recently from 79bb9b6 to dee898b Compare February 6, 2025 16:29
MDS_CACHE_OVERSIZE warning.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
health warning.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
Signed-off-by: Rishabh Dave <ridave@redhat.com>
tha generates MDS_CACHE_OVERSIZE warning.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
health warnings.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
Use const qualifier since warnings vector won't be modified by the
helper methods and use also use a reference instead of a regular
variable.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
@rishabh-d-dave
Copy link
Contributor Author

jenkins test api

@rishabh-d-dave rishabh-d-dave added the wip-rishabh-testing Rishabh's testing label label Feb 7, 2025
@rishabh-d-dave
Copy link
Contributor Author

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

rishabh-d-dave added a commit to rishabh-d-dave/ceph that referenced this pull request Feb 8, 2025
* refs/pull/61554/head:
	mon,cephfs: small improvement for health warning methods
	qa/cephfs: test that failing a FS is possible when other MDS/FS has...
	qa/cephfs: allow detecting MDS ID from FS object for method the..
	mon,cephfs: don't disallow "fs fail" when other FS/MDS has health...
	cephfs,mon: rename variable to a better name
	mon,cephfs: fix indentation level for a code block
	qa/cephfs: test that a MDS can be failed when other FS/MDS has a...
	qa/cephfs: allow passing MDS ID to method that generate...
	mon,cephfs: check MDS ID before aborting "mds fail" command

Reviewed-by: Patrick Donnelly <pdonnell@ibm.com>
Copy link
Contributor Author

@rishabh-d-dave rishabh-d-dave left a comment

Choose a reason for hiding this comment

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

@rishabh-d-dave rishabh-d-dave merged commit d4b32ba into ceph:main Feb 28, 2025
12 checks passed
@rishabh-d-dave rishabh-d-dave deleted the check-mds-id branch February 28, 2025 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants