Bug 1278324
Summary: | CPU limitation for VM does not work when balloon device is not present | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] mom | Reporter: | Artyom <alukiano> | ||||||
Component: | Core | Assignee: | Martin Sivák <msivak> | ||||||
Status: | CLOSED DUPLICATE | QA Contact: | Ilanit Stein <istein> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 0.5.1 | CC: | alukiano, bugs, dfediuck, rgolan | ||||||
Target Milestone: | ovirt-4.0.1 | Flags: | rgolan:
ovirt-4.0.z?
rule-engine: planning_ack? rule-engine: devel_ack? rule-engine: testing_ack? |
||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-06-15 08:51:33 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1191119 | ||||||||
Attachments: |
|
Description
Artyom
2015-11-05 09:30:14 UTC
I do not see the ready status for the VM in mom.log. That usually means some data is missing for mom to start the policy evaluation. Can you run the test with DEBUG logging enabled please? Created attachment 1091225 [details]
mom debug
So the issue is that balloon info is missing: test_cpu_profile: Incomplete data: missing set(['balloon_max', 'balloon_cur', 'balloon_min']) The balloonInfo should always be reported by VDSM. Can you attach the getVmStats output for the VM please? Ok so we found out what is wrong. This whole issue is caused by a missing memory balloon device which is currently required for any QoS to work properly. Can you please check whether your VM had a memory ballon device enabled checkbox set in the VM edit / Resource allocation subtab? You right, balloon device under vm disabled, if I enabled it I can see that period and quota appear under dumpxml: <cputune> <shares>1020</shares> <period>100000</period> <quota>20000</quota> </cputune> But I first time hear that QoS need balloon device to work, we just add vm to some cgroup with specific parameters on host, how it connect to balloon device? MOM requires the balloon device to be able to do the load computations based on memory. It might not be necessary in this case though so the bug might still be valid with a different title. And btw, balloon was always required. I am lowering the severity and removing the regression keyword. Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA. oVirt 4.0 beta has been released, moving to RC milestone. *** This bug has been marked as a duplicate of bug 1337834 *** |