libvirtError: block copy still active: disk 'vdb' not ready for pivot yet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Lee Yarwood | ||
Newton |
Fix Committed
|
Medium
|
Lee Yarwood |
Bug Description
This is an additional corner case for swap_volume not covered by bug#1630600.
The following failure is taken from the devstack change enabling the new swap_volume tempest test :
tempest: configure compute-
https:/
2016-11-18 16:11:39.759 4511 ERROR root [req-f40054e1-
As discussed in bug#1630600 and at length in RHBZ#1382165 the issue here is that QEMU reports the progress of the block job as complete (status.cur == status.end) _before_ updating the ready field of the block job. This causes the following attempt to pivot to fail.
Nova should attempt to use the ready field of the block job when available (libvirt >1.2.18) to ensure that we are able to pivot.
Changed in nova: | |
assignee: | Lee Yarwood (lyarwood) → Matthew Booth (mbooth-9) |
Changed in nova: | |
importance: | Undecided → Medium |
assignee: | Matthew Booth (mbooth-9) → Lee Yarwood (lyarwood) |
Fix proposed to branch: master /review. openstack. org/399735
Review: https:/