Description of problem: Bad error when adding vm to pool with low space on storage domain when within the threshold limit Version-Release number of selected component (if applicable): rhevm-3.5.0-0.30.el6ev.noarch vdsm-4.16.8.1-6.el6ev.x86_64 How reproducible: Every time Steps to Reproduce: The following scenario's were tested: Adding vms to N existing pool: Available space: Space required: Pool based on Template: Result: ------------------------------------------------------------------------------------------------------------------ 5g 2g VM with BLOCK disks Passed 5g 10g VM with BLOCK disks Failed with Low space on Disk 5g 20mb VM with FILE disks Passed 4g 2g VM with BLOCK disks Failed with "Cannot edit VM-Pool. One or more provided storage domains are in maintenance/non-operational status." 4g 20mb VM with FILE disks Failed with "Cannot edit VM-Pool. One or more provided storage domains are in maintenance/non-operational status." So what we have here is when the available space on the storage domain in wWITHIN THE THRESHOLD limit, the error displayed when trying to add more vms to the pool: Actual results: currently reads: "Cannot edit VM-Pool. One or more provided storage domains are in maintenance/non-operational status." Expected results: SHOULD read: "Cannot add vms to pool, Low disk space on storage device!" Additional info: -48b5-9275-301156746344 2015-01-22 14:34:55,740 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-16) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Critical, Low disk space. block domain has 3 GB of free space 2015-01-22 14:35:30,189 ERROR [org.ovirt.engine.core.bll.UpdateVmPoolWithVmsCommand] (ajp-/127.0.0.1:8702-1) [5c0c860c] Can not found any default active domain for one of the disks of template with id : 3dc2e1c4-4866-4b6e-9f0f-a901686b71bf 2015-01-22 14:35:30,189 WARN [org.ovirt.engine.core.bll.UpdateVmPoolWithVmsCommand] (ajp-/127.0.0.1:8702-1) [5c0c860c] CanDoAction of action UpdateVmPoolWithVms failed. Reasons:VAR__TYPE__DESKTOP_POOL,VAR__ACTION__UPDATE,ACTION_TYPE_FAILED_MISSED_STORAGES_FOR_SOME_DISKS
Created attachment 982824 [details] adding engine and vdsm logs
This bug blocks the verification of bug 1179690, which is targeted to 3.5.1. Tentatively suggesting it for 3.5.1 too, pending PM and QA acks to confirm and clone (or refute and retarget bug 1179690 too).
Checked with version: -------------------------- v3.6 ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764.el6.noarch vdsm-4.17.0-632.git19a83a2.el7.x86_64 How reproducible: 100% Tested with the following scenario: Steps to Reproduce: 1. Create a VM with a disk 2. Create a template 3. Create a Pool of VM's including 1 VM according the the matrix below: Available space: Space required: Pool based on Template: Result: ------------------------------------------------------------------------------------------------------------------ 5g 2g VM with BLOCK disks BLOCKED * 5g 10g VM with BLOCK disks BLOCKED * 5g 20mb VM with FILE disks Passed 4g 2g VM with BLOCK disks BLOCKED * 4g 20mb VM with FILE disks Passed BLOCKED * - Due to https://bugzilla.redhat.com/show_bug.cgi?id=1218165 BLOCKED DUE TO: https://bugzilla.redhat.com/show_bug.cgi?id=1218165
Verified on oVirt3.6 master message: "Cannot add Virtual Machine Disk. Low disk space on Storage Domain iSCSIAutomate3."
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE