Volume is not unreserved when shelved_offloaded volume attach fails
Bug #1629952 reported by
Matt Riedemann
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Matt Riedemann |
Bug Description
This code attaches a volume to a shelved offloaded instance:
But it doesn't unreserve the volume if that fails in the exception block. This could happen if the os-attach call to cinder failed. And if that happens, then the volume is stuck in 'attaching' state and the admin has to reset the state on it to make it available again.
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → nobody |
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
status: | Triaged → In Progress |
To post a comment you must log in.
This code might actually be part of an incomplete blueprint, and if that's the case and no one is working on finishing that blueprint (since Andrea Rosa is no longer working on openstack and I think he added the change), then we should maybe just remove this code.