Bug 1168418 - disable_auto_scaling marker requires restart of haproxy cartridge
Summary: disable_auto_scaling marker requires restart of haproxy cartridge
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers
Version: 2.2.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 1171066
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-26 21:06 UTC by Timothy Williams
Modified: 2018-12-09 19:15 UTC (History)
8 users (show)

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.
Clone Of:
: 1171066 (view as bug list)
Environment:
Last Closed: 2015-02-12 13:09:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0220 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.4 bug fix and enhancement update 2015-02-12 18:08:20 UTC

Description Timothy Williams 2014-11-26 21:06:21 UTC
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-26 03:15:34 UTC
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 13:09:34 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-0220.html


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