Repository navigation
squid: cephfs,mon: don't disallow "mds/fs fail" when other MDS/FS has health warning - #62052
rishabh-d-dave wants to merge 9 commits into
Conversation
6dce48a to
c6ab226
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@rishabh-d-dave please fix the merge conflict |
c6ab226 to
ffd2ca3
Compare
Done. |
|
jenkins test make check |
|
jenkins test api |
|
jenkins test make check |
|
jenkins test api |
|
jenkins test make check |
|
This PR is under test in https://tracker.ceph.com/issues/73331. |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
|
@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)
ffd2ca3 to
5f15b48
Compare
|
jenkins test api |
|
jenkins test windows |
|
jenkins retest this please |
1 similar comment
|
jenkins retest this please |
|
jenkins test api |
There was a problem hiding this comment.
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)
qa/tasks/cephfs/test_admin.py
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.
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
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
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e