Bug 1181133
Summary: | Redundant Storage allocation check when running VM as stateless | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Vered Volansky <vered> |
Component: | General | Assignee: | Vered Volansky <vered> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Elad <ebenahar> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.5.0 | CC: | amureini, bugs, ecohen, gklein, lsurette, rbalakri, tnisan, vered, yeylon |
Target Milestone: | ovirt-3.6.0-rc | Flags: | rule-engine:
ovirt-3.6.0+
ylavi: planning_ack+ rule-engine: devel_ack+ rule-engine: testing_ack+ |
Target Release: | 3.6.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | storage | ||
Fixed In Version: | 3.6.0-5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-27 07:51:53 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: | |||
Bug Depends On: | |||
Bug Blocks: | 960934 |
Description
Vered Volansky
2015-01-12 13:22:25 UTC
Vered, please add this bug to the storage allocation checks tracker. Thanks! The problem of running several VMs arose on review. Backend.runInternalMultipleActions is the method being called in this case, and it runs all the CDAs as a bulk in one thread, then spawning threads for each command, so there is nowhere to actually propagate the error message to. This course of action was confirmed with Moti, as well as the fact that nothing has been missed and the only way to actually get the error message on CDA is add the functionality to RunVmCommand's CDA. There are no plans or ability to add the desired functionality at this time. This will be possible when the MultipleActionsRunner is replaced. This calls for another (simple) solution, therefore moving the bz back to assigned. Tested the following: - Had a storage domain (iscsi) with 15G free space - Created a VM and configured it as stateless - Created and attached 8 preallocated disks to the VM, plugged only one of them. After disks creation, the storage domain had 7G free space - Tried to start the VM Results: The attempt to start the VM got blocked on CDA of not enough free space on the domain because the allocation check was for all the 8 disks which creates additional 8 1G volumes during the stateless VM creation while the domain had only 7G free space left. So Allocation check is done for plugged and unplugged disks indeed. 2015-11-11 15:32:33,853 WARN [org.ovirt.engine.core.bll.RunVmCommand] (ajp-/127.0.0.1:8702-4) [78821e52] CanDoAction of action 'RunVm' failed for user admin@internal. Reasons: VAR__ACTION__RUN,VAR__TYPE__VM,ACTIO N_TYPE_FAILED_DISK_SPACE_LOW_ON_STORAGE_DOMAIN,$storageName iscsi22 Verified using rhevm-3.6.0.2-0.1.el6.noarch Since oVirt 3.6.0 has been released, moving from verified to closed current release. |