volume is not detached properly when instance is at paused state

Bug #1330800 reported by QiangGuan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
QiangGuan

Bug Description

After I do volume operations as the following order:
1) start an instance
2) attach a volume to the instance
3) pause the instance
4) detach volume
5) unpause the instance, the volume is not detached correctly with libvirt.

When instance in paused state, it's actually active, so in libvirt driver the VIR_DOMAIN_AFFECT_LIVE flag should be added as the device detach flag.

Revision history for this message
Thang Pham (thang-pham) wrote :

Marking this as duplicate. There is a patch for the bug #1242366, which is awaiting review. Thanks!

Revision history for this message
QiangGuan (hzguanqiang) wrote :

Another similar bug is to attach a volume when instance is in paused state.

QiangGuan (hzguanqiang)
Changed in nova:
assignee: nobody → QiangGuan (hzguanqiang)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/100411

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by QiangGuan (<email address hidden>) on branch: master
Review: https://review.openstack.org/100411
Reason: Similar patches are already uploaded

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.