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

Bug 1364780

Summary: Failure when updating VM that is previewing a snapshot
Product: [oVirt] ovirt-engine Reporter: Arik <ahadas>
Component: BLL.StorageAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: acanan, amureini, bugs, kgoldbla
Target Milestone: ovirt-4.0.4Flags: amureini: ovirt-4.0.z?
rule-engine: planning_ack?
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 4.0.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-26 12:41:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arik 2016-08-07 11:28:55 UTC
Description of problem:
I'm not sure why, but when trying to update a VM that was set to preview a snapshot the engine tries to edit its disk and therefore we get in the webadmin the following error although the update (in this case of memory) succeed:
Cannot edit Virtual Disk. VM is previewing a Snapshot.

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


How reproducible:
100%

Steps to Reproduce:
1. Preview a snapshot
2. Update the memory of the VM
3.

Actual results:
The update succeed but we get in the webadmin the error mentioned above.

Expected results:
The update should succeed with no error.

Additional info:

Comment 1 Arik 2016-08-07 11:43:27 UTC
Aharon, can you please check if it happens also on 4.0.2?

Comment 2 Aharon Canan 2016-08-07 13:32:33 UTC
(In reply to Arik from comment #1)
> Aharon, can you please check if it happens also on 4.0.2?

Kevin - 
Please do

Comment 3 Kevin Alon Goldblatt 2016-08-14 12:27:11 UTC
(In reply to Arik from comment #1)
> Aharon, can you please check if it happens also on 4.0.2?

Tested with the following code:
-------------------------------
rhevm-4.0.2.4-0.1.el7ev.noarch
vdsm-4.18.10-1.el7ev.x86_64


Tested with the following scenario:
-----------------------------------
1. Previewed a snapshot of the VM
2. Tried updating the memory of the VM >>>>> the same error is displayed:
Cannot edit Virtual Disk. VM is previewing a Snapshot.

Comment 4 Kevin Alon Goldblatt 2016-09-04 14:57:29 UTC
Tested with the following code:
----------------------------------------
rhevm-4.0.2.4-0.1.el7ev.noarch
vdsm-4.18.10-1.el7ev.x86_64

rhevm-4.0.4-0.1.el7ev.noarch
vdsm-4.18.12-1.el7ev.x86_64

Tested with the following scenario:


Steps to Reproduce:
1. Previewed a snapshot of the VM
2. Tried updating the memory of the VM  >>>>> the memory was successfully updated




Actual results:
the memory was successfully updated

Expected results:



Moving to VERIFIED!