Bug 1000554

Summary: jenkins: builder size help tips show incorrect resources information for small/medium gears
Product: OpenShift Online Reporter: Nam Duong <nduong>
Component: ContainersAssignee: Dan McPherson <dmcphers>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: bmeng, gideon, jofernan, xtian
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1007551 (view as bug list) Environment:
Last Closed: 2013-09-19 16:48:01 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: 1007551    

Description Nam Duong 2013-08-23 16:18:20 UTC
Description of problem:
jenkins:  builder size help tips show incorrect resources information for small/medium gears

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

How reproducible:
Always

Steps to Reproduce:
1.  Create a jenkins app
2.  Add a jenkins-client cartridge to an application
3.  Navigate to http://jenkins-<yourDomain>.rhcloud.com/job/<buildJobName>/configure
4.  Click on the '?' next to "builder size"

Actual text diplayed:
"
Important: This setting only applies if you set the job Label Expression to match the Project name of your job.

Setting the job label is done automatically for you by the OpenShift client tools, but if you are manually setting up a job, you need to set this. You can set the Label Expression by checking Restrict where this project can be run and then copying your Project name into the text field. The label is used to lookup the job details, including the Builder Type and Builder Size when your slave builders are created.

The builder size specifies the resources needed for your OpenShift build environment.

The resources available in the builder types are as follows:

    Small: 512M storage, 250 procs, 300M ram, 100M swap.
    Medium: 750M storage, 2100 processes, 512M ram, 100M swap
"

Expected results:  

Maybe we should have a link to an FAQ?: https://www.openshift.com/faq/are-there-different-gear-sizes-and-how-much-do-they-cost

Comment 1 Dan McPherson 2013-08-23 19:32:35 UTC
Fixed in jenkins-plugin-openshift-0.6.22-0.el6oso which will be in devenv_3695

Comment 2 Meng Bo 2013-08-26 04:23:50 UTC
Checked on STG(devenv-stage_457), issue has been fixed.



Important: This setting only applies if you set the job Label Expression to match the Project name of your job.

Setting the job label is done automatically for you by the OpenShift client tools, but if you are manually setting up a job, you need to set this. You can set the Label Expression by checking Restrict where this project can be run and then copying your Project name into the text field. The label is used to lookup the job details, including the Builder Type and Builder Size when your slave builders are created.

The builder size specifies the resources needed for your OpenShift build environment.

The resources available in the builder types are as follows:

    Small: 512M storage, 250 procs, 300M ram, 100M swap.
    Medium: 750M storage, 2100 processes, 512M ram, 100M swap

(from OpenShift Origin Jenkins Cloud Plugin)

Comment 3 Dan McPherson 2013-08-26 15:02:04 UTC
That doesn't look like the fixed version.  The fix was only made on master so far which makes sense why you didn't see it.

Comment 4 Xiaoli Tian 2013-08-27 01:14:18 UTC
Move back to ON_QA to re-test on latest devenv

Comment 5 Meng Bo 2013-08-27 02:26:52 UTC
Important: This setting only applies if you set the job Label Expression to match the Project name of your job.

Setting the job label is done automatically for you by the OpenShift client tools, but if you are manually setting up a job, you need to set this. You can set the Label Expression by checking Restrict where this project can be run and then copying your Project name into the text field. The label is used to lookup the job details, including the Builder Type and Builder Size when your slave builders are created.

The builder size specifies the resources needed for your OpenShift build environment.

For OpenShift Online, the resources available in the builder types can be found here.
(from OpenShift Origin Jenkins Cloud Plugin)


Checked on devenv_3711, issue has been fixed. Move bug to verified.

Comment 6 gideon 2013-09-01 06:49:39 UTC
This isn't fixed Online, it's got worse. The help text is the same as before, but the builder selector has changed form a selection drop-down to a free text field.

Comment 7 Dan McPherson 2013-09-03 13:37:29 UTC
Yes this fix hasn't made it to online yet.  But the change from a dropdown to a text box was intentional.