Bug 1006146

Summary: haproxy_watcher does not exist in scaling apps' OpenShift shell but mentioned in haproxy_ctld help doc
Product: OpenShift Online Reporter: Zhe Wang <zhewang>
Component: ImageAssignee: Dan Mace <dmace>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: bparees, dmcphers, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 21:45:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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 ***