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

Bug 1828299

Summary: Export VM to a data domain with illegal disks succeeded when it should fail
Product: [oVirt] ovirt-engine Reporter: Evelina Shames <eshames>
Component: BLL.StorageAssignee: Fedor Gavrilov <fgavrilo>
Status: CLOSED CURRENTRELEASE QA Contact: Evelina Shames <eshames>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.4.0CC: bugs, fgavrilo, lsvaty, michal.skrivanek, sfishbai
Target Milestone: ovirt-4.4.1Flags: pm-rhel: ovirt-4.4+
pm-rhel: blocker?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhv-4.4.1-5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-08 08:24:48 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 Evelina Shames 2020-04-27 14:18:21 UTC
Description of problem:
Export VM to a data domain with illegal disks succeeded when is should fail.

Version-Release number of selected component (if applicable):
ovirt-engine-4.4.0-0.33.master.el8ev.noarch
vdsm-4.40.13-1.el8ev.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Create VM with disk
2.On engine run:
/usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "SELECT * from images; UPDATE images SET imagestatus='4' where imagestatus='1';"
(this will change all 'OK' disks status into 'ILLEGAL')
3. Try to export the VM to data domain

Actual results:
Operation succeeded 

Expected results:
Operation should fail.

Comment 1 Tal Nisan 2020-04-28 07:29:54 UTC
Fedor, please block the export of a VM with illegal disks

Comment 2 RHEL Program Management 2020-04-28 07:30:01 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 Lukas Svaty 2020-05-18 07:54:12 UTC
Hi Evelina,

is this issue blocking multiple testcases or just this specific flow?
In case it's just this specific flow, it's a regular bug, not a TestBlocker.

Comment 4 Evelina Shames 2020-05-20 11:09:40 UTC
(In reply to Lukas Svaty from comment #3)
> Hi Evelina,
> 
> is this issue blocking multiple testcases or just this specific flow?
> In case it's just this specific flow, it's a regular bug, not a TestBlocker.

Just this specific flow, removing 'TestBlocker'.

Comment 5 Sandro Bonazzola 2020-06-19 09:45:13 UTC
This bug is in modified state and targeting 4.4.2. Can this be re-targeted to 4.4.1?

Comment 6 Evelina Shames 2020-06-28 12:42:21 UTC
Verified on rhv-4.4.1-5

Comment 7 Sandro Bonazzola 2020-07-08 08:24:48 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.