Bug 1309097

Summary: Undoing a custom preview with unselected disks, will cause that the unselected disks will be removed
Product: [oVirt] ovirt-engine Reporter: Raz Tamir <ratamir>
Component: BLL.StorageAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.3.1CC: amureini, bugs, derez, ratamir
Target Milestone: ovirt-3.6.3Keywords: Automation, Regression
Target Release: 3.6.3Flags: rule-engine: ovirt-3.6.z+
rule-engine: blocker+
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-10 12:47:58 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:
Attachments:
Description Flags
engine and vdsm logs
none
screenshots none

Description Raz Tamir 2016-02-16 20:14:10 UTC
Created attachment 1127720 [details]
engine and vdsm logs

Description of problem:
After undoing a custom preview of a snapshot, the unselected disks will be removed from the setup.


Version-Release number of selected component (if applicable):
rhevm-3.6.3.1-0.1.el6.noarch
vdsm-4.17.20-0.el7ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Create a vm with 2 disks
2. Create snapshot with the 2 disks
3. Custom preview the snapshot selecting the first disk from the new snapshot and the second disk from the Active VM snapshot
4. Undo the preview

Actual results:
The second disk will be removed from the setup

Expected results:


Additional info:

Comment 1 Allon Mureinik 2016-02-17 07:32:17 UTC
Daniel, is this the behavior by design?

Comment 2 Red Hat Bugzilla Rules Engine 2016-02-17 07:32:22 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 3 Daniel Erez 2016-02-17 08:44:35 UTC
Hi Raz,

Have you encountered the issue using the UI or from the rest-api? As using the UI it doesn't seem to reproduce. Can you please send the api commands or a screencast (if you used the UI).

Thanks!
Daniel

Comment 4 Raz Tamir 2016-02-17 11:27:18 UTC
Created attachment 1127914 [details]
screenshots

Screenshots attached

Comment 5 Daniel Erez 2016-02-21 13:46:52 UTC
Doesn't reproduce on latest 3.6.3 environments (both on R&D and QE). Moving to ON_QA.

Comment 6 Raz Tamir 2016-02-21 13:59:15 UTC
Verified on rhevm-3.6.3-0.1.el6.noarch