Bug 1031916

Summary: Correct gear cost info should display when adding cartridge using url for a scalable app
Product: OpenShift Online Reporter: Tian Feng <tfeng>
Component: WebsiteAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.xCC: jliggitt, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1032982 (view as bug list) Environment:
Last Closed: 2014-01-24 03:30:20 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:
Bug Depends On:    
Bug Blocks: 1032982    

Description Tian Feng 2013-11-19 06:42:21 UTC
Description of problem:
Go to web console and create a scalable app. Add community cartridge using url for the app, then find the gear cost will show "+0-1", and "This will add 0 gears to your account" when mouse acrossing gear info. Since we may not know what kind of cartridge will be added, so it's not proper to show "This will add 0 gears to your account".

Version-Release number of selected component (if applicable):
devenv_4047

How reproducible:
Always

Steps to Reproduce:
1. Go to web console and create a scalable app
2. Add community cartridge using url and check gear cost info
3. 

Actual results:
It warns with "This will add 0 gears to your account" when mouse acrossing.

Expected results:
The warning should be set to "0-1 gears to your account".

Additional info:

Comment 1 Jordan Liggitt 2013-11-19 20:07:56 UTC
Will merge in https://github.com/openshift/origin-server/pull/4199

Comment 2 openshift-github-bot 2013-11-19 23:12:36 UTC
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/a61aaad56b226d0deb1d71b9d81844cb223acbb7
Fix bug 1031916: Show correct gear cost tooltip

Comment 3 Tian Feng 2013-11-20 02:25:04 UTC
Test on devenv_4051. When adding community cartridge using url, it will warn user with "This will add between 0 and 1 gear to your account." So verify this bug, thanks!