Bug 848298

Summary: Unable to undo a preview of a snapshot with no snappable disks
Product: Red Hat Enterprise Virtualization Manager Reporter: Allon Mureinik <amureini>
Component: ovirt-engineAssignee: Allon Mureinik <amureini>
Status: CLOSED CURRENTRELEASE QA Contact: Leonid Natapov <lnatapov>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: abaron, dron, dyasny, hateya, iheim, lpeer, mkenneth, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: All   
OS: All   
Whiteboard: storage
Fixed In Version: si16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:07:26 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:
Bug Depends On: 854185    
Bug Blocks:    
Attachments:
Description Flags
VDSM log
none
oVirt Engine log none

Description Allon Mureinik 2012-08-15 08:15:37 UTC
Description of problem:
When trying to undo a preview of a snapshot of a VM with no snappable disks an error message ("Cannot revert to Snapshot. VM's Snapshot does not exist.") is displayed instead of undoing the snapshot

Version-Release number of selected component (if applicable):
Commit hash 53d618f3b302c296709431b0d29716a96982504e

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with no disks
2. Take a snapshot
3. Preview to that snapshot
4. Undo the preview
  
Actual results:
An error message is displayed: "Cannot revert to Snapshot. VM's Snapshot does not exist."

Expected results:
Preview should be undone.

Additional info:

Comment 1 Allon Mureinik 2012-08-15 08:16:24 UTC
Created attachment 604544 [details]
VDSM log

Comment 2 Allon Mureinik 2012-08-15 08:17:20 UTC
Created attachment 604545 [details]
oVirt Engine log

Comment 3 Allon Mureinik 2012-08-15 12:17:13 UTC
Patch pushed to gerrit, pending review:
http://gerrit.ovirt.org/#/c/6676/

Comment 4 Dafna Ron 2012-08-15 14:41:27 UTC
*** Bug 847759 has been marked as a duplicate of this bug. ***

Comment 5 Allon Mureinik 2012-08-28 11:59:45 UTC
merged Change-Id: Ic62eee3cfb03abd21905ad6aa132c8cc10dbfb70

Comment 6 Leonid Natapov 2012-09-06 14:34:47 UTC
si17. fixed.