Bug 1184928 - Bad error when adding vm to pool with low space on storage domain
Summary: Bad error when adding vm to pool with low space on storage domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: x86_64
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Vered Volansky
QA Contact: Ori Gofen
URL:
Whiteboard:
Depends On:
Blocks: 1179690 1185613
TreeView+ depends on / blocked
 
Reported: 2015-01-22 13:55 UTC by Kevin Alon Goldblatt
Modified: 2016-03-10 11:59 UTC (History)
10 users (show)

Fixed In Version: ovirt-engine-3.6.0_qa1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1185613 (view as bug list)
Environment:
Last Closed: 2016-03-10 10:34:57 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
adding engine and vdsm logs (1.12 MB, application/x-gzip)
2015-01-22 13:57 UTC, Kevin Alon Goldblatt
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 37213 0 None None None Never

Description Kevin Alon Goldblatt 2015-01-22 13:55:27 UTC
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

Comment 1 Kevin Alon Goldblatt 2015-01-22 13:57:23 UTC
Created attachment 982824 [details]
adding engine and vdsm logs

Comment 2 Allon Mureinik 2015-01-22 20:01:36 UTC
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).

Comment 4 Kevin Alon Goldblatt 2015-05-04 11:02:12 UTC
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

Comment 5 Ori Gofen 2015-05-12 12:34:36 UTC
Verified on oVirt3.6 master message:
"Cannot add Virtual Machine Disk. Low disk space on Storage Domain iSCSIAutomate3."

Comment 6 Allon Mureinik 2016-03-10 10:34:57 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 7 Allon Mureinik 2016-03-10 10:36:55 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 8 Allon Mureinik 2016-03-10 10:42:32 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 9 Allon Mureinik 2016-03-10 11:59:24 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE


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