unable to create snapshot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bionic |
Won't Fix
|
Low
|
Unassigned | ||
Focal |
Won't Fix
|
Low
|
Unassigned | ||
Groovy |
Won't Fix
|
Low
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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>
<uuid>
<description>
<memory unit='KiB'
<currentMemory unit='KiB'
<vcpu placement=
<os>
<type arch='x86_64' machine=
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode='host-
</cpu>
<clock offset='utc'/>
<on_poweroff>
<on_reboot>
<on_crash>
<devices>
<emulator>
<disk type='volume' device='disk'>
<driver name='qemu' type='qcow2' cache='none'/>
<source pool='disks-local' volume=
<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=
</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='
<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=
<source network=
<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://
100 /var/lib/
1.
500 http://
1.
500 http://
3] i expected a snapshot to be created
4] the above errors
Changed in libvirt (Ubuntu): | |
importance: | Undecided → High |
Changed in libvirt (Ubuntu): | |
status: | Confirmed → Incomplete |
Hm, I can't reproduce this:
virsh !!
virsh snapshot-create-as debianwheezy 'test_snapshot' 'test snapshot' --atomic
Domain snapshot test_snapshot created