Bug 1111009

Summary: Wrong command line option --scale used in application's gear page on web, which should be --scaling
Product: OpenShift Online Reporter: Liang Xia <lxia>
Component: WebsiteAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: jliggitt, jokerman, mmccomas, yujzhang
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1111419 (view as bug list) Environment:
Last Closed: 2014-07-15 10:31:09 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1111419    

Description Liang Xia 2014-06-19 04:17:25 UTC
Description of problem:
Check a non-scaling app's gear page at app/console/application/${UUID}-${WEB_CART}/scaling/new#${WEB_CARTRIDGE}, eg, app/console/application/53a28680dc3fd77a2b000057-diy/scaling/new#diy-0.1
The page show:
This application is not currently scalable. For the time being applications must be set to scale when they are created. To make a new application scalable you will need to pass the command line option --scale:
rhc create-app --scale -a <your application> ...

But the correct option should be --scaling

Version-Release number of selected component (if applicable):
devenv_4890
INT(devenv_4887)
STG(2.0.45.2)
PROD

How reproducible:
always

Steps to Reproduce:
1.Create a non-scalable app.
2.Log in to website and goto applications page.
3.Click on the application's name.
4.Click the link under Gears and check the page.

Actual results:
We are using --scale in this page.

Expected results:
--scale should be updated to use the correct option --scaling.

Additional info:

Comment 1 Jordan Liggitt 2014-06-19 13:21:27 UTC
Will merge in https://github.com/openshift/origin-server/pull/5528

Comment 2 openshift-github-bot 2014-06-19 20:22:04 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/60c16192dd85eabd92d810db8c05571fa779a6fe
Fix bug 1111009: Typo on app scaling page

Comment 3 Yujie Zhang 2014-06-20 08:01:30 UTC
Tested on devenv-stage_890, the "--scale" has been changed to "--scaling" now, so verify this bug, thanks.