Bug 1201485 - Node selection logic does not properly distribute gear load
Summary: Node selection logic does not properly distribute gear load
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 2.2.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-12 19:17 UTC by Timothy Williams
Modified: 2019-08-15 04:21 UTC (History)
8 users (show)

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.
Clone Of:
Environment:
Last Closed: 2015-04-06 17:06:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0779 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.5 bug fix and enhancement update 2015-04-06 21:05:45 UTC

Description Timothy Williams 2015-03-12 19:17:00 UTC
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 17:06:36 UTC
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.