Bug 1602339 - VM with preallocated/RO disks only can run even if the storage domain that holds the disks is in maintenance
Summary: VM with preallocated/RO disks only can run even if the storage domain that ho...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.6
: 4.2.6
Assignee: Eyal Shenitzky
QA Contact: Shir Fishbain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-18 08:39 UTC by Eyal Shenitzky
Modified: 2018-09-03 15:08 UTC (History)
2 users (show)

Fixed In Version: ovirt-engine-4.2.6
Clone Of:
Environment:
Last Closed: 2018-09-03 15:08:19 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 93097 0 master MERGED core: remove disks filtering from validateStorageDomains() when running a VM 2018-07-25 08:59:49 UTC
oVirt gerrit 93312 0 ovirt-engine-4.2 MERGED core: remove disks filtering from validateStorageDomains() when running a VM 2018-07-29 07:46:22 UTC

Description Eyal Shenitzky 2018-07-18 08:39:26 UTC
Description of problem:

If a VM has only preallocated disks or read-only disks, it can run even if the storage domain that holds the list is in maintenance

Version-Release number of selected component (if applicable):
4.3.0_master - from the commit d856dcde5ab840800b9301441bbb76633d86784d

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with preallocated disk based on the storage domain A
2. Deactivate storage domain A
3. Run the VM from step 1

Actual results:
VM managed to start

Expected results:
VM should fail to start


Additional info:

Comment 1 Shir Fishbain 2018-08-08 14:46:15 UTC
Failed to run the VM. 
The ERROR that appears:"Cannot run VM. The relevant Storage Domain's status is Maintenance"
4.2.6-0.1.el7ev


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