mon,cephfs: require confirmation when changing max_mds on unhealthy cluster#59420
mon,cephfs: require confirmation when changing max_mds on unhealthy cluster#59420rishabh-d-dave merged 4 commits intoceph:mainfrom
Conversation
ee33e86 to
d978576
Compare
|
@rishabh-d-dave Otherwise, LGTM |
5f3467d to
2de7b1d
Compare
|
@joscollin @batrick Thanks for the quick review. I've made the recommended changes now. PTAL. |
2de7b1d to
1985b7a
Compare
doc/cephfs/troubleshooting.rst
Outdated
|
|
||
| That prevents any clients from establishing new sessions with the MDS. | ||
|
|
||
| * **Dont tweak max_mds** Changing value of ``max_mds`` FS setting variable is |
There was a problem hiding this comment.
I would add this as a precautionary note rather than an assertive statement.
There was a problem hiding this comment.
Please suggest better a wording. How is **Be cautious tweaking max_mds**?
7704ae9 to
33bb3cb
Compare
|
. |
33bb3cb to
7ea5fdb
Compare
doc/cephfs/troubleshooting.rst
Outdated
|
|
||
| That prevents any clients from establishing new sessions with the MDS. | ||
|
|
||
| * **Dont tweak max_mds** Changing value of ``max_mds`` FS setting variable is |
2b68078 to
75b6224
Compare
|
@vshankar i've made the changes last week that were recommended by you. PTAL when you find some time. :) |
I'll have a look tomorrow. Meanwhile requesting a review from @ceph/cephfs. |
Thank you! |
vshankar
left a comment
There was a problem hiding this comment.
Minor nit, otherwise LGTM.
75b6224 to
6002ced
Compare
|
Had a discussion wit Venky here, have made the relevant changes. |
…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 <ridave@redhat.com>
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 <ridave@redhat.com>
Update the documentation for CephFs admininstration as well troubleshooting. Signed-off-by: Rishabh Dave <ridave@redhat.com>
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 <ridave@redhat.com>
6002ced to
a71c8e8
Compare
|
This PR is under test in https://tracker.ceph.com/issues/68354. |
|
jenkins test api |
rishabh-d-dave
left a comment
There was a problem hiding this comment.
QA run was successful - https://tracker.ceph.com/projects/cephfs/wiki/Main#2024-Oct-18
|
jenkins test api |
|
Ready for merge but waiting for Ceph API CI job to pass |
Changes requested have been incorporated.
Fixes: https://tracker.ceph.com/issues/66301
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