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:
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