Activity log for bug #1039356

Date Who What changed Old value New value Message
2012-08-21 04:49:46 Akira Yoshiyama bug added bug
2012-08-21 04:51:15 Akira Yoshiyama description Summary ======= Block migration doesn't work on Nova folsom-3 with an error message below: Live Migration failure: Unable to allow access for disk path /var/lib/nova/instances/instance-0000000c/disk: No such file or directory Related commit ============== https://review.openstack.org/#/c/11395/ A Patch to fix this problem =========================== diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index 8d3a364..a2817b3 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -2554,7 +2554,8 @@ class LibvirtDriver(driver.ComputeDriver): # Remove any size tags which the cache manages cache_name = cache_name.split('_')[0] - image = self.image_backend.image(instance['name'], cache_name, + image = self.image_backend.image(instance['name'], + instance_disk, FLAGS.libvirt_images_type) image.cache(fn=libvirt_utils.fetch_image, context=ctxt, Summary ======= Block migration doesn't work on Nova folsom-3 with an error message below: Live Migration failure: Unable to allow access for disk path /var/lib/nova/instances/instance-0000000c/disk: No such file or directory Related commit ============== https://review.openstack.org/#/c/11395/ Patch to fix this problem ========================= diff --git a/nova/virt/libvirt/driver.py b/nova/virt/libvirt/driver.py index 8d3a364..a2817b3 100644 --- a/nova/virt/libvirt/driver.py +++ b/nova/virt/libvirt/driver.py @@ -2554,7 +2554,8 @@ class LibvirtDriver(driver.ComputeDriver):                  # Remove any size tags which the cache manages                  cache_name = cache_name.split('_')[0] - image = self.image_backend.image(instance['name'], cache_name, + image = self.image_backend.image(instance['name'], + instance_disk,                                                   FLAGS.libvirt_images_type)                  image.cache(fn=libvirt_utils.fetch_image,                              context=ctxt,
2012-08-22 16:17:41 Mark McLoughlin bug added subscriber Mark McLoughlin
2012-08-22 16:17:48 Mark McLoughlin bug added subscriber Michael Still
2012-08-22 16:17:59 Mark McLoughlin nova: status New Confirmed
2012-08-22 16:18:03 Mark McLoughlin nova: importance Undecided High
2012-08-22 16:18:05 Mark McLoughlin nova: milestone folsom-rc1
2012-08-23 10:02:46 Koji Iida bug added subscriber Koji Iida
2012-08-24 16:39:54 OpenStack Infra nova: status Confirmed In Progress
2012-08-24 16:39:54 OpenStack Infra nova: assignee Yaguang Tang (heut2008)
2012-08-24 21:49:35 OpenStack Infra nova: status In Progress Fix Committed
2012-09-19 06:33:49 Thierry Carrez nova: status Fix Committed Fix Released
2012-09-27 15:31:09 Thierry Carrez nova: milestone folsom-rc1 2012.2