Repository navigation
reef: mgr/volumes: fix subvolume group rm error message - #54207
Merged
Merged
Conversation
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
approved these changes
Nov 21, 2023
rishabh-d-dave
left a comment
Contributor
There was a problem hiding this comment.
Testing was fine, CephFS approved - https://tracker.ceph.com/projects/cephfs/wiki/Reef#21-Nov-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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
backport tracker: https://tracker.ceph.com/issues/63264
backport of #53651
parent tracker: https://tracker.ceph.com/issues/62968
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