Comment 14 for bug 1449221

Revision history for this message
Mike Chen (chenn2) wrote :

I can still reproduce this bug following the steps in comment #2 (environment: queens, nova version 17.0.1).

The status of the volume gets stuck in "detaching".

When trying to do detach again (nova volume-detach vm_id volume_id):

ERROR (BadRequest): Invalid volume: Invalid input received: Invalid volume: Unable to detach volume. Volume status must be 'in-use' and attach_status must be 'attached' to detach. (HTTP 400)

When trying to do delete the volume (cinder delete volume_id):

Delete for volume volume_id failed: Invalid volume: Volume status must be available or error or error_restoring or error_extending or error_managing and must not be migrating, attached, belong to a group, have snapshots or be disassociated from snapshots after volume transfer. (HTTP 400)