Bug 807262

Summary: Failed to remove embedded jenkins-client from scalable apps
Product: OKD Reporter: jizhao
Component: ContainersAssignee: Dan McPherson <dmcphers>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: szhou
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-27 11:48:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description jizhao 2012-03-27 11:47:30 UTC
Description of problem:
Create a scalable app and a jenkins server app. Embed jenkins client to the scalable app and remove jenkins client. Got "jenkins client not embedded"

Version-Release number of selected component (if applicable):
rhc-cartridge-jenkins-1.4-0.89.2-1.git.0.f81fd03.el6.noarch
rhc-cartridge-jenkins-client-1.4-0.23.2-1.git.0.c5c6a7e.el6.noarch
jenkins-plugin-openshift-0.5.4-1.el6_2.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Create a scalable app using REST API
$ curl -k -H "Accept: application/xml" --user "<user>:<pass>"  https://localhost/broker/rest/domains/<domain_name>/applications -X POST -d name=<appname> -d cartridge=php-5.3 -d scale=true
2.Create a jenkins server app
$ rhc app create -a server -t jenkins-1.4 -d
3.Embed jenkins client to the app
$ rhc app cartridge add -a <appname> -c jenkins-client-1.4 -d
4.Remove embedded jenkins client
$ rhc app cartridge remove -a <appname> -c jenkins-client-1.4 -d

  
Actual results:
<--------------output--------------->
[root@guest ~]# rhc app cartridge remove -a app4 -c jenkins-client-1.4 -d 
Password: 
Contacting https://ec2-23-20-50-173.compute-1.amazonaws.com
Problem reported from server. Response code was 400.

DEBUG:


Exit Code: 1
api_c: placeholder
broker_c: namespacerhloginsshapp_uuiddebugaltercartridgecart_typeactionapp_nameapi
API version:    1.1.3

RESULT:
jenkins-client-1.4 not embedded in 'app4', try adding it first
<------------------------------------>

Expected results:
jenkins client should be removed successfully.

Additional info:

Comment 1 jizhao 2012-03-27 11:48:47 UTC

*** This bug has been marked as a duplicate of bug 807171 ***