root@zesty-test:~# virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     test-vm                        shut off

root@zesty-test:~# virt-clone -o test-vm -n cloned-vm --auto-clone
Allocating 'cloned-vm.qcow'                                                     
                                          | 8.0 GB  00:00:04     
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'
'
root@zesty-test:~# vim /etc/apt/sources.list
root@zesty-test:~# apt update &> /dev/null
root@zesty-test:~# apt install libvirt-bin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libvirt-clients libvirt-daemon libvirt-daemon-system libvirt0
Suggested packages:
  numad radvd auditd systemtap nfs-common zfsutils pm-utils
The following packages will be upgraded:
  libvirt-bin libvirt-clients libvirt-daemon libvirt-daemon-system libvirt0
5 upgraded, 0 newly installed, 0 to remove and 34 not upgraded.
Need to get 3949 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 
libvirt-daemon-system amd64 2.5.0-3ubuntu5.6 [142 kB]
Get:2 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 
libvirt-clients amd64 2.5.0-3ubuntu5.6 [579 kB]
Get:3 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 libvirt-daemon 
amd64 2.5.0-3ubuntu5.6 [2042 kB]
Get:4 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 libvirt0 amd64 
2.5.0-3ubuntu5.6 [1181 kB]
Get:5 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 libvirt-bin 
amd64 2.5.0-3ubuntu5.6 [4784 B]
Fetched 3949 kB in 1s (2669 kB/s)    
Preconfiguring packages ...
(Reading database ... 46378 files and directories currently installed.)
Preparing to unpack .../libvirt-daemon-system_2.5.0-3ubuntu5.6_amd64.deb ...
Unpacking libvirt-daemon-system (2.5.0-3ubuntu5.6) over (2.5.0-3ubuntu5.5) ...
Preparing to unpack .../libvirt-clients_2.5.0-3ubuntu5.6_amd64.deb ...
Unpacking libvirt-clients (2.5.0-3ubuntu5.6) over (2.5.0-3ubuntu5.5) ...
Preparing to unpack .../libvirt-daemon_2.5.0-3ubuntu5.6_amd64.deb ...
Unpacking libvirt-daemon (2.5.0-3ubuntu5.6) over (2.5.0-3ubuntu5.5) ...
Preparing to unpack .../libvirt0_2.5.0-3ubuntu5.6_amd64.deb ...
Unpacking libvirt0:amd64 (2.5.0-3ubuntu5.6) over (2.5.0-3ubuntu5.5) ...
Preparing to unpack .../libvirt-bin_2.5.0-3ubuntu5.6_amd64.deb ...
Unpacking libvirt-bin (2.5.0-3ubuntu5.6) over (2.5.0-3ubuntu5.5) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up libvirt0:amd64 (2.5.0-3ubuntu5.6) ...
Setting up libvirt-daemon (2.5.0-3ubuntu5.6) ...
Processing triggers for libc-bin (2.24-9ubuntu2.2) ...
Processing triggers for systemd (232-21ubuntu7.1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Setting up libvirt-clients (2.5.0-3ubuntu5.6) ...
Setting up libvirt-daemon-system (2.5.0-3ubuntu5.6) ...
Setting up libvirt-daemon dnsmasq configuration.
Setting up libvirt-bin (2.5.0-3ubuntu5.6) ...
root@zesty-test:~# virt-clone -o test-vm -n cloned-vm --auto-clone
Allocating 'cloned-vm-1.qcow'                                                   
                                          | 8.0 GB  00:00:03     
Allocating 'test-vm-ds-clone.qcow'                                              
                                          | 366 kB  00:00:00     

Clone 'cloned-vm' created successfully.

** Tags removed: verification-needed verification-needed-zesty
** Tags added: verification-done verification-done-zesty

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to