[Users] Ovirt 3.4rc + Qemu Live snapshot : Problem to delete a Snapshot

Hello, I upgraded to Ovirt 3.4rc allinone on centos6, and I compiled/installed the qemu-kvm-rhev to be able to take live snapshots. Taking the snapshot is OK, but I would like to delete them, and the button and the menu are disabled (grey) until I shutdown the VM. Once powered off, actions are available, and I'm able to delete snapshots. When looking the Snapshot Actions Matrix: http://www.ovirt.org/Live_Snapshots Is the "Revert" operation needed to delete a snapshot ? (Deleting a snapshot file implies to write changes from the snapshot file to the parent file, looks to be "Commit" for me). If not, should I have to upgrade something else, like libvirt, to be able to delete snapshots? Thanks in advance Best Regards, Eric ovirt-engine-setup-plugin-ovirt-engine-common-3.4.0-0.13.rc.el6.noarch ovirt-iso-uploader-3.4.0-1.el6.noarch ovirt-engine-tools-3.4.0-0.13.rc.el6.noarch ovirt-engine-backend-3.4.0-0.13.rc.el6.noarch ovirt-host-deploy-1.1.3-1.el6.noarch ovirt-host-deploy-java-1.1.3-1.el6.noarch ovirt-engine-cli-3.3.0.6-1.el6.noarch ovirt-host-deploy-offline-1.1.3-1.el6.noarch ovirt-engine-setup-base-3.4.0-0.13.rc.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-3.4.0-0.13.rc.el6.noarch ovirt-engine-setup-plugin-allinone-3.4.0-0.13.rc.el6.noarch ovirt-log-collector-3.4.1-1.el6.noarch ovirt-engine-setup-plugin-websocket-proxy-3.4.0-0.13.rc.el6.noarch ovirt-engine-webadmin-portal-3.4.0-0.13.rc.el6.noarch ovirt-engine-userportal-3.4.0-0.13.rc.el6.noarch ovirt-engine-dbscripts-3.4.0-0.13.rc.el6.noarch ovirt-engine-3.4.0-0.13.rc.el6.noarch ovirt-engine-lib-3.4.0-0.13.rc.el6.noarch ovirt-engine-setup-3.4.0-0.13.rc.el6.noarch ovirt-image-uploader-3.4.0-1.el6.noarch ovirt-engine-websocket-proxy-3.4.0-0.13.rc.el6.noarch ovirt-engine-restapi-3.4.0-0.13.rc.el6.noarch ovirt-release-11.0.2-1.noarch vdsm-4.13.3-4.el6.x86_64 qemu-img-rhev-0.12.1.2-2.415.el6.5.x86_64 qemu-kvm-rhev-0.12.1.2-2.415.el6.5.x86_64 qemu-kvm-rhev-tools-0.12.1.2-2.415.el6.5.x86_64 libvirt-0.10.2-29.el6_5.5.x86_64 libvirt-lock-sanlock-0.10.2-29.el6_5.5.x86_64

