Bug 798256

Summary: Fail to build job in jenkins for jbossas app
Product: OKD Reporter: bzhao
Component: PodAssignee: Krishna Raman <kraman>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.xCC: dmcphers, mfisher, rmillner
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-03-02 21:56:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
jenkinsLog none

Description bzhao 2012-02-28 12:54:45 UTC
Description of problem:
Can't build job  in jenkins after git push,it's keeping  Waiting for build to schedule,find some error logs in jenkins.log:
Caused by: com.openshift.express.internal.client.httpclient.BadRequestException: {"api_c":["placeholder"],"messages":"","api":"1.1.2","data":"","result":"Invalid Profile: large.  Must be: std or small","broker_c":["namespace","rhlogin","ssh","app_uuid","debug","alter","cartridge","cart_type","action","app_name","api"],"exit_code":1,"debug":""}
 

Version-Release number of selected component (if applicable):
devenv-1648
rhc-0.87.5-1.el6_2.noarch
rhc-cartridge-jenkins-1.4-0.87.4-1.el6_2.noarch
rhc-cartridge-jenkins-client-1.4-0.21.3-1.el6_2.noarch
rhc-cartridge-jbossas-7-0.87.10-1.el6_2.noarch

How reproducible:
Always

Notes:
I have modified instance profile from "std" to "large".

Steps to Reproduce:
1.Create a jboss application
#rhc-create-app -t jbossas-7 -predhat -a jbosstest
2.Create a jenkins application
#rhc-create-app -t jenkins-1.4 -predhat -a jenkinstest
3.Embed jenkins app into jboss app
# rhc-ctl-app -p redhat -e add-jenkins-client-1.4 -a jbosstest

Actual results:
It will hung up for a long time after git push git push an application of embeded jenkins.

Expected results:
Embeded jenkins into jbossas application successfully without any error

Additional info:
# git commit -am test; git add. ; git push
[master f99b4c1] test
 Committer: root <root>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you

If the identity used for this commit is wrong, you can fix it with:

    git commit --amend --author='Your Name <you>'

 1 files changed, 3 insertions(+), 0 deletions(-)
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 257 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Executing Jenkins build.
remote: 
remote: You can track your build at http://jenkinstest-bzhao86.dev.rhcloud.com/job/jbosstest-build
remote: 
remote: Waiting for build to schedule........................................................................................................................................................................................................................................^CKilled by signal 2.

Comment 1 bzhao 2012-02-28 12:55:34 UTC
Created attachment 566303 [details]
jenkinsLog

Comment 2 Krishna Raman 2012-02-28 23:42:26 UTC
Fix in 24ea07031b06402fc71721c92fd4ad795e700612

Comment 3 bzhao 2012-02-29 10:41:00 UTC
Passed verification against rhc-0.87.6-1.el6_2.noarch