Nova can not detached a volume
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Dan Smith |
Bug Description
That a volume can not be detached when an instance is booted from a volume with an invalid name.
* Here is a sequence that the problem happens:
-------
Version: Essex, Folsom-2
(use nova.volume.
1. Create volume (volume name: vol001)
2. Lunch instance (Boot From Volume)
- name: test001
- Volume or Volume Snapshot: vol001
- Device Name: aaa <- select illegal device
3. Check: instance status
- Status: error
- Task: Spawning
- Power State: No State
4.
4-1. detach volume
- Horizon: Success message is displayed.
"Success: Detached Volume: Attachment aaa on [UUID]"
- nova-compute.log: Error (http://
4-2. terminate instance
- Horizon: Success message is displayed.
"Success: Terminated Instance: test"
- nova-compute.log: Error(http://
-------
Cause:
-------
o Detach volume
- iSCSI delete: Success
- DB update: Fail
- libvirt can not find domain
(# virsh list --all -> none)
o Terminate instance
- iSCSI delete: Fail
- it has been already iscsi logout.
- DB update: Fail
-------
If you terminated instance without detaching volume.
- instace terminate: Success
- detach volume: Success
-------
Changed in nova: | |
assignee: | nobody → Dan Smith (danms) |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Confirmed |
assignee: | Dan Smith (danms) → Eoghan Glynn (eglynn) |
Changed in nova: | |
milestone: | none → folsom-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-3 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/9547
Review: https:/