[Bug 1718133] Re: Live block migration in Pike fails due to qemu-img

Launchpad Bug Tracker 1718133 at bugs.launchpad.net
Wed Sep 20 20:27:24 UTC 2017


This bug was fixed in the package nova - 2:16.0.0-0ubuntu2

---------------
nova (2:16.0.0-0ubuntu2) artful; urgency=medium

  * d/p/qemu-2.10-compat.patch: Compatibility patch to resolve issues
    with qemu-img info calls on running instances, which blocks live
    migration of instances among other things (LP: #1718133).

 -- James Page <james.page at ubuntu.com>  Wed, 20 Sep 2017 18:12:27 +0100

** Changed in: nova (Ubuntu Artful)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1718133

Title:
  Live block migration in Pike fails due to qemu-img

Status in Ubuntu Cloud Archive:
  In Progress
Status in Ubuntu Cloud Archive pike series:
  In Progress
Status in nova package in Ubuntu:
  Fix Released
Status in qemu package in Ubuntu:
  Invalid
Status in nova source package in Artful:
  Fix Released
Status in qemu source package in Artful:
  Invalid

Bug description:
  In Pike from Cloud Archive, Live Block Migrations fail:
  Error updating resources for node compute1.: InvalidDiskInfo: Disk info file is invalid: qemu-img failed to execute on /var/lib/nova/instances/ccca487b-d5db-4324-81fb-2665e60da038/disk : Unexpected error while running command.
  Command: /usr/bin/python -m oslo_concurrency.prlimit --as=1073741824 --cpu=30 -- env LC_ALL=C LANG=C qemu-img info /var/lib/nova/instances/ccca487b-d5db-4324-81fb-2665e60da038/disk
  Exit code: 1
  Stdout: u''
  Stderr: u'qemu-img: Could not open \'/var/lib/nova/instances/ccca487b-d5db-4324-81fb-2665e60da038/disk\': Failed to get shared "write" lock\nIs another process using the image?\n'
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager Traceback (most recent call last):
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 6629, in update_available_resource_for_node
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager     rt.update_available_resource(context, nodename)
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/resource_tracker.py", line 641, in update_available_resource
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager     resources = self.driver.get_available_resource(nodename)
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 5831, in get_available_resource
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager     disk_over_committed = self._get_disk_over_committed_size_total()
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 7330, in _get_disk_over_committed_size_total
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager     config, block_device_info)
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 7248, in _get_instance_disk_info_from_config
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager     backing_file = libvirt_utils.get_disk_backing_file(path)
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line 200, in get_disk_backing_file
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager     backing_file = images.qemu_img_info(path, format).backing_file
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/virt/images.py", line 72, in qemu_img_info
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager     raise exception.InvalidDiskInfo(reason=msg)
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager InvalidDiskInfo: Disk info file is invalid: qemu-img failed to execute on /var/lib/nova/instances/ccca487b-d5db-4324-81fb-2665e60da038/disk : Unexpected error while running command.
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager Command: /usr/bin/python -m oslo_concurrency.prlimit --as=1073741824 --cpu=30 -- env LC_ALL=C LANG=C qemu-img info /var/lib/nova/instances/ccca487b-d5db-4324-81fb-2665e60da038/disk
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager Exit code: 1
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager Stdout: u''
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager Stderr: u'qemu-img: Could not open \'/var/lib/nova/instances/ccca487b-d5db-4324-81fb-2665e60da038/disk\': Failed to get shared "write" lock\nIs another process using the image?\n'
  2017-09-18 19:55:55.408 11607 ERROR nova.compute.manager 
  2017-09-18 19:56:44.775 11607 INFO nova.compute.manager [req-b6b3e84d-88fd-4052-9e56-bc89a1739ca3 3d4ca720acb84ba19cbbc7d5042d1f56 914a8d5ddac24f1c9b74e646633bab1c - default default] [instance: ccca487b-d5db-4324-81fb-2665e60da038] Terminating instance

  Maybe it is not a nova, but qemu issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1718133/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list