can not delete an instance if the instance's rescue volume is not found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Alexis Lee |
Bug Description
can not delete an instance if the instance's rescue lvm can not be found.
how to reproduce:
1. configure images_type lvm for libvirt dirver.
[libvirt]
images_type = lvm <----
images_volume_group = stack-volumes-
2. rescue the instance, will generate uuid.rescue lvm
3. unrescue the instance, the rescue lvm can not be deleted due to bug https:/
4. delete the uuid.rescue lvm manually.
5. delete the instance(failed and set to error state)
below is the call trace of nova-compute driver.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
2014-12-22 13:18:29.691 TRACE oslo.messaging.
Changed in nova: | |
assignee: | nobody → Eli Qiao (taget-9) |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
assignee: | Eli Qiao (taget-9) → Alexis Lee (alexisl) |
Changed in nova: | |
milestone: | none → kilo-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | kilo-3 → 2015.1.0 |
beside , in this case the error instance can not be deleted any more.