Hi Eric, Inline ----- Original Message -----
From: "Eric Bollengier" <eric@baculasystems.com> To: users@ovirt.org Sent: Friday, March 14, 2014 6:47:39 PM Subject: [Users] Ovirt 3.4rc + Qemu Live snapshot : Problem to delete a Snapshot
Hello,
I upgraded to Ovirt 3.4rc allinone on centos6, and I compiled/installed the qemu-kvm-rhev to be able to take live snapshots.
Taking the snapshot is OK, but I would like to delete them, and the button and the menu are disabled (grey) until I shutdown the VM.
Once powered off, actions are available, and I'm able to delete snapshots. This is the expected behaviour.
When looking the Snapshot Actions Matrix: http://www.ovirt.org/Live_Snapshots
Is the "Revert" operation needed to delete a snapshot ? (Deleting a snapshot file implies to write changes from the snapshot file to the parent file, looks to be "Commit" for me). As far as I understand, revert means to go back to the point that you took the snapshot, while delete means to stay at the current point of time but deleting the option to go back.
If not, should I have to upgrade something else, like libvirt, to be able to delete snapshots? No.
Thanks in advance
Best Regards,
Eric
ovirt-engine-setup-plugin-ovirt-engine-common-3.4.0-0.13.rc.el6.noarch ovirt-iso-uploader-3.4.0-1.el6.noarch ovirt-engine-tools-3.4.0-0.13.rc.el6.noarch ovirt-engine-backend-3.4.0-0.13.rc.el6.noarch ovirt-host-deploy-1.1.3-1.el6.noarch ovirt-host-deploy-java-1.1.3-1.el6.noarch ovirt-engine-cli-3.3.0.6-1.el6.noarch ovirt-host-deploy-offline-1.1.3-1.el6.noarch ovirt-engine-setup-base-3.4.0-0.13.rc.el6.noarch ovirt-engine-setup-plugin-ovirt-engine-3.4.0-0.13.rc.el6.noarch ovirt-engine-setup-plugin-allinone-3.4.0-0.13.rc.el6.noarch ovirt-log-collector-3.4.1-1.el6.noarch ovirt-engine-setup-plugin-websocket-proxy-3.4.0-0.13.rc.el6.noarch ovirt-engine-webadmin-portal-3.4.0-0.13.rc.el6.noarch ovirt-engine-userportal-3.4.0-0.13.rc.el6.noarch ovirt-engine-dbscripts-3.4.0-0.13.rc.el6.noarch ovirt-engine-3.4.0-0.13.rc.el6.noarch ovirt-engine-lib-3.4.0-0.13.rc.el6.noarch ovirt-engine-setup-3.4.0-0.13.rc.el6.noarch ovirt-image-uploader-3.4.0-1.el6.noarch ovirt-engine-websocket-proxy-3.4.0-0.13.rc.el6.noarch ovirt-engine-restapi-3.4.0-0.13.rc.el6.noarch ovirt-release-11.0.2-1.noarch vdsm-4.13.3-4.el6.x86_64 qemu-img-rhev-0.12.1.2-2.415.el6.5.x86_64 qemu-kvm-rhev-0.12.1.2-2.415.el6.5.x86_64 qemu-kvm-rhev-tools-0.12.1.2-2.415.el6.5.x86_64 libvirt-0.10.2-29.el6_5.5.x86_64 libvirt-lock-sanlock-0.10.2-29.el6_5.5.x86_64 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hello Meital, Thanks for your answer, On 03/16/2014 10:04 AM, Meital Bourvine wrote:
I upgraded to Ovirt 3.4rc allinone on centos6, and I compiled/installed the qemu-kvm-rhev to be able to take live snapshots.
Taking the snapshot is OK, but I would like to delete them, and the button and the menu are disabled (grey) until I shutdown the VM.
Once powered off, actions are available, and I'm able to delete snapshots.
This is the expected behaviour.
When looking the Snapshot Actions Matrix: http://www.ovirt.org/Live_Snapshots
Is the "Revert" operation needed to delete a snapshot ? (Deleting a snapshot file implies to write changes from the snapshot file to the parent file, looks to be "Commit" for me).
As far as I understand, revert means to go back to the point that you took the snapshot, while delete means to stay at the current point of time but deleting the option to go back.
OK, so given the Snapshot Actions Matrix, it should be possible to delete the snapshot via a "Live Merge" operation. So, why the delete action is not available while the VM is running? How can I enable this feature? Or maybe this feature is in the roadmap? Thanks, Regards, Eric

Hi Eric, Live merge is not yet supported (IIRC by qemu). From the Live_Snapshots wiki page: "Live merge is not present in the upstream component yet (libvirt/qemu)" Gadi Ickowicz ----- Original Message ----- From: "Eric Bollengier" <eric@baculasystems.com> To: "Meital Bourvine" <mbourvin@redhat.com> Cc: users@ovirt.org Sent: Sunday, March 16, 2014 11:41:54 AM Subject: Re: [Users] Ovirt 3.4rc + Qemu Live snapshot : Problem to delete a Snapshot Hello Meital, Thanks for your answer, On 03/16/2014 10:04 AM, Meital Bourvine wrote:
I upgraded to Ovirt 3.4rc allinone on centos6, and I compiled/installed the qemu-kvm-rhev to be able to take live snapshots.
Taking the snapshot is OK, but I would like to delete them, and the button and the menu are disabled (grey) until I shutdown the VM.
Once powered off, actions are available, and I'm able to delete snapshots.
This is the expected behaviour.
When looking the Snapshot Actions Matrix: http://www.ovirt.org/Live_Snapshots
Is the "Revert" operation needed to delete a snapshot ? (Deleting a snapshot file implies to write changes from the snapshot file to the parent file, looks to be "Commit" for me).
As far as I understand, revert means to go back to the point that you took the snapshot, while delete means to stay at the current point of time but deleting the option to go back.
OK, so given the Snapshot Actions Matrix, it should be possible to delete the snapshot via a "Live Merge" operation. So, why the delete action is not available while the VM is running? How can I enable this feature? Or maybe this feature is in the roadmap? Thanks, Regards, Eric _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hello Gadi, On 03/16/2014 11:04 AM, Gadi Ickowicz wrote:
Hi Eric,
Live merge is not yet supported (IIRC by qemu). From the Live_Snapshots wiki page: "Live merge is not present in the upstream component yet (libvirt/qemu)"
OK, thanks for this clarification, it was not obvious for me, now I'm sure. Thanks, Regards, Eric
participants (3)
-
Eric Bollengier
-
Gadi Ickowicz
-
Meital Bourvine