Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1201485 - Node selection logic does not properly distribute gear load
Node selection logic does not properly distribute gear load
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
2.2.0
x86_64 Linux
high Severity high
: ---
: ---
Assigned To: Luke Meyer
libra bugs
: Upstream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-12 15:17 EDT by Timothy Williams
Modified: 2015-04-06 13:06 EDT (History)
8 users (show)

See Also:
Fixed In Version: rubygem-openshift-origin-msg-broker-mcollective-1.33.1.1-1
Doc Type: Bug Fix
Doc Text:
The default gear placement algorithm did not properly distribute gear load in some district configurations. Some nodes would be ignored until other nodes filled up. This bug fix updates this logic, and gear load is now better distributed.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-04-06 13:06:36 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0779 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.5 bug fix and enhancement update 2015-04-06 17:05:45 EDT

  None (edit)
Description Timothy Williams 2015-03-12 15:17:00 EDT
Description of problem:
The default node selection logic does not properly distribute gear load. In a 13-node district, 2-3 nodes will remain ignored until other nodes fill up under the current logic.

Version-Release number of selected component (if applicable):
2.2

How reproducible:
Always

Steps to Reproduce:
1. Create an environment with at least 13 nodes (have not tested with <13, but may reproduce with less). Each node should be the same gear size.
2. Create a district and add all 13 nodes.
2. Create 100 applications.
3. Check gear distribution with `oo-admin-ctl-gears | wc -l` on each node

Actual results:
Several nodes will be ignored, with no applications created on them:

Gear counts:
  Node1: 8
  Node2: 9
  Node3: 9
  Node4: 9
  Node5: 9
  Node6: 9
  Node7: 9
  Node8: 8
  Node9: 0
  Node10: 0
  Node11: 10
  Node12: 8
  Node13: 12

Expected results:
All nodes have even (or close to even) gear counts:

  Node1: 8
  Node2: 8
  Node3: 8
  Node4: 8
  Node5: 8
  Node6: 8
  Node7: 8
  Node8: 8
  Node9: 7
  Node10: 7
  Node11: 7
  Node12: 7
  Node13: 8
Comment 19 errata-xmlrpc 2015-04-06 13:06:36 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0779.html

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