Skip to content

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

Open
rishabh-d-dave wants to merge 9 commits into
ceph:squidfrom
rishabh-d-dave:check-mds-id-squid
Open

rishabh-d-dave wants to merge 9 commits into
ceph:squidfrom
rishabh-d-dave:check-mds-id-squid

Conversation

@rishabh-d-dave

@rishabh-d-dave rishabh-d-dave commented Feb 28, 2025 •

Copy link
Copy Markdown
Contributor

Backport ticket: https://tracker.ceph.com/issues/70237
Backport ticket: https://tracker.ceph.com/issues/70235

Original PR: #61554

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 February 28, 2025 12:05
@rishabh-d-dave
rishabh-d-dave requested a review from a team February 28, 2025 12:05
@github-actions github-actions Bot added this to the squid milestone Feb 28, 2025
@rishabh-d-dave
rishabh-d-dave force-pushed the check-mds-id-squid branch 2 times, most recently from 6dce48a to c6ab226 Compare February 28, 2025 12:12
@github-actions

github-actions Bot commented Apr 9, 2025

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@kotreshhr

Copy link
Copy Markdown
Contributor

@rishabh-d-dave please fix the merge conflict

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

@rishabh-d-dave please fix the merge conflict

Done.

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

jenkins test api

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

jenkins test api

@kotreshhr

Copy link
Copy Markdown
Contributor

jenkins test make check

@joscollin

Copy link
Copy Markdown
Member

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@neesingh-rh

Copy link
Copy Markdown
Contributor

@rishabh-d-dave This backport PR needs rebase, can u pls?

@neesingh-rh

Copy link
Copy Markdown
Contributor

@rishabh-d-dave This backport PR needs rebase, can u pls?

request for rebase @rishabh-d-dave ?

Fixes: https://tracker.ceph.com/issues/69694
Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit 2217002)

Conflicts:
src/mon/MDSMonitor.h
- The region where the patch had to be applied was different in squid
  compared to main branch.
MDS_CACHE_OVERSIZE warning.

Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit 5a7834b)
health warning.

Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit 95a812a)

Conflicts:
qa/tasks/cephfs/test_admin.py
- File contents is somewhat different in squid vs main, leading to
  conflict.
Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit 7f5553c)
Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit cf68e49)
warnings.

Fixes: https://tracker.ceph.com/issues/69707
Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit 0437952)

Conflicts:
src/mon/MDSMonitor.cc
- region where the patch was to be applied is different in squid
  compared to main

Conflicts:
src/mon/MDSMonitor.h
- The region where the patch has to be applied is different in Squid
  branch compared to the mainb branch.
tha generates MDS_CACHE_OVERSIZE warning.

Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit d53be13)
health warnings.

Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit 59511e6)

Conflicts:
qa/tasks/cephfs/test_admin.py
-  the region where the patch has to be applied is different in squid
   compared to squid.
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 <[email protected]>
(cherry picked from commit 5ee8321)
@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

jenkins test api

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@neesingh-rh

Copy link
Copy Markdown
Contributor

jenkins retest this please

1 similar comment
@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

jenkins test api

@neesingh-rh

Copy link
Copy Markdown
Contributor

@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Automated Backport Parity Review - Backport Deviation Alert

A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.

How to proceed:

  • Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git Conflicts: block intact) and include an explanation for changes.
  • Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
  • Component Leads (Review): Please review the Range Diff below to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting /audit override.

Be familiar with the rules and guidelines for writing backports.

Affected File(s)

Range Diff

Click to expand
--- Original (95a812a5)
+++ Backport (e9e37647)
@@ -3,3 +3,9 @@
 health warning.
 
 Signed-off-by: Rishabh Dave <[email protected]>
+(cherry picked from commit 95a812a5f5c058bcab077790b5edfc8985d0c485)
+
+Conflicts:
+qa/tasks/cephfs/test_admin.py
+- File contents is somewhat different in squid vs main, leading to
+  conflict.

================================================================================
RANGE DIFF
================================================================================

1:  95a812a5f5c ! 1:  e9e376472ae qa/cephfs: test that a MDS can be failed when other FS/MDS has a...
    @@ Commit message
         health warning.
     
         Signed-off-by: Rishabh Dave <[email protected]>
    +    (cherry picked from commit 95a812a5f5c058bcab077790b5edfc8985d0c485)
    +
    +    Conflicts:
    +    qa/tasks/cephfs/test_admin.py
    +    - File contents is somewhat different in squid vs main, leading to
    +      conflict.
     
      ## qa/tasks/cephfs/test_admin.py ##
     @@ qa/tasks/cephfs/test_admin.py: class TestFSFail(TestAdminCommands):
    @@ qa/tasks/cephfs/test_admin.py: class TestMDSFail(TestAdminCommands):
     +        # of CephFS in CephFSTestCase.tearDown() to be successful.
     +        self.fs.set_joinable()
     +        self.fs.wait_for_daemons()
    -+
      
      class TestFSSetMaxMDS(TestAdminCommands):
      
    -@@ qa/tasks/cephfs/test_admin.py: class TestToggleVolumes(CephFSTestCase):
    -         # plugin is reported properly by "ceph mgr module ls" command, check if
    -         # it is also working fine.
    -         self.run_ceph_cmd('fs volume ls')
    -+

Commit Parity Visualizer

BACKPORT PR #62052 SOURCE PR SOURCE STATUS
3005d4a mon,cephfs: check MDS ID before aborting "mds fail" command PR #61554 2217002 mon,cephfs: check MDS ID before aborting "mds fail" command
296e8a7 qa/cephfs: allow passing MDS ID to method that generate... 5a7834b qa/cephfs: allow passing MDS ID to method that generate...
e9e3764 qa/cephfs: test that a MDS can be failed when other FS/MDS has a... 95a812a qa/cephfs: test that a MDS can be failed when other FS/MDS has a...
6861bfa mon,cephfs: fix indentation level for a code block 7f5553c mon,cephfs: fix indentation level for a code block
c6cc68e cephfs,mon: rename variable to a better name cf68e49 cephfs,mon: rename variable to a better name
d0474c2 mon,cephfs: don't disallow "fs fail" when other FS/MDS has health... 0437952 mon,cephfs: don't disallow "fs fail" when other FS/MDS has health...
9fa077e qa/cephfs: allow detecting MDS ID from FS object for method the.. d53be13 qa/cephfs: allow detecting MDS ID from FS object for method the..
90c8253 qa/cephfs: test that failing a FS is possible when other MDS/FS has... 59511e6 qa/cephfs: test that failing a FS is possible when other MDS/FS has...
5f15b48 mon,cephfs: small improvement for health warning methods 5ee8321 mon,cephfs: small improvement for health warning methods

🛟 Need Help?

If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.

📋 Component Lead / Release Manager

To override the audit failure, apply releng-audit-override label or comment /audit override.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

CI Run Log: View Workflow Details

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cephfs Ceph File System core mon needs-review releng-audit-fail Release engineering: failed backport verification audit. tests wip-jcollin-testing-squid8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants