Bug 1828299 - Export VM to a data domain with illegal disks succeeded when it should fail
Summary: Export VM to a data domain with illegal disks succeeded when it should fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.4.1
: ---
Assignee: Fedor Gavrilov
QA Contact: Evelina Shames
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-27 14:18 UTC by Evelina Shames
Modified: 2020-07-08 08:24 UTC (History)
5 users (show)

Fixed In Version: rhv-4.4.1-5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-08 08:24:48 UTC
oVirt Team: Storage
Embargoed:
pm-rhel: ovirt-4.4+
pm-rhel: blocker?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 108813 0 master MERGED core: prevent exporting a VM to a data domain with illegal disks 2020-06-26 22:42:54 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.