Skip to content

reef: mgr/volumes: fix subvolume group rm error message - #54207

Merged
yuriw merged 2 commits into
ceph:reeffrom
neesingh-rh:wip-63264-reef
Dec 4, 2023
Merged

yuriw merged 2 commits into
ceph:reeffrom
neesingh-rh:wip-63264-reef

Conversation

@neesingh-rh

Copy link
Copy Markdown
Contributor

neeraj pratap singh added 2 commits October 26, 2023 14:22
Currently, if we try to delete subvolumegroup using `fs subvolumegroup rm`
when there's one or more subvolume(s) present under that subvolumegroup we
see the error something like :
`Error ENOTEMPTY: error in rmdir /volumes/group1`
which causes confusion. Make it more descriptive

Fixes: https://tracker.ceph.com/issues/62968
Signed-off-by: Neeraj Pratap Singh <[email protected]>
(cherry picked from commit fca554c)
Fixes:  https://tracker.ceph.com/issues/62968
Signed-off-by: neeraj pratap singh <neerajpratapsingh@li-ff7f0d4c-3462-11b2-a85c-d4004c0fa1a0.ibm.com>
(cherry picked from commit 1245e5c)

@rishabh-d-dave rishabh-d-dave left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yuriw
yuriw merged commit afc42e0 into ceph:reef Dec 4, 2023
rishabh-d-dave added a commit to rishabh-d-dave/ceph that referenced this pull request Mar 22, 2024
_generate_random_group_name() and _generate_random_subvolume_name() were
deleted in one of the commit from this series of commits. And PR ceph#54207
adds calls to these helper methods. This wasn't the case for the main
branch version of this series of commits. This is why this issue is
being fixed in Reef branch directly through a fresh/new commit instead
of backporting a commit.

Signed-off-by: Rishabh Dave <[email protected]>
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.

4 participants