Bug 1111009 - Wrong command line option --scale used in application's gear page on web, which should be --scaling
Summary: Wrong command line option --scale used in application's gear page on web, whi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Jordan Liggitt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 1111419
TreeView+ depends on / blocked
 
Reported: 2014-06-19 04:17 UTC by Liang Xia
Modified: 2015-05-15 01:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1111419 (view as bug list)
Environment:
Last Closed: 2014-07-15 10:31:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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