Repository navigation
mgr/nfs: warn when deprecated export/cluster delete commands are run - #69169
Conversation
change the hander from EmptyResponder() to ErrorResponseHandler() to emit the warning making use of the command's status channel. Fixes: https://tracker.ceph.com/issues/61482 Signed-off-by: Dhairya Parmar <[email protected]>
|
Change looks fine. This needs doc and PRN update. |
that has already been done in https://github.com/ceph/ceph/blob/main/doc/releases/pacific.rst?plain=1#L2163-L2165 long back and the docs already have removed the mention of these commands, compared octopus vs latest. I'm not sure if we would add this to PRN then |
Then it just needs a PRN note that the interfaces will now throw a warning. |
| @@ -336,6 +336,8 @@ | |||
| to upgrade all OSDs in the cluster. For more details see tracker: | |||
| https://tracker.ceph.com/issues/73031. | |||
|
|
|||
| * NFS: Added a deprecation warning when cluster/export delete commands are ran. | |||
There was a problem hiding this comment.
im not sure on what's the policy to add the note here since i see there there are sections based on ceph versions and there are notes above the versions too. @vshankar please enlighten.
There was a problem hiding this comment.
There are sections for previous versions and latest (unversioned, I believe), and there is grouping based on components. mgr/nfs related changes are included in CephFS section.
There was a problem hiding this comment.
im not sure about CephFS Section, i can see there are several CephFS: <> notes spread across the PRN
There was a problem hiding this comment.
If there is not CephFS section in latest, then add one :)
There was a problem hiding this comment.
i think the sections are per release not based on components. i've added it to the top. PTAL
There was a problem hiding this comment.
That's what I meant in #69169 (comment). You have (e.g.) >=20.x.[y] and then a component marker
* NFS:
* CephFS:
There was a problem hiding this comment.
in that case its in correct place
| @@ -336,6 +336,8 @@ | |||
| to upgrade all OSDs in the cluster. For more details see tracker: | |||
| https://tracker.ceph.com/issues/73031. | |||
|
|
|||
| * NFS: Added a deprecation warning when cluster/export delete commands are ran. | |||
There was a problem hiding this comment.
reword as: "cluster/export delete commands now throw a deprecated warning when used"
|
should I create a tracker that speaks of the release in which the commands would be removed? I'm thinking let's remove it in V since this has been lingering around since pacific and i guess that is sufficient enough time, WDYT? @vshankar |
Generally, we remove interfaces after deprecating them for 2 releases - not official, but what used to be followed :) Let's remove it for V release. Add that in PRN too :) |
|
|
jenkins test make check arm64 |
|
good to merge @vshankar |
Yeh, mostly. I will run it through tests to see if anything fails. I don't expect failures though, but still. |
|
@vshankar please include this in your run |
|
This PR has been added to main integration testing by vshankar started 2026-06-23-12:41. |
|
Will retest with https://shaman.ceph.com/builds/ceph/wip-vshankar-testing-20260716.071821/ (current main and this change for fs:nfs). |
|
Test failure is unrelated. All tests have run to completion successfully. |
|
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 |
change the hander from EmptyResponder() to ErrorResponseHandler() to emit the warning making use of the command's status channel.
Fixes: https://tracker.ceph.com/issues/61482
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.