no equivalent for "cinder volume set --attach-status"

Bug #1745699 reported by Erik Olof Gunnar Andersson
18
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>

David Rabel (rabel-b1)
Changed in python-openstackclient:
assignee: nobody → David Rabel (rabel-b1)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.18.0

This issue was fixed in the openstack/python-openstackclient 3.18.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.