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

Bug 1111984

Summary: Disk's status that weren't selected for custom preview, will change to Illegal in the snapshot's disks tab
Product: [Retired] oVirt Reporter: Raz Tamir <ratamir>
Component: ovirt-engine-webadminAssignee: Daniel Erez <derez>
Status: CLOSED UPSTREAM QA Contact: Raz Tamir <ratamir>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5CC: acanan, amureini, bugs, ecohen, gklein, iheim, mgoldboi, rbalakri, scohen, tnisan, yeylon
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: 3.5.0Flags: scohen: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.5.0_rc2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-22 07:53:24 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:
Attachments:
Description Flags
vdsm and engine logs none

Description Raz Tamir 2014-06-22 13:52:25 UTC
Created attachment 911145 [details]
vdsm and engine logs

Description of problem:
After committing a custom previewed snapshot, the disk's status, that were not selected in the preview phase, will change to illegal in the snapshot's disks tab


Version-Release number of selected component (if applicable):
ovirt-engine-3.5.0-0.0.master.20140605145557.git3ddd2de.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. custom preview snapshot - select only 1 disk for pewview
2. commit the previewed snapshot
3. 

Actual results:
The unselected disks statuses will change to illegal 


Expected results:
the disks statuses should remain ok


Additional info:

Comment 1 Daniel Erez 2014-06-23 08:16:47 UTC
Deselecting a disk from a customized preview is essentially the same as removing a disk snapshot; hence, the behavior is by design. To keep the disk in its current state, select the appropriate checkbox in the 'Active VM' row of the 'custom preview snapshot' dialog. See related request for UX improvement bug 1095808.

Comment 2 Raz Tamir 2014-06-23 11:30:07 UTC
Hi Daniel,
After speaking with you I'm reopening this bug.
As we spoke, the expected results for this scenario is that the unselected disks of the custom preview will remain to be ok, since they still part of the snapshot.
The disks that were selected for committing will be restore to the point of time that the snapshot was taken, and the other will remain as is

Comment 3 Allon Mureinik 2014-06-23 12:44:18 UTC
The disk WAS removed. What other state would you have it in?

Comment 4 Sean Cohen 2014-07-20 05:42:55 UTC
(In reply to Allon Mureinik from comment #3)
> The disk WAS removed. What other state would you have it in?

I understand a scenario where an admin makes a human error by unselecting the wrong disks hence resulting in a removed state.
I guess we can simply add a warning notification that unselecting the disk from the preview will result in disk removal.

I don't think we should change our design, just explain it.
Sean

Comment 5 Allon Mureinik 2014-08-28 05:43:16 UTC
Was moved to ON_QA by mistake, reopening