Activity log for bug #1729858

Date Who What changed Old value New value Message
2017-11-03 14:01:58 Juerg Haefliger bug added bug
2017-11-03 14:04:29 Juerg Haefliger attachment added 0001-storage-Don-t-pass-iso-format-to-qemu-img.patch https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1729858/+attachment/5003020/+files/0001-storage-Don-t-pass-iso-format-to-qemu-img.patch
2017-11-03 16:28:19 Ubuntu Foundations Team Bug Bot tags patch
2017-11-03 16:28:28 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Review Team
2017-11-06 15:22:56 Christian Ehrhardt  nominated for series Ubuntu Zesty
2017-11-06 15:22:56 Christian Ehrhardt  bug task added libvirt (Ubuntu Zesty)
2017-11-06 15:22:56 Christian Ehrhardt  nominated for series Ubuntu Xenial
2017-11-06 15:22:56 Christian Ehrhardt  bug task added libvirt (Ubuntu Xenial)
2017-11-06 15:23:14 Christian Ehrhardt  libvirt (Ubuntu Xenial): status New Triaged
2017-11-06 15:23:15 Christian Ehrhardt  libvirt (Ubuntu Zesty): status New Triaged
2017-11-06 15:23:18 Christian Ehrhardt  libvirt (Ubuntu): status New Fix Released
2017-11-06 15:52:51 Christian Ehrhardt  description Cloning a uvt VM fails with error: Unknown driver 'iso' To reproduce: uvt-simplestreams-libvirt sync release=xenial arch=amd64 uvt-kvm create test-vm release=xenial arch=amd64 virsh destroy test-vm virt-clone -o test-vm -n cloned-vm --auto-clone Which results in: WARNING The requested volume capacity will exceed the available pool space when the volume is fully allocated. (8192 M requested capacity > 3898 M available) Allocating 'cloned-vm.qcow' | 8.0 GB 00:00:01 ERROR Couldn't create storage volume 'test-vm-ds-clone.qcow': 'internal error: Child process (/usr/bin/qemu-img convert -f iso -O iso /var/lib/uvtool/libvirt/images/test-vm-ds.qcow /var/lib/uvtool/libvirt/images/test-vm-ds-clone.qcow) unexpected exit status 1: qemu-img: Could not open '/var/lib/uvtool/libvirt/images/test-vm-ds.qcow': Unknown driver 'iso' ' [Impact] * unable to use util storage users (like virt-clone) to process iso files through qemu-img * an example is "virt-clone -o test-vm -n cloned-vm --auto-clone" * Fix by backporting upstream fix [Test Case] * UVT Based test $ uvt-simplestreams-libvirt sync release=xenial arch=amd64 $ uvt-kvm create test-vm release=xenial arch=amd64 $ virsh destroy test-vm $ virt-clone -o test-vm -n cloned-vm --auto-clone [Regression Potential] * This fix is upstream a while now, so it should be fairly safe. In general any user of virStorageBackendCreateQemuImgCmdFromVol could be affected (that is the function we change the behavior). It's purpose is to convert a volume to a qemu-img call (to clone it). Without the fix some image types fail. - users cloning type iso today fail, this is fixed by the change - the change does not effect other types than "iso" - there is only one user of this function (in the same file, so not too much alternative ways to invoke we have to consider). [Other Info] * n/a ---- Cloning a uvt VM fails with error: Unknown driver 'iso' To reproduce: uvt-simplestreams-libvirt sync release=xenial arch=amd64 uvt-kvm create test-vm release=xenial arch=amd64 virsh destroy test-vm virt-clone -o test-vm -n cloned-vm --auto-clone Which results in: WARNING The requested volume capacity will exceed the available pool space when the volume is fully allocated. (8192 M requested capacity > 3898 M available) Allocating 'cloned-vm.qcow' | 8.0 GB 00:00:01 ERROR Couldn't create storage volume 'test-vm-ds-clone.qcow': 'internal error: Child process (/usr/bin/qemu-img convert -f iso -O iso /var/lib/uvtool/libvirt/images/test-vm-ds.qcow /var/lib/uvtool/libvirt/images/test-vm-ds-clone.qcow) unexpected exit status 1: qemu-img: Could not open '/var/lib/uvtool/libvirt/images/test-vm-ds.qcow': Unknown driver 'iso' '
2017-11-07 12:54:50 Christian Ehrhardt  libvirt (Ubuntu Xenial): status Triaged In Progress
2017-11-07 12:54:52 Christian Ehrhardt  libvirt (Ubuntu Zesty): status Triaged In Progress
2017-11-08 13:24:02 Chris J Arges libvirt (Ubuntu Xenial): status In Progress Fix Committed
2017-11-08 13:24:04 Chris J Arges bug added subscriber Ubuntu Stable Release Updates Team
2017-11-08 13:24:07 Chris J Arges bug added subscriber SRU Verification
2017-11-08 13:24:11 Chris J Arges tags patch patch verification-needed verification-needed-xenial
2017-11-08 13:25:24 Chris J Arges libvirt (Ubuntu Zesty): status In Progress Fix Committed
2017-11-08 13:25:29 Chris J Arges tags patch verification-needed verification-needed-xenial patch verification-needed verification-needed-xenial verification-needed-zesty
2017-11-08 14:56:21 Christian Ehrhardt  tags patch verification-needed verification-needed-xenial verification-needed-zesty patch verification-done-xenial verification-needed verification-needed-zesty
2017-11-08 14:57:58 Christian Ehrhardt  tags patch verification-done-xenial verification-needed verification-needed-zesty patch verification-done verification-done-xenial verification-done-zesty
2017-11-22 00:04:19 Launchpad Janitor libvirt (Ubuntu Xenial): status Fix Committed Fix Released
2017-11-22 00:04:25 Chris Halse Rogers removed subscriber Ubuntu Stable Release Updates Team
2017-11-22 00:04:48 Launchpad Janitor libvirt (Ubuntu Zesty): status Fix Committed Fix Released