Skip to content

squid: mgr/vol: don't delete user-created pool in "volume create" command#63068

Open
rishabh-d-dave wants to merge 7 commits intoceph:squidfrom
rishabh-d-dave:wip-71150-squid
Open

squid: mgr/vol: don't delete user-created pool in "volume create" command#63068
rishabh-d-dave wants to merge 7 commits intoceph:squidfrom
rishabh-d-dave:wip-71150-squid

Conversation

@rishabh-d-dave
Copy link
Contributor

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

Fixes: https://tracker.ceph.com/issues/69878
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit e794a19)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 058769c)
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(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 <ridave@redhat.com>
(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 <ridave@redhat.com>
(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 <ridave@redhat.com>
(cherry picked from commit 4299f66)
"volume create" command.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit ad1716f)
@rishabh-d-dave rishabh-d-dave requested a review from a team as a code owner April 30, 2025 12:03
@rishabh-d-dave rishabh-d-dave added this to the squid milestone Apr 30, 2025
@rishabh-d-dave
Copy link
Contributor Author

Depends on #62461

@joscollin joscollin added the wip-jcollin-testing-squid2 Assigned for review label Aug 20, 2025
@joscollin
Copy link
Member

This PR is under test in https://tracker.ceph.com/issues/72654.

@joscollin
Copy link
Member

This PR is under test in https://tracker.ceph.com/issues/74996.

@batrick batrick modified the milestones: squid, v19.2.4 Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants