Repository navigation
mgr/volumes: fix subvolume group rm error message - #53651
Merged
Merged
Conversation
dparmar18
reviewed
Sep 25, 2023
Contributor
|
it'd also be good to have a test case here to make sure it prints the expected err status |
joscollin
reviewed
Sep 26, 2023
joscollin
left a comment
Member
There was a problem hiding this comment.
I don't think the current error message is bad. Just append Subvolume group not empty would be fine.
neesingh-rh
force-pushed
the
wip-62968
branch
from
September 26, 2023 03:28
8c81668 to
9189117
Compare
dparmar18
reviewed
Sep 26, 2023
neesingh-rh
force-pushed
the
wip-62968
branch
from
September 26, 2023 11:44
9189117 to
1eb2b93
Compare
dparmar18
reviewed
Sep 26, 2023
Contributor
There was a problem hiding this comment.
switch this to self.fail("expected the 'fs subvolumegroup rm' command to fail")
neesingh-rh
force-pushed
the
wip-62968
branch
from
September 26, 2023 12:26
1eb2b93 to
7c0f767
Compare
Contributor
|
@neesingh-rh ping back when its ready for review. |
Contributor
Author
Its already up for review. |
kotreshhr
reviewed
Sep 28, 2023
neesingh-rh
force-pushed
the
wip-62968
branch
from
September 28, 2023 13:45
7c0f767 to
1eb4fe1
Compare
vshankar
reviewed
Oct 9, 2023
added 2 commits
October 11, 2023 13:10
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]>
Fixes: https://tracker.ceph.com/issues/62968 Signed-off-by: neeraj pratap singh <neerajpratapsingh@li-ff7f0d4c-3462-11b2-a85c-d4004c0fa1a0.ibm.com>
neesingh-rh
force-pushed
the
wip-62968
branch
from
October 11, 2023 07:41
1eb4fe1 to
1245e5c
Compare
kotreshhr
approved these changes
Oct 11, 2023
Contributor
|
jenkins test make check arm64 |
vshankar
approved these changes
Oct 20, 2023
This was referenced Oct 26, 2023
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.
Currently, if we try to delete subvolumegroup using
fs subvolumegroup rmwhen there's one or more subvolume(s)present under that subvolumegroup we see the error something like :
Error ENOTEMPTY: error in rmdir /volumes/group1which causes confusion. Make it more descriptive
Fixes: https://tracker.ceph.com/issues/62968
Signed-off-by: Neeraj Pratap Singh [email protected]
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. "pacific"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windows