Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 909811

Summary: [TEXT] [admin-portal] Improve error message, during creation Live-Snapshot on NFS DC with 3.0 compatibility version
Product: Red Hat Enterprise Virtualization Manager Reporter: Jodi Biddle <jbiddle>
Component: DocumentationAssignee: Jodi Biddle <jbiddle>
Status: CLOSED CURRENTRELEASE QA Contact: ecs-bugs
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, chetan, gklein, sfolkwil, thildred, yeylon
Target Milestone: ---Keywords: Documentation
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 889077 Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 873156    
Bug Blocks:    

Description Jodi Biddle 2013-02-11 07:39:58 UTC
+++ This bug was initially created as a clone of Bug #889077 +++

+++ This bug was initially created as a clone of Bug #873156 +++

Created attachment 638432 [details]
## Logs rhevm, screen-shots

Description of problem: [admin-portal] Irrelevant warning error message, during creation Live-Snapshot on NFS DC with 3.0 compatibility version

Version-Release number of selected component (if applicable):
RHEVM 3.1 - SI24

RHEVM: rhevm-3.1.0-26.el6ev.noarch
VDSM: vdsm-4.9.6-41.0.el6_3.x86_64
LIBVIRT: libvirt-0.9.10-21.el6_3.5.x86_64
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.295.el6_3.4.x86_64
SANLOCK: sanlock-2.3-4.el6_3.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create VM with installed OS on NFS DC with 3.0 compatibility version.
2. Power on VM
3. Try create a Live-Snapshot  

Actual results:
Get a warning: Error while executing action. Cannot create Snapshot. At least one of VMs is not down.

Expected results:
Warning message should explain, that on NFS DC with 3.0 compatibility version you can't create a Live-Snapshot, please power-off a VM first.

Additional info:

/var/log/ovirt-engine/engine.log

2012-11-05 10:42:32,448 WARN  [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (ajp-/127.0.0.1:8702-5) CanDoAction of action CreateAllSnapshotsFromVm failed. Reasons:VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,ACTION_TYPE_FAILED_VM_IS_NOT_DOWN

--- Additional comment from Alissa on 2012-12-13 10:29:53 EST ---

The error should be fixed, however a better solution would be to block/grey out that option in the UI.

--- Additional comment from Alissa on 2012-12-17 12:25:55 EST ---

posted fix
http://gerrit.ovirt.org/#/c/10171/

Change-Id: I7b6dfc138951baddc991a82a4c9e64f60499428a

pending review

--- Additional comment from Allon Mureinik on 2012-12-19 12:16:11 EST ---

Merged fix upstream

--- Additional comment from Tim Hildred on 2012-12-20 02:31:28 EST ---

Need to update snapshots content with admonition that live snapshots can only be taken of virtual machines running on 3.1+ level dcs.

Affects Admin Guide at least. Possibly PUPG.