Bug 1006146 - haproxy_watcher does not exist in scaling apps' OpenShift shell but mentioned in haproxy_ctld help doc
Summary: haproxy_watcher does not exist in scaling apps' OpenShift shell but mentioned...
Keywords:
Status: CLOSED DUPLICATE of bug 980826
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Dan Mace
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-10 06:33 UTC by Zhe Wang
Modified: 2015-05-15 00:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-21 21:45:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Zhe Wang 2013-09-10 06:33:18 UTC
Description of problem:
haproxy_watcher command does not exist in scaling apps' OpenShift shell, but the help menu of haproxy_ctld refers to use haproxy_watcher to start/stop auto scaling. We should either enable this command or remove the references of using  haproxy_watcher to control auto scaling (if it is deprecated).

Version-Release number of selected component (if applicable):
devenv_3762
INT(devenv_3761)

How reproducible:
always

Steps to Reproduce:
1. create a scaling app
2. SSH into this app
3. show the help menu of haproxy_ctld
haproxy_ctld -h
4. try to control haproxy_watcher as the help menu of haproxy_ctld indicates

Actual results:
The content of the help menu of haproxy_ctld was:

[srb9-dev3761tst.dev.rhcloud.com 522eb9254b224222a1000997]\> haproxy_ctld -h

Usage: /var/lib/openshift/522eb9254b224222a1000997/haproxy/usr/bin/haproxy_ctld.rb
Control scaling features for this application.  Has two operating modes, auto
and manual.  Manual scaling options will run requested action and exit, auto
scaling options will stay running in the foreground.

  -h|--help         Display this help menu

Manual scaling options:
  -u|--up           Trigger a gear_up event and add an additional gear
  -d|--down         Trigger a gear_remove event and remove a gear
  --debug           Puts logger into debug mode

Auto scaling options:
  -a|--auto         Enable auto-scale
  --debug           Puts logger into debug mode

Notes:
1. To start/stop auto scaling in daemon mode run:
    haproxy_watcher (start|stop|restart|run|)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

However, the haproxy_watcher command does not exist.

[srb9-dev3761tst.dev.rhcloud.com 522eb9254b224222a1000997]\> haproxy_watcher
bash: haproxy_watcher: command not found

Expected results:
We should either enable this command or remove the references of using haproxy_watcher to control auto scaling (if it is deprecated).

Additional info:

Comment 1 Ben Parees 2014-01-21 21:45:05 UTC

*** This bug has been marked as a duplicate of bug 980826 ***


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