mgr/vol: don't delete user-created pool in "volume create" command#62843
mgr/vol: don't delete user-created pool in "volume create" command#62843rishabh-d-dave merged 2 commits intoceph:mainfrom
Conversation
If one of the pool names passed to "ceph fs volume create" command (through --data-pool and --meta-pool name) is absent, don't delete the pool that is present and passed to this command during the cleanup code of this command. IOW, "volume create" command should continue deleting pool created by it but not delete pool created by the user. Fixes: https://tracker.ceph.com/issues/70945 Signed-off-by: Rishabh Dave <ridave@redhat.com>
7bf4583 to
ff67c8a
Compare
|
jenkins test make check |
|
jenkins test make check arm64 |
|
jenkins test api |
|
jenkins test make check |
|
jenkins test make check arm64 |
"volume create" command. Signed-off-by: Rishabh Dave <ridave@redhat.com>
ff67c8a to
ad1716f
Compare
|
removed f-string where it was redundant. |
|
jenkins test api |
|
jenkins test make check arm64 |
1 similar comment
|
jenkins test make check arm64 |
|
jenkins test make check |
3 similar comments
|
jenkins test make check |
|
jenkins test make check |
|
jenkins test make check |
|
@rishabh-d-dave I see you added your testing tag and removed it later. We need this fix on priority. Can you please do the needful or let me know and I can put it to test. |
@vshankar Although from the changes on this PR, I don't the think the "make check" failure is related but the failure is persistent. Can you take a quick look at it and let me know what you think? Also, is there a way to run the exact failing test locally? Here's the link to the "make check" failure - https://jenkins.ceph.com/job/ceph-pull-requests/156439/ |
|
jenkins test make check |
Something probably has gone really wrong. |
I was looking at this failure - |
|
This PR is under test in https://tracker.ceph.com/issues/71020. |
|
@rishabh-d-dave status of this? This needs to be included in the backports (downstream too). |
I am going through the QA run, if everything looks fine in it, it can be merged. |
rishabh-d-dave
left a comment
There was a problem hiding this comment.
There were not related failures, QA run was successful - https://tracker.ceph.com/projects/cephfs/wiki/QA_main_2025#wip-rishabh-testing-20250426123842-debug.
If one of the pool names passed to "ceph fs volume create" command
(through --data-pool and --meta-pool name) is absent, don't delete the
pool that is present and passed to this command during the cleanup code
of this command.
IOW, "volume create" command should continue deleting pool created by it
but not delete pool created by the user.
Fixes: https://tracker.ceph.com/issues/70945
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 Definition