Repository navigation
squid: mgr/vol: don't delete user-created pool in "volume create" command - #63068
Conversation
Fixes: https://tracker.ceph.com/issues/69878 Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit e794a19)
Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit 058769c)
Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit 3ae1930)
Command "ceph fs volume create" accepts 2 new options to allow users to pass data and metadata pool name. Update docs to include mention of both the options. Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit 3044bf7)
in args. Add a release note that "ceph fs volume create" command allows users to pass pool names to "ceph fs volume create" command. Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit a74dbbe)
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 <[email protected]> (cherry picked from commit 4299f66)
"volume create" command. Signed-off-by: Rishabh Dave <[email protected]> (cherry picked from commit ad1716f)
|
Depends on #62461 |
|
This PR is under test in https://tracker.ceph.com/issues/72654. |
|
This PR is under test in https://tracker.ceph.com/issues/74996. |
There was a problem hiding this comment.
Automated Backport Parity Review - Multiple PRs Detected
This backport appears to pull commits from multiple main PRs including: PR #61732, PR #62843.
This must be made explicit in the backport PR description. Furthermore, each backport tracker ticket associated with these main PRs must be linked to this PR.
Automated Backport Parity Review - Backport Deviation Alert
A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff below to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
Affected File(s)
qa/tasks/cephfs/test_volumes.py
Range Diff
Click to expand
--- Original (3ae19303)
+++ Backport (29f6cbe2)
@@ -1,3 +1,4 @@
qa/cephfs: test passing pool names to "fs volume create" cmd
Signed-off-by: Rishabh Dave <[email protected]>
+(cherry picked from commit 3ae193035c8cca41a699d796e012ea5b23517767)
================================================================================
RANGE DIFF
================================================================================
1: 3ae193035c8 ! 1: 29f6cbe20ff qa/cephfs: test passing pool names to "fs volume create" cmd
@@ Commit message
qa/cephfs: test passing pool names to "fs volume create" cmd
Signed-off-by: Rishabh Dave <[email protected]>
+ (cherry picked from commit 3ae193035c8cca41a699d796e012ea5b23517767)
## qa/tasks/cephfs/test_volumes.py ##
+@@ qa/tasks/cephfs/test_volumes.py: from io import StringIO
+
+ from tasks.cephfs.cephfs_test_case import CephFSTestCase
+ from tasks.cephfs.fuse_mount import FuseMount
++from teuthology.contextutil import safe_while
+ from teuthology.exceptions import CommandFailedError
+
+ log = logging.getLogger(__name__)
@@ qa/tasks/cephfs/test_volumes.py: class TestVolumeCreate(TestVolumesHelper):
# clean up
self._fs_cmd("volume", "rm", volname, "--yes-i-really-mean-it")Automated Backport Parity Review - Backport Deviation Alert
A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff below to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
Affected File(s)
PendingReleaseNotes
Range Diff
Click to expand
--- Original (a74dbbe8)
+++ Backport (84f1a18d)
@@ -6,3 +6,4 @@
pass pool names to "ceph fs volume create" command.
Signed-off-by: Rishabh Dave <[email protected]>
+(cherry picked from commit a74dbbe8ee19d7b572c1a63984f6db8db203cd3b)
================================================================================
RANGE DIFF
================================================================================
1: a74dbbe8ee1 < -: ----------- PendingReleaseNote: add note that "volume create" accepts pool names...
-: ----------- > 1: 84f1a18d877 PendingReleaseNote: add note that "volume create" accepts pool names...Automated Redmine Linkage Audit
The following tracking irregularities were found:
- Malformed Backport Tracker: Backport tracker #70606 has the PR link in the description rather than the 'Pull Request ID' field. Please fix this.
- Missing PR Link: Backport tracker #70606 has no 'Pull Request ID' field set. Please link it to PR #63068.
Commit Parity Visualizer
| BACKPORT PR #63068 | SOURCE PR | SOURCE STATUS |
|---|---|---|
| 3c952a6 mgr/vol: allow passing pool names to "fs volume create" cmd | PR #61732 | e794a19 mgr/vol: allow passing pool names to "fs volume create" cmd |
| da89594 qa/cephfs: separate the tests for "ceph fs volume create" cmd | 058769c qa/cephfs: separate the tests for "ceph fs volume create" cmd | |
| 29f6cbe qa/cephfs: test passing pool names to "fs volume create" cmd | 3ae1930 qa/cephfs: test passing pool names to "fs volume create" cmd | |
| 2902e9b doc/cephfs: mention new options for "fs volume create" cmd | 3044bf7 doc/cephfs: mention new options for "fs volume create" cmd | |
| 84f1a18 PendingReleaseNote: add note that "volume create" accepts pool names... | a74dbbe PendingReleaseNote: add note that "volume create" accepts pool names... | |
| 99ea144 mgr/vol: don't delete user-created pool in "volume create" command | PR #62843 | 4299f66 mgr/vol: don't delete user-created pool in "volume create" command |
| fa9d585 qa/cephfs: test that user created pool is not deleted by... | ad1716f qa/cephfs: test that user created pool is not deleted by... |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
CI Run Log: View Workflow Details
There was a problem hiding this comment.
Automated Backport Parity Review - Multiple PRs Detected
This backport appears to pull commits from multiple main PRs including: PR #61732, PR #62843.
This must be made explicit in the backport PR description. Furthermore, each backport tracker ticket associated with these main PRs must be linked to this PR.
Automated Backport Parity Review - Backport Deviation Alert
A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
Deviation in Backport 29f6cbe (cherry-pick of 3ae1930)
Affected File(s)
qa/tasks/cephfs/test_volumes.py
Range Diff
Click to expand
--- Original (3ae19303)
+++ Backport (29f6cbe2)
@@ -1,3 +1,4 @@
qa/cephfs: test passing pool names to "fs volume create" cmd
Signed-off-by: Rishabh Dave <[email protected]>
+(cherry picked from commit 3ae193035c8cca41a699d796e012ea5b23517767)
================================================================================
RANGE DIFF
================================================================================
1: 3ae193035c8 ! 1: 29f6cbe20ff qa/cephfs: test passing pool names to "fs volume create" cmd
@@ Commit message
qa/cephfs: test passing pool names to "fs volume create" cmd
Signed-off-by: Rishabh Dave <[email protected]>
+ (cherry picked from commit 3ae193035c8cca41a699d796e012ea5b23517767)
## qa/tasks/cephfs/test_volumes.py ##
+@@ qa/tasks/cephfs/test_volumes.py: from io import StringIO
+
+ from tasks.cephfs.cephfs_test_case import CephFSTestCase
+ from tasks.cephfs.fuse_mount import FuseMount
++from teuthology.contextutil import safe_while
+ from teuthology.exceptions import CommandFailedError
+
+ log = logging.getLogger(__name__)
@@ qa/tasks/cephfs/test_volumes.py: class TestVolumeCreate(TestVolumesHelper):
# clean up
self._fs_cmd("volume", "rm", volname, "--yes-i-really-mean-it")Deviation in Backport 84f1a18 (cherry-pick of a74dbbe)
Affected File(s)
PendingReleaseNotes
Range Diff
Click to expand
--- Original (a74dbbe8)
+++ Backport (84f1a18d)
@@ -6,3 +6,4 @@
pass pool names to "ceph fs volume create" command.
Signed-off-by: Rishabh Dave <[email protected]>
+(cherry picked from commit a74dbbe8ee19d7b572c1a63984f6db8db203cd3b)
================================================================================
RANGE DIFF
================================================================================
1: a74dbbe8ee1 < -: ----------- PendingReleaseNote: add note that "volume create" accepts pool names...
-: ----------- > 1: 84f1a18d877 PendingReleaseNote: add note that "volume create" accepts pool names...How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
Automated Redmine Linkage Audit
The following tracking irregularities were found:
Commit Parity Visualizer
| BACKPORT PR #63068 | SOURCE PR | SOURCE STATUS |
|---|---|---|
| 3c952a6 mgr/vol: allow passing pool names to "fs volume create" cmd | PR #61732 | e794a19 mgr/vol: allow passing pool names to "fs volume create" cmd |
| da89594 qa/cephfs: separate the tests for "ceph fs volume create" cmd | 058769c qa/cephfs: separate the tests for "ceph fs volume create" cmd | |
| 29f6cbe qa/cephfs: test passing pool names to "fs volume create" cmd | 3ae1930 qa/cephfs: test passing pool names to "fs volume create" cmd | |
| 2902e9b doc/cephfs: mention new options for "fs volume create" cmd | 3044bf7 doc/cephfs: mention new options for "fs volume create" cmd | |
| 84f1a18 PendingReleaseNote: add note that "volume create" accepts pool names... | a74dbbe PendingReleaseNote: add note that "volume create" accepts pool names... | |
| 99ea144 mgr/vol: don't delete user-created pool in "volume create" command | PR #62843 | 4299f66 mgr/vol: don't delete user-created pool in "volume create" command |
| fa9d585 qa/cephfs: test that user created pool is not deleted by... | ad1716f qa/cephfs: test that user created pool is not deleted by... |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
CI Run Log: View Workflow Details
There was a problem hiding this comment.
Automated Backport Parity Review - Multiple PRs Detected
This backport appears to pull commits from multiple main PRs including: PR #61732, PR #62843.
This must be made explicit in the backport PR description. Furthermore, each backport tracker ticket associated with these main PRs must be linked to this PR.
Automated Backport Parity Review - Backport Deviation Alert
A conflict or unapproved deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
Deviation in Backport 29f6cbe (cherry-pick of 3ae1930)
Affected File(s)
qa/tasks/cephfs/test_volumes.py
Range Diff
Click to expand
--- Original (3ae19303)
+++ Backport (29f6cbe2)
@@ -1,3 +1,4 @@
qa/cephfs: test passing pool names to "fs volume create" cmd
Signed-off-by: Rishabh Dave <[email protected]>
+(cherry picked from commit 3ae193035c8cca41a699d796e012ea5b23517767)
================================================================================
RANGE DIFF
================================================================================
1: 3ae193035c8 ! 1: 29f6cbe20ff qa/cephfs: test passing pool names to "fs volume create" cmd
@@ Commit message
qa/cephfs: test passing pool names to "fs volume create" cmd
Signed-off-by: Rishabh Dave <[email protected]>
+ (cherry picked from commit 3ae193035c8cca41a699d796e012ea5b23517767)
## qa/tasks/cephfs/test_volumes.py ##
+@@ qa/tasks/cephfs/test_volumes.py: from io import StringIO
+
+ from tasks.cephfs.cephfs_test_case import CephFSTestCase
+ from tasks.cephfs.fuse_mount import FuseMount
++from teuthology.contextutil import safe_while
+ from teuthology.exceptions import CommandFailedError
+
+ log = logging.getLogger(__name__)
@@ qa/tasks/cephfs/test_volumes.py: class TestVolumeCreate(TestVolumesHelper):
# clean up
self._fs_cmd("volume", "rm", volname, "--yes-i-really-mean-it")Deviation in Backport 84f1a18 (cherry-pick of a74dbbe)
Affected File(s)
PendingReleaseNotes
Range Diff
Click to expand
--- Original (a74dbbe8)
+++ Backport (84f1a18d)
@@ -6,3 +6,4 @@
pass pool names to "ceph fs volume create" command.
Signed-off-by: Rishabh Dave <[email protected]>
+(cherry picked from commit a74dbbe8ee19d7b572c1a63984f6db8db203cd3b)
================================================================================
RANGE DIFF
================================================================================
1: a74dbbe8ee1 < -: ----------- PendingReleaseNote: add note that "volume create" accepts pool names...
-: ----------- > 1: 84f1a18d877 PendingReleaseNote: add note that "volume create" accepts pool names...How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
Commit Parity Visualizer
| BACKPORT PR #63068 | SOURCE PR | SOURCE STATUS |
|---|---|---|
| 3c952a6 mgr/vol: allow passing pool names to "fs volume create" cmd | PR #61732 | e794a19 mgr/vol: allow passing pool names to "fs volume create" cmd |
| da89594 qa/cephfs: separate the tests for "ceph fs volume create" cmd | 058769c qa/cephfs: separate the tests for "ceph fs volume create" cmd | |
| 29f6cbe qa/cephfs: test passing pool names to "fs volume create" cmd | 3ae1930 qa/cephfs: test passing pool names to "fs volume create" cmd | |
| 2902e9b doc/cephfs: mention new options for "fs volume create" cmd | 3044bf7 doc/cephfs: mention new options for "fs volume create" cmd | |
| 84f1a18 PendingReleaseNote: add note that "volume create" accepts pool names... | a74dbbe PendingReleaseNote: add note that "volume create" accepts pool names... | |
| 99ea144 mgr/vol: don't delete user-created pool in "volume create" command | PR #62843 | 4299f66 mgr/vol: don't delete user-created pool in "volume create" command |
| fa9d585 qa/cephfs: test that user created pool is not deleted by... | ad1716f qa/cephfs: test that user created pool is not deleted by... |
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
CI Run Log: View Workflow Details
backport tracker: https://tracker.ceph.com/issues/71150
backport of #62843
parent tracker: https://tracker.ceph.com/issues/70945
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh