Skip to content

squid: mon,cephfs: require confirmation when changing max_mds on unhealthy cluster - #60398

Merged
neesingh-rh merged 4 commits into
ceph:squidfrom
rishabh-d-dave:wip-68621-squid
Jan 19, 2026
Merged

neesingh-rh merged 4 commits into
ceph:squidfrom
rishabh-d-dave:wip-68621-squid

Conversation

@rishabh-d-dave

Copy link
Copy Markdown
Contributor

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

docs lgtm

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

docs lgtm

Thank you for the review!

@vshankar vshankar added the wip-vshankar-testing2-squid Squid Backport Testing #2 label Nov 6, 2024
@vshankar

vshankar commented Nov 6, 2024

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jan 5, 2025

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Jan 5, 2025
@github-actions

github-actions Bot commented Feb 4, 2025

Copy link
Copy Markdown

This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution!

@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

@vshankar vshankar removed the wip-vshankar-testing2-squid Squid Backport Testing #2 label May 30, 2025
@kotreshhr

Copy link
Copy Markdown
Contributor

@rishabh-d-dave please rebase this

…luster

User must pass the confirmation flag (--yes-i-really-mean-it) to change
the value of CephFS setting variable "max_mds" when the Ceph cluster is
unhealthy.

This measure was decided upon to prevent users from changing "max_mds"
as a measure of troubleshotoing unhealthy cluster.

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

Conflicts:

src/mon/FSCommands.cc
- Method set_val() in present in this file in main branch but it's
  absent in Squid branch.
Add tests to ensure that when cluster has any health warning, especially
MDS_TRIM, confirmation flag is mandatory to change max_mds.

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

Conflicts:
qa/tasks/cephfs/test_admin.py
- This file is bit different than main branch version which led to
  conflict in applying the patch in this commit.
Update the documentation for CephFs admininstration as well
troubleshooting.

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

Conflicts:
doc/cephfs/troubleshooting.rst
- This patch was skipped because it was (erroneously) included by a
  different PR author in its PR.
@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

@rishabh-d-dave please rebase this

@kotreshhr Done.

@joscollin

Copy link
Copy Markdown
Member

jenkins test api

@rishabh-d-dave

Copy link
Copy Markdown
Contributor Author

@joscollin All CI jobs passed.

@joscollin

Copy link
Copy Markdown
Member

Add a release note for the fact that users now need to pass the
confirmation flag for modifying "max_mds" when cluster is unhealthy.

Signed-off-by: Rishabh Dave <[email protected]>
(cherry picked from commit a71c8e8)
@neesingh-rh

Copy link
Copy Markdown
Contributor

@neesingh-rh
neesingh-rh merged commit 06acd16 into ceph:squid Jan 19, 2026
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
squid: mon,cephfs: require confirmation when changing max_mds on unhealthy cluster
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.

6 participants