Bug 1000554 - jenkins: builder size help tips show incorrect resources information for small/medium gears
Summary: jenkins: builder size help tips show incorrect resources information for sma...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks: 1007551
TreeView+ depends on / blocked
 
Reported: 2013-08-23 16:18 UTC by Nam Duong
Modified: 2015-05-14 23:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1007551 (view as bug list)
Environment:
Last Closed: 2013-09-19 16:48:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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