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

Bug 1602339

Summary: VM with preallocated/RO disks only can run even if the storage domain that holds the disks is in maintenance
Product: [oVirt] ovirt-engine Reporter: Eyal Shenitzky <eshenitz>
Component: BLL.StorageAssignee: Eyal Shenitzky <eshenitz>
Status: CLOSED CURRENTRELEASE QA Contact: Shir Fishbain <sfishbai>
Severity: high Docs Contact:
Priority: unspecified    
Version: futureCC: bugs, tnisan
Target Milestone: ovirt-4.2.6Flags: rule-engine: ovirt-4.2+
Target Release: 4.2.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-03 15:08:19 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 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