Bug 820168

Summary: Can add cartridge to jenkins server via both rhc client and website.
Product: OKD Reporter: yquan <yquan>
Component: WebsiteAssignee: Clayton Coleman <ccoleman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: rmillner, wsun, xtian, yujzhang
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-08 17:59:16 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:

Description yquan 2012-05-09 10:19:02 UTC
Description of problem:
The cartridge can be added to the jenkins server via both rhc client and website.

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

How reproducible:
Always.

Steps to Reproduce:
[website]
1.Log in the openshift website.
2.Create a jenkins server.
3.Go to the URL "https://[$OpenshiftHost]/app/console/applications/[$Jenkins Server Name]/cartridge_types/[Cartridge name]"
4.click add
[rhc client]
1.rhc app cartridge add -a [$Jenkins server name] -c [Cartridge name]
  
Actual results:
The cartridge can be added to the jenkins server.

Expected results:
The cartridge can't be added to the jenkins server.

Additional info:

Comment 1 Xiaoli Tian 2012-05-09 12:13:48 UTC
Since can not add cartridge to jenkins from web directly from the "Add button" for it , lower the severity,.

Comment 2 Dan McPherson 2012-05-09 14:30:44 UTC
Sorry what don't we want to be able to add to jenkins?  Afaik nothing should be restricted there.

Comment 3 Clayton Coleman 2012-05-09 17:16:22 UTC
Why would we allow cartridges to be added to jenkins?

Comment 4 Rob Millner 2012-05-09 17:38:00 UTC
More special cases jenkins in the broker vs. allowing someone to add mysql to the jenkins cartridge even if they don't need it.  I'd vote allowing it and not having the additional special cases.

Comment 5 Clayton Coleman 2012-05-25 22:05:28 UTC
I removed the restriction.

Comment 6 Yujie Zhang 2012-05-28 10:00:10 UTC
Since the restriction has been removed, tested this issue on devenv_1806, we can add cartridges on jenkins server, so verify this bug.