Create a button that force delete a volume in the horizon's admin tab
Description of problem:
Currently, a volume that's in the status of 'Error' cannot be deleted in the horizon & it takes several steps in the CLI. Administrators should have the ability to delete volumes regardless of their state.
This ability should be only in the admin tab, not from the project's tab.
My suggestion is that in the background the button will do the equivalent to these CLI commands:
# cinder reset-state --state available <volume-id>
# cinder delete volume
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Not
- Drafter:
- Yogev Rabl
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- David Lyle
Related branches
Sprints
Whiteboard
There are situations where an administrator needs to reset the state of a volume without deleting it. I separated this out into a separate blueprint, https:/
For quite some time (pre Juno), horizon has supported deleting volumes that are in Error state. Since Juno, the reset-volume-state functionality has been available in the UI, permitting an admin to change a volume to other states, for example, changing the status of a volume hung in 'Creating' to 'Error'. Given that, is there still any need for this bp?