Volume stuck in "in-use" status and can't be detached

Bug #764957 reported by Jo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned

Bug Description

When a volume is attached to an instance and the instance is rebooted or crashed the volume gets stuck in "in-use" status. And it can't be detached or re-attached.

It has problems reattaching it is because it is already logged in

so if you check compute log you will see a line like the following:

sudo iscsiadm -m node -T iqn.2010-10.org.openstack:vol-xxxx -p xx.xx.x.xx:xxxx --login
and it will say ProcessExecutionError already exists

The manual workaround is

sudo iscsiadm -m node -T iqn.2010-10.org.openstack:vol-xxxx -p xx.xx.x.xx:xxxx --logout (from the compute-host)

the login will work the next time

Revision history for this message
Thierry Carrez (ttx) wrote :

Looks like a duplicate of bug 747922 -- could you please test a recent version and confirm that the bug is gone ?

Changed in nova:
status: New → Incomplete
Revision history for this message
Jo (jsrat10) wrote :

Yes, this is verified and it works fine now.

Changed in nova:
status: Incomplete → Fix Released
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.