Bug 1258739

Summary: PowerSaving balancing not take in account CPU under utilized hosts
Product: Red Hat Enterprise Virtualization Manager Reporter: Artyom <alukiano>
Component: ovirt-engineAssignee: Martin Sivák <msivak>
Status: CLOSED CURRENTRELEASE QA Contact: Artyom <alukiano>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: dfediuck, gklein, juwu, lsurette, mavital, msivak, rbalakri, rgolan, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: Patch, Triaged
Target Release: 3.6.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, due to the timestamp implementation in the power saving balance policy, the power saving balancer did not recognize underutilized hosts in some cases and did not migrate virtual machines to other hosts. The timestamp implementation has been updated, and virtual machines on underutilized hosts gets migrated to other hosts as expected so that the underutilized host can be shut down.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:31: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: 736808    

Description Artyom 2015-09-01 07:26:48 UTC
Description of problem:
PowerSaving balancing not take in account CPU under utilized hosts

Version-Release number of selected component (if applicable):
rhevm-3.6.0-0.12.master.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Add two hosts without cpu load(host_1, host_2) and wait one minute
2. Run on each host vm with one Gb of memory
3. Load one host CPU to 50%(host_1)
4. Change cluster policy to power saving with parameters:
   Low Utilization: 20
   High Utilization: 80
   CpuOverCommitmentDuration: 1
5. Wait 5 minutes


Actual results:
No migration happen from host_1 to host_2

Expected results:
Vm from host_2 must be migrated by balancing to host_1

Additional info:

Comment 1 Artyom 2015-09-01 08:03:15 UTC
Actual results:
No migration happen from host_2 to host_1

Comment 2 Artyom 2015-09-21 12:30:16 UTC
Verified on rhevm-3.6.0-0.16.master.el6.noarch

Comment 3 Martin Sivák 2016-01-19 10:02:05 UTC
This bug was discovered during development/QE phase and the issue was never released to public.

Comment 4 Martin Sivák 2016-01-19 10:06:40 UTC
Ups, wrong bug, proper doctext added.

Comment 5 Julie 2016-02-10 04:25:18 UTC
Hey Martin,
   I made some edits to the doc text. Please let me know if it still technically accurate.

Kind regards,
Julie