[Bug 1417288] [NEW] unable to create snapshot
ben thielsen
btb at bitrate.net
Mon Feb 2 21:49:16 UTC 2015
Public bug reported:
the following occurs when attempting to create a snapshot:
virsh # snapshot-create-as template-generic 'test_snapshot' 'test snapshot' --disk-only --atomic
error: unsupported configuration: cannot generate external snapshot name for disk 'vda' without source
virsh # snapshot-create-as template-generic 'test_snapshot' 'test snapshot' --atomic
error: internal error: Child process (/usr/bin/qemu-img snapshot -c test_snapshot) unexpected exit status 1: qemu-img: Expecting one image file name
Try 'qemu-img --help' for more information
the guest is not running:
virsh # list --all
Id Name State
----------------------------------------------------
- template-generic shut off
here is the guest xml:
virsh # dumpxml template-generic
<domain type='kvm'>
<name>template-generic</name>
<uuid>c2fcf78b-5919-45f6-af1f-cc540fa5f218</uuid>
<description>generic template</description>
<memory unit='KiB'>1048576</memory>
<currentMemory unit='KiB'>1048576</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-2.1'>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-passthrough'>
</cpu>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='volume' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source pool='disks-local' volume='template-generic.qcow2'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
</disk>
<controller type='usb' index='0' model='ich9-ehci1'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x7'/>
</controller>
<controller type='usb' index='0' model='ich9-uhci1'>
<master startport='0'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0' multifunction='on'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='dmi-to-pci-bridge'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
</controller>
<controller type='pci' index='2' model='pci-bridge'>
<address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
</controller>
<interface type='network'>
<mac address='52:54:00:5c:51:ce'/>
<source network='virtual-bridge' portgroup='it_net_admins'/>
<model type='virtio'/>
<driver name='vhost' txmode='iothread'/>
<address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
</interface>
<input type='keyboard' bus='usb'/>
<input type='tablet' bus='usb'/>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
</graphics>
<video>
<model type='qxl' ram='65536' vram='65536' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</video>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
</memballoon>
</devices>
</domain>
1] >lsb_release -rd
Description: Ubuntu 14.10
Release: 14.10
2] >apt-cache policy libvirt-bin
libvirt-bin:
Installed: 1.2.8-0ubuntu11.2
Candidate: 1.2.8-0ubuntu11.2
Version table:
*** 1.2.8-0ubuntu11.2 0
500 http://us.archive.ubuntu.com/ubuntu/ utopic-updates/main amd64 Packages
100 /var/lib/dpkg/status
1.2.8-0ubuntu11.1 0
500 http://security.ubuntu.com/ubuntu/ utopic-security/main amd64 Packages
1.2.8-0ubuntu11 0
500 http://us.archive.ubuntu.com/ubuntu/ utopic/main amd64 Packages
3] i expected a snapshot to be created
4] the above errors
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1417288
Title:
unable to create snapshot
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1417288/+subscriptions
More information about the Ubuntu-server-bugs
mailing list