Repository navigation
mgr/cephadm: Updated NFS default protocol to v4 and v3 is enabled only when enable_nfsv3 is set in the spec - #67025
Conversation
adk3798
left a comment
There was a problem hiding this comment.
What's here LGTM. We probably also want to add docs for this and some flag to set this in ceph nfs cluster create... but for the cephadm module and spec changes this looks good
bf0a9bb to
7f85f90
Compare
7f85f90 to
d8f2e45
Compare
anthonyeleven
left a comment
There was a problem hiding this comment.
I am not qualified to review the code, but I approve of the intent.
e6a378a to
6e6e599
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
6e6e599 to
acd976b
Compare
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
…y when enable_nfsv3 is set in the spec Fixes: https://tracker.ceph.com/issues/74492 Signed-off-by: Shweta Bhosale <[email protected]>
acd976b to
f4a70f1
Compare
mnaser
left a comment
There was a problem hiding this comment.
This needs either a compatibility fix or explicit upgrade documentation because it can introduce a regression for clusters already using NFSv3 from the current v20/Tentacle behavior.
PR #55693 changed cephadm-generated Ganesha config to include Protocols = 3, 4 by default, and that behavior is present in the v20.x tags. Existing NFS service specs from those versions will not have an enable_nfsv3 field set, but the deployed service may still be serving NFSv3 clients today.
With this PR, the default becomes enable_nfsv3: false, so an existing service without the new field appears to render as Protocols = 4 after redeploy/upgrade. That would silently drop NFSv3 for users who started relying on the behavior added in #55693.
Please either add a migration/compatibility path for existing NFS services that were created while NFSv3 was enabled by default, or document an explicit upgrade action required for users who need to preserve NFSv3.
@mnaser Thanks for pointing it out! We’ve decided to document it in the release notes. |
|
Teuthology run was successful. Failing Test cases are not related to this PR: |
|
This is an automated message by src/script/redmine-upkeep.py. I have resolved the following tracker ticket due to the merge of this PR: No backports are pending for the ticket. If this is incorrect, please update the tracker |
@rkachach @ShwetaBhosale1 - this change is causing failures in fs suite (fs:nfs). See https://pulpito.ceph.com/vshankar-2026-07-10_05:20:58-fs-wip-vshankar-testing-20260709.140056-distro-default-trial/352500/ The above teuthology run does not include orch:cephadm:nfs (which is a symlink to qa/suites/fs/nfs/) sub-suite for some reason. |
@vshankar The PR to fix the test case has already been merged: #70084. Does your run include the changes from this PR? |
Thanks for the link to the PR that fixes the issue. It's likely that this additional fix was not a part of the branch when I created it. Do we know why orch:cephadm:nfs test jobs didn't get scheduled in @rkachach run? |
@vshankar I'm afraid I can't answer this question as I don't know how Teuthology internals work.. |
This PR updates the default NFS protocol to v4. Support for NFS v3 is now disabled by default and will be enabled only when the enable_nfsv3 field is explicitly set in the spec.
And updated 'nfs cluster create' command to accept enable_nfsv3 :
nfs cluster create <cluster_id> [] [--ingress] [--virtual_ip ] [--ingress_mode {default|keepalive-only|haproxy-standard|haproxy-protocol}] [--port ] [--enable-nfsv3]
Fixes: https://tracker.ceph.com/issues/74492
Signed-off-by: Shweta Bhosale [email protected]
Testing logs:
Export testing logs:
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 test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.