Bug 1040460 - Even distribution policy selects the same host where there is no CPU load on the host
Summary: Even distribution policy selects the same host where there is no CPU load on ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.3.0
Assignee: Gilad Chaplik
QA Contact: Artyom
URL:
Whiteboard: sla
Depends On:
Blocks: 3.3rc1
TreeView+ depends on / blocked
 
Reported: 2013-12-11 13:21 UTC by Gilad Chaplik
Modified: 2016-02-10 20:19 UTC (History)
8 users (show)

Fixed In Version: is28
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 22:12:39 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


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

Description Gilad Chaplik 2013-12-11 13:21:56 UTC
Description of problem:
When there is no CPU load on the host, the scheduler distribute the vm to the same non-SPM host.

How reproducible:
100%

Steps to Reproduce:
1. configure a cluster with 2 hosts, and select the even distribution policy.
2. start simultaneously several VMs on that cluster

Actual results:
All VMs starts on the same host (non-spm one).

Expected results:
VMs Should be evenly distributed on the hosts.

Additional info:
The problem caused since the even distribution weight function generates an integer as its score. The actual calculation is done on real numbers so if there is a different score, the function cover it up when rounding it.

Comment 3 Artyom 2013-12-19 15:24:24 UTC
verified on is28
Run simultaneously 16 vms
Result: 
host with SPM: 6 vms
host without SPM: 10 vms

Comment 4 Itamar Heim 2014-01-21 22:12:39 UTC
Closing - RHEV 3.3 Released


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