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

Bug #1745699 reported by Erik Olof Gunnar Andersson on 2018-01-27
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) on 2019-02-22
Changed in python-openstackclient:
assignee: nobody → David Rabel (rabel-b1)

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  Edit
Everyone can see this information.

Other bug subscribers