Volume Type deletion should not be allowed if volumes present with that type
Bug #1215329 reported by
Swapnil Kulkarni
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Unassigned |
Bug Description
Currently the volume type deletion is allowed irrespective of volume present with the type or not. There should be a check for volumes present.
If the volumes are present for particular type it should throw an error restricting the type delete.
If there are no volumes present for the type, it should delete the type.
Changed in cinder: | |
assignee: | nobody → Swapnil Kulkarni (swapnil.kulkarni) |
Changed in cinder: | |
milestone: | havana-3 → havana-rc1 |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | havana-rc1 → 2013.2 |
To post a comment you must log in.
Swapnil, this seems like an appropriate answer, the only thing is we would need/want some way to disable said type so that further creates aren't issued. Perhaps quotas would be the correct way to go about this.
This may just just be a documenation task as far as disabling through quota managment, but regardless this is a change in behavior that we'll want to make sure we document. Be sure to add the doc-impact tag to the commit message please.
Thanks,
John