Comment 11 for bug 1729858

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

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

root@xenial-test:~# virt-clone -o test-vm -n cloned-vm --auto-clone
Allocating 'cloned-vm.qcow' | 8.0 GB 00:00:03
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@xenial-test:~# vim /etc/apt/sources.list
root@xenial-test:~# apt update &> /dev/null
root@xenial-test:~# apt install libvirt-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libvirt0
Suggested packages:
  radvd
The following packages will be upgraded:
  libvirt-bin libvirt0
2 upgraded, 0 newly installed, 0 to remove and 40 not upgraded.
Need to get 3544 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 xenial-proposed/main amd64 libvirt-bin amd64 1.3.1-1ubuntu10.15 [2417 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-proposed/main amd64 libvirt0 amd64 1.3.1-1ubuntu10.15 [1127 kB]
Fetched 3544 kB in 1s (1914 kB/s)
(Reading database ... 44195 files and directories currently installed.)
Preparing to unpack .../libvirt-bin_1.3.1-1ubuntu10.15_amd64.deb ...
Unpacking libvirt-bin (1.3.1-1ubuntu10.15) over (1.3.1-1ubuntu10.14) ...
Preparing to unpack .../libvirt0_1.3.1-1ubuntu10.15_amd64.deb ...
Unpacking libvirt0:amd64 (1.3.1-1ubuntu10.15) over (1.3.1-1ubuntu10.14) ...
Processing triggers for systemd (229-4ubuntu21) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up libvirt0:amd64 (1.3.1-1ubuntu10.15) ...
Setting up libvirt-bin (1.3.1-1ubuntu10.15) ...
Setting up libvirt-bin dnsmasq configuration.
Processing triggers for libc-bin (2.23-0ubuntu9) ...
root@xenial-test:~# virt-clone -o test-vm -n cloned-vm --auto-clone
Allocating 'cloned-vm-1.qcow' | 8.0 GB 00:00:06
Allocating 'test-vm-ds-clone.qcow' | 366 kB 00:00:00

Clone 'cloned-vm' created successfully.