Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1168418 - disable_auto_scaling marker requires restart of haproxy cartridge
disable_auto_scaling marker requires restart of haproxy cartridge
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers (Show other bugs)
2.2.0
x86_64 Linux
high Severity medium
: ---
: ---
Assigned To: Brenton Leanhardt
libra bugs
: Upstream
Depends On: 1171066
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-26 16:06 EST by Timothy Williams
Modified: 2015-02-12 08:09 EST (History)
8 users (show)

See Also:
Fixed In Version: openshift-origin-cartridge-haproxy-1.30.0.1-1
Doc Type: Bug Fix
Doc Text:
Cause: disable_auto_scaling marker does not take effect until the haproxy has been restarted. Consequence: Auto scaling is not disabled until the haproxy gear has been restarted. Fix: A notice is provided to users when pushing disable_auto_scaling marker advising them to restart haproxy. Result: Users are advised that they must restart their haproxy gear to properly disable auto scaling via a marker.
Story Points: ---
Clone Of:
: 1171066 (view as bug list)
Environment:
Last Closed: 2015-02-12 08:09:34 EST
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:0220 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.4 bug fix and enhancement update 2015-02-12 13:08:20 EST

  None (edit)
Description Timothy Williams 2014-11-26 16:06:21 EST
Description of problem:
The 'disable_auto_scaling' marker is added to .openshift/markers/ in an application's git repository to disable auto-scaling. After pushing this change, auto scaling is still enabled. The auto-scaler is not disabled until after the haproxy cartridge (or entire application) is restarted.

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

How reproducible:
Always

Steps to Reproduce:
1. Create any application
2. Add the 'disable_auto_scaling' marker in .openshift/markers
3. Push the change to the gear

Actual results:
Auto scaler is still enabled. haproxy_ctld is still running on the head gear. Restart of the application disables the auto scaler.

Expected results:
Auto scaler is disabled.

Additional info:
Comment 4 Anping Li 2015-01-25 22:15:34 EST
Verified and pass on puddle-2-2-2015-01-23, the banner is show during git push.


remote: NOTE: The 'disable_auto_scaling' marker has been detected in your application.
remote: NOTE: Please notice that if this is the first time you are using this marker in this
remote: NOTE: application, you need to restart the HAProxy cartridge or the whole application 
remote: NOTE: manually, so the HAProxy cartridge can pick up the changes.
remote: HAProxy already running
remote: HAProxy instance is started
Comment 6 errata-xmlrpc 2015-02-12 08:09:34 EST
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-0220.html

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