Comment 2 for bug 1004606

Revision history for this message
markpitchless (markpitchless) wrote : Re: virsh create-snapshot fails to create external snapshot

I'm having the same issue on precise 12.04 (upgraded from lucid):

 # virsh snapshot-create-as lucid-server backup --disk-only
 error: internal error unable to execute QEMU command 'blockdev-snapshot-sync': An undefined error has ocurred

libvirt log shows the same:

 2012-06-07 14:54:46.723+0000: 3435: error : qemuMonitorJSONCheckError:318 : internal error unable to execute QEMU command 'blockdev-snapshot-sync': An undefined error has ocurred

Running Precise: 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:52:17 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
# virsh --version
0.9.8

Same as Uri the virt machine has a qcow2 disk that I can snapshot ok manually using qemu-img.

    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none'/>
      <source file='/var/lib/libvirt/images/machines/lucid-server.qcow2'/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>