Bug 1293226

Summary: commit a custom previewed snapshot which only one of its disks gets previewed
Product: [oVirt] ovirt-engine Reporter: Maor <mlipchuk>
Component: BLL.StorageAssignee: Maor <mlipchuk>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.1CC: amureini, bugs, gklein, mlipchuk, stirabos, tnisan, ylavi
Target Milestone: ovirt-3.6.2Flags: rule-engine: ovirt-3.6.z+
ylavi: planning_ack+
amureini: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-18 11:10:23 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 Maor 2015-12-21 06:54:12 UTC
Description of problem:
Trying to commit a custom previewed snapshot which only one of its disks gets previewed and at least one volume does not get previewed and used as active, will throw an exception.

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


How reproducible:


Steps to Reproduce:
1. Create a VM with 2 disks.
2. Create a snapshot
3. Custom preview the snapshot so the first disk will be used from the active snapshot.
4. Commit the snapshot

Actual results:
An exception will be thrown

Expected results:
The snapshot should be committed without any error

Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2015-12-21 07:40:33 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Sandro Bonazzola 2015-12-23 15:08:07 UTC
This bug has target milestone 3.6.2 and is on modified without a target release.
This may be perfectly correct, but please check if the patch fixing this bug is included in ovirt-engine-3.6.2. If it's included, please set target-release to 3.6.2 and move to ON_QA. Thanks.

Comment 3 Kevin Alon Goldblatt 2016-02-03 14:18:20 UTC
Verified with the following code:
--------------------------------
vdsm-4.17.19-0.el7ev.noarch
rhevm-3.6.3-0.1.el6.noarch

Verified with the following scenario:
-------------------------------------
Steps to Reproduce:
1. Create a VM with 2 disks.
2. Create a snapshot
3. Custom preview the snapshot so the first disk will be used from the active snapshot.
4. Commit the snapshot >>>>> The snapshot is successfully committed and no exceptions are generated.

Moving to VERIFIED