[Users] Online snapshot

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? Kind regards, Winfried

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

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 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

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

On Thu, Jun 28, 2012 at 06:34:25AM -0400, 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
Eric, can you answer that? Thanks, Dave
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

This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF9139496C7A82FD9477CDE29 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/28/2012 07:07 AM, Dave Allan wrote:
On Thu, Jun 28, 2012 at 06:34:25AM -0400, 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 virtua= l machine and tried to make a live snapshot:
virsh # snapshot-create RHEL55_NTP Domain snapshot 1340871802 created
That's a system-checkpoint snapshot, because you didn't use --disk-only. When you say 'live snapshot' were you intending the fast operation of just a disk snapshot (via the 'transaction' or 'blockdev-snapshot-sync' monitor command) or the slow operation of a checkpoint (via the 'savevm' monitor command)?
[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
This qemu does not support the 'transaction' monitor command, so libvirt has to fall back to the non-atomic 'blockdev-snapshot-sync', or else give up because of missing functionality.
dave - who can help us elaborate on this libvirt error: reuse is not supported with this QEMU binary
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=3D`ef978066-09c8-40aa-8e0b-4accfacc15bd`::Unable to take snapsh=
ot
Traceback (most recent call last): File "/usr/share/vdsm/libvirtvm.py", line 1780, in snapshot libvirt.VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT))
OK, so this is a case of VDSM driving a different use of the API than what you did with your virsh command line. VDSM is attempting to do the equivalent of 'virsh snapshot-create --disk-only --reuse-ext', but because your qemu doesn't support the 'transaction' command, libvirt can't make qemu do what VDSM wants. Basically, the 'blockdev-snapshot-sync' command in qemu 1.0 lacks the ability to reuse qcow2 metadata already present in the file pre-created by VDSM; this wasn't added until the 'transaction' command of qemu 1.1. --=20 Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --------------enigF9139496C7A82FD9477CDE29 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJP7FoYAAoJEKeha0olJ0Nqlp4IAInfMKgj+mZ8KaiMSKKTNXiq Fj3oiRvTthgRh7yev8UumAQVSTM/MMCJ8AU81OkjzQlKK+p+E8PI0XYV5qqS6m2z PvUxtGE1X+IZqwaG6KETTh8zHX1LxZ1vEJ9IUmyngbklJWSjPGPbkZcspBX0TP2E v3t4ElbxTA6mHIjIMFj9YD9IgFkd0V/Qf3qsZrCk/SYIZlBTowzevRF+DL8LJjoa FKvvSkDXFriRhjJrvXv0AGkqXjmGqWFAo+2Iz7LmcGnwzK8zPJqG1Mt8Z9rBdx9h Uiud2GgKarT2pImkyS8OO68sE9GDOxWnQk9VOYiSZW9xmLO+sO2NTvEklCB5ZO8= =Hgxs -----END PGP SIGNATURE----- --------------enigF9139496C7A82FD9477CDE29--

On 06/28/2012 09:20 AM, Eric Blake wrote:
On 06/28/2012 07:07 AM, Dave Allan wrote:
On Thu, Jun 28, 2012 at 06:34:25AM -0400, 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 # snapshot-create RHEL55_NTP Domain snapshot 1340871802 created
That's a system-checkpoint snapshot, because you didn't use --disk-only. When you say 'live snapshot' were you intending the fast operation of just a disk snapshot (via the 'transaction' or 'blockdev-snapshot-sync' monitor command) or the slow operation of a checkpoint (via the 'savevm' monitor command)?
[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
This qemu does not support the 'transaction' monitor command, so libvirt has to fall back to the non-atomic 'blockdev-snapshot-sync', or else give up because of missing functionality.
dave - who can help us elaborate on this libvirt error: reuse is not supported with this QEMU binary
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))
OK, so this is a case of VDSM driving a different use of the API than what you did with your virsh command line. VDSM is attempting to do the equivalent of 'virsh snapshot-create --disk-only --reuse-ext', but because your qemu doesn't support the 'transaction' command, libvirt can't make qemu do what VDSM wants. Basically, the 'blockdev-snapshot-sync' command in qemu 1.0 lacks the ability to reuse qcow2 metadata already present in the file pre-created by VDSM; this wasn't added until the 'transaction' command of qemu 1.1.
ok, i guess the question is then when qemu 1.1 is expected in fedora

After looking into a qemu a bit, I believe the snapshot operation on the disk in oVirt is not a live snapshot, because the guest VM will be paused by qemu when the snapshot is undergoing. That is what qemu monitor command "snapshot_blkdev" does and VDSM depends on that command in low level. Most likely, the pausing time is non-trival for a normal snapshot. On 2012-6-29 0:37, Itamar Heim wrote:
On 06/28/2012 09:20 AM, Eric Blake wrote:
On 06/28/2012 07:07 AM, Dave Allan wrote:
On Thu, Jun 28, 2012 at 06:34:25AM -0400, 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 # snapshot-create RHEL55_NTP Domain snapshot 1340871802 created
That's a system-checkpoint snapshot, because you didn't use --disk-only. When you say 'live snapshot' were you intending the fast operation of just a disk snapshot (via the 'transaction' or 'blockdev-snapshot-sync' monitor command) or the slow operation of a checkpoint (via the 'savevm' monitor command)?
[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
This qemu does not support the 'transaction' monitor command, so libvirt has to fall back to the non-atomic 'blockdev-snapshot-sync', or else give up because of missing functionality.
dave - who can help us elaborate on this libvirt error: reuse is not supported with this QEMU binary
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))
OK, so this is a case of VDSM driving a different use of the API than what you did with your virsh command line. VDSM is attempting to do the equivalent of 'virsh snapshot-create --disk-only --reuse-ext', but because your qemu doesn't support the 'transaction' command, libvirt can't make qemu do what VDSM wants. Basically, the 'blockdev-snapshot-sync' command in qemu 1.0 lacks the ability to reuse qcow2 metadata already present in the file pre-created by VDSM; this wasn't added until the 'transaction' command of qemu 1.1.
ok, i guess the question is then when qemu 1.1 is expected in fedora _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Shu Ming <shuming@linux.vnet.ibm.com> IBM China Systems and Technology Laboratory

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 <shuming@linux.vnet.ibm.com> IBM China Systems and Technology Laboratory
participants (5)
-
Dave Allan
-
Eric Blake
-
Itamar Heim
-
Shu Ming
-
Winfried de Heiden