Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1241750 - SLOW_HOST should be SLOW_HOSTS in openshift-origin-gear-placement.conf.pin-user-to-host-example
SLOW_HOST should be SLOW_HOSTS in openshift-origin-gear-placement.conf.pin-us...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
2.2.0
Unspecified Unspecified
low Severity low
: ---
: ---
Assigned To: Miciah Dashiel Butler Masters
Ma xiaoqiang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-09 22:41 EDT by Anping Li
Modified: 2016-07-03 20:45 EDT (History)
8 users (show)

See Also:
Fixed In Version: rubygem-openshift-origin-gear-placement-0.0.2.1-1.el6op
Doc Type: Bug Fix
Doc Text:
The pin-php-to-host gear placement plug-in example configuration contained a typo where a configuration directive was named incorrectly, which caused the `slow_hosts` configuration directive to not be used. This bug fix renames the `SLOW_HOST` directive to `SLOW_HOSTS`, and as a result the `slow_hosts` configuration directive is parsed properly and used in the pin-php-to-host gear placement plug-in example.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-09-30 12:38:07 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 RHSA-2015:1844 normal SHIPPED_LIVE Important: Red Hat OpenShift Enterprise 2.2.7 security, bug fix and enhancement update 2015-09-30 16:35:28 EDT

  None (edit)
Description Anping Li 2015-07-09 22:41:21 EDT
Description of problem:
SLOW_HOST should be SLOW_HOSTS in openshift-origin-gear-placement.conf.pin-php-to-host-example which was installed by rubygem-openshift-origin-gear-placement.noarch

Version-Release number of selected component (if applicable):
ose-2.2.6 
rubygem-openshift-origin-gear-placement-0.0.2.0-1.el6op.noarch

How reproducible:
always

Steps to Reproduce:
1. yum install rubygem-openshift-origin-gear-placement-0.0.2.0-1.el6op.noarch
2. check /etc/openshift/plugins.d/openshift-origin-gear-placement.conf.pin-user-to-host-example
3. check /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-gear-placement-0.0.2.0/lib/openshift/gear_placement_plugin.rb.pin-user-to-host-example
4. enable this policy and create applications.

Actual results:
The variable is slow_hosts in gear_placement_plugin.rb.pin-user-to-host-example, which is different with openshift-origin-gear-placement.conf.pin-user-to-host-example.

Expected results:
It should use same variable name in scripts and configure file.

Additional info:
Comment 1 Miciah Dashiel Butler Masters 2015-09-22 12:21:58 EDT
PR: https://github.com/openshift/origin-server/pull/6244
Comment 2 openshift-github-bot 2015-09-22 13:12:41 EDT
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/6e63300b5b16027a3d4e5a82d7170229173a87e3
gear-placement plugin: fix example configuration

Fix a typo in the setting name for SLOW_HOSTS in the example gear placement
plug-in.

This commit fixes bug 1241750.
Comment 5 Anping Li 2015-09-24 03:02:45 EDT
Verified and pass. the variable was changed to SLOW_HOSTS.
Comment 7 errata-xmlrpc 2015-09-30 12:38:07 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/RHSA-2015-1844.html

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