I hit the same problem.  Please see the VDSM log below.

---
Thread-567268::ERROR::2012-06-28 23:29:01,827::libvirtvm::1782::vm.Vm::(snapshot) vmId=`b28a5aec-e101-4442-a6ce-a018575974fb`::Unable to take snapshot
Traceback (most recent call last):
  File "/usr/share/vdsm/libvirtvm.py", line 1780, in snapshot
    libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT))
  File "/usr/share/vdsm/libvirtvm.py", line 491, in f
    ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 82, in wrapper
    ret = f(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1443, in snapshotCreateXML if ret is None:raise libvirtError('virDomainSnapshotCreateXML() failed', dom=self) libvirtError: unsupported configuration: reuse is not supported with this QEMU binary Thread-567268::DEBUG::2012-06-28 23:29:01,828::BindingXMLRPC::865::vds::(wrapper) return vmSnapshot with {'status': {'message': 'Snapshot failed', 'code': 48}} Thread-567269::DEBUG::2012-06-28 23:29:01,853::BindingXMLRPC::156::vds::(wrapper) [9.181.129.112] Thread-567269::DEBUG::2012-06-28 23:29:01,853::task::588::TaskManager.Task::(_updateState) Task=`0456fde6-3ad7-4962-80c8-8a5ae503bca7`::moving from state init -> state preparing Thread-567269::INFO::2012-06-28 23:29:01,853::logUtils::37::dispatcher::(wrapper) Run and protect: revertTask(taskID='3d4a3a1b-36ae-47b6-8f84-fad2f080b0c0', spUUID=None, options=None)

On 2012-6-28 18:34, Itamar Heim wrote:
On 06/28/2012 04:40 AM, Winfried de Heiden wrote:
Hi all,

It seems live snapshot is available in the Fedora 17 qemu-kvm. On my
laptop with kvm, virt-manager, libvirt, virsh etc. I created a virtual
machine and tried  to make a live snapshot:

virsh -c qemu:///system
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
        'quit' to quit

virsh # list
  Id    Name                           State
----------------------------------------------------
  1     RHEL55_NTP                     running

virsh # snapshot-create RHEL55_NTP
Domain snapshot 1340871802 created
virsh # snapshot-list RHEL55_NTP
  Name                 Creation Time             State
------------------------------------------------------------
  1340871724           2012-06-28 10:22:04 +0200 running
  1340871802           2012-06-28 10:23:22 +0200 running

Both my laptop and the Virtio vdsm machine are using the same package:

[root@kvm ~]# rpm -qf `which qemu-kvm`
qemu-system-x86-1.0-17.fc17.x86_64

[wdh@laptop-winfried ~]$ rpm -qf `which qemu-kvm`
qemu-system-x86-1.0-17.fc17.x86_64

dave - who can help us elaborate on this libvirt error:
reuse is not supported with
this QEMU binary

Thanks,
   Itamar






Op 28-06-12 03:29, Itamar Heim schreef:
On 06/27/2012 10:47 AM, Winfried de Heiden wrote:
Hi all,


Trying to create an online (vm still running) fails; attachted is de
vdsm logfile trying to create a live snapshot.

Some details:

hypervisor = Fedora 17 + vdsm, all the latest updates etc.

[root@kvm vdsm]# rpm -qi vdsm
Name        : vdsm
Version     : 4.10.0
Release     : 2.fc17
Architecture: x86_64
Install Date: wo 27 jun 2012 12:08:20 CEST
Group       : Applications/System
Size        : 2425943
License     : GPLv2+
Signature   : (none)
Source RPM  : vdsm-4.10.0-2.fc17.src.rpm
Build Date  : vr 22 jun 2012 12:52:54 CEST
Build Host  : x86-11.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.ovirt.org/wiki/Vdsm
Summary     : Virtual Desktop Server Manager
Description :
The VDSM service is required by a Virtualization Manager to manage the
Linux hosts. VDSM manages and monitors the host's storage, memory and
networks as well as virtual machine creation, other host administration
tasks, statistics gathering, and log collection.

BTL, sanlock is disabled in qemu.conf (#lock_manager="sanlock"), I
cannot install a vm when it's enabled. Is that related?

this is the relevant error coming from libvirt.
maybe fedora 17 qemu-kvm does not have live snapshot support?

Thread-306::ERROR::2012-06-27
12:46:40,178::libvirtvm::1782::vm.Vm::(snapshot)
vmId=`ef978066-09c8-40aa-8e0b-4accfacc15bd`::Unable to take snapshot
Traceback (most recent call last):
   File "/usr/share/vdsm/libvirtvm.py", line 1780, in snapshot
     libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT))
   File "/usr/share/vdsm/libvirtvm.py", line 491, in f
     ret = attr(*args, **kwargs)
   File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py",
line 82, in wrapper
     ret = f(*args, **kwargs)
   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1443, in
snapshotCreateXML
     if ret is None:raise libvirtError('virDomainSnapshotCreateXML()
failed', dom=self)
libvirtError: unsupported configuration: reuse is not supported with
this QEMU binary


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



--
Shu Ming <shum...@linux.vnet.ibm.com>
IBM China Systems and Technology Laboratory


_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to