← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1729858] Re: virt-clone fails with: Unknown driver 'iso'

 

This bug was fixed in the package libvirt - 2.5.0-3ubuntu5.6

---------------
libvirt (2.5.0-3ubuntu5.6) zesty; urgency=medium

  * d/p/storage-Don-t-pass-iso-format-to-qemu-img.patch: fix issues in virt
    clone and other users of storage_utils functions by not passing
    iso to qemu-img (LP: #1729858).

 -- Christian Ehrhardt <christian.ehrhardt@xxxxxxxxxxxxx>  Mon, 06 Nov
2017 16:31:48 +0100

** Changed in: libvirt (Ubuntu Zesty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1729858

Title:
  virt-clone fails with: Unknown driver 'iso'

Status in libvirt package in Ubuntu:
  Fix Released
Status in libvirt source package in Xenial:
  Fix Released
Status in libvirt source package in Zesty:
  Fix Released

Bug description:
  [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'
  '

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1729858/+subscriptions