no equivalent for "cinder volume set --attach-status"
Bug #1745699 reported by
Erik Olof Gunnar Andersson
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
New
|
Undecided
|
David Rabel |
Bug Description
It's currently only possible to set the volume state using the openstackclient, but not change the attached status. This makes it impossible to remove a volumes that are stuck in an attached state.
As an example, if for some reason the VM is removed before the Volume is de-attached, it is impossible to remove the volume using the opentstackclient.
> openstack volume delete <uuid>
> Invalid volume: Volume status must be available or error or error_restoring or error_extending and must not be migrating, attached, belong to a consistency group or have snapshots.
The cinder client allows you to fix this using the attach-status flag.
> cinder reset-state --attach-status detached <uuid>
Changed in python-openstackclient: | |
assignee: | nobody → David Rabel (rabel-b1) |
To post a comment you must log in.
This issue was fixed in the openstack/ python- openstackclient 3.18.0 release.