Bug 1035709

Summary: Jenkins build failed after moving the bldr gear of app
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: ImageStreamsAssignee: Jason DeTiberus <jdetiber>
Status: CLOSED EOL QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 2.2.0CC: bleanhar, rthrashe, xtian
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: 2017-01-13 22:45:24 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:

Description Ma xiaoqiang 2013-11-28 10:24:30 UTC
Description of problem:
After triggerring jenkins build,  a gear name by ${appname}bldr will be created on node,  then move this gear to anouther node, trigger jenkins build again, jenkins build will fail.

Version-Release number of selected component (if applicable):
puddle: [2.0/2013-11-27.2]

How reproducible:
always

Steps to Reproduce:
1.create a jenkins server
#rhc app create jenkins jenkins
2.create a app with "--enable-jenkins"
#rhc app create xiaom1 php --enable-jenkins
3.do some changes and git push
#git commit -a -mx; git push
4. find out the bldr gear of the app and the move to another node
#oo-admin-move --gear_uuid $uuid -i $node
5.do some changes and git push again
#git commit -a -mx; git push

Actual results:
Output:
<--snip-->
remote: Waiting for build to schedule........................
remote: **BUILD FAILED/CANCELLED**
remote: Please see the Jenkins log for more details via 'rhc tail'
remote: !!!!!!!!
remote: Deployment Halted!
remote: If the build failed before the deploy step, your previous
remote: build is still running.  Otherwise, your application may be
remote: partially deployed or inaccessible.
remote: Fix the build and try again.
remote: !!!!!!!!
remote: An error occurred executing 'gear postreceive' (exit code: 1)
remote: Error message: Failed to execute: 'control post-receive' for /var/lib/openshift/529707b10e2180e703000110/jenkins-client
remote: 
remote: For more details about the problem, try running the command again with the '--trace' option.
To ssh://529707b10e2180e703000110.com.cn/~/git/xiaom1.git/
   b32cbca..1be0698  master -> maste


Expected results:
Should build successfully!

Additional info:
tailf jenkins.log
NFO: Requesting GET with protocol 1.2 on https://broker.move-rc2.com.cn/broker/rest/domains
Nov 28, 2013 4:11:28 AM com.openshift.internal.client.RestService request
INFO: Requesting GET with protocol 1.2 on https://broker.move-rc2.com.cn/broker/rest/domain/xiaom/applications?include=cartridges
Nov 28, 2013 4:11:29 AM hudson.plugins.openshift.OpenShiftCloud getSlaves
INFO: Found existing slave for: xiaom1bldr
Nov 28, 2013 4:11:29 AM hudson.plugins.openshift.OpenShiftCloud getSlave
INFO: slaveExists xiaom1bldr xiaom1bldr
Nov 28, 2013 4:11:29 AM hudson.plugins.openshift.OpenShiftCloud builderExists
INFO: Capacity remaining - checking for existing type...
Nov 28, 2013 4:11:29 AM hudson.plugins.openshift.OpenShiftCloud builderExists
INFO: Found an existing builder.  Not provisioning...
Nov 28, 2013 4:11:29 AM hudson.plugins.openshift.OpenShiftCloud provisionSlave
INFO: Slave exists. Not provisioning
Nov 28, 2013 4:11:29 AM hudson.plugins.openshift.OpenShiftCloud provision
INFO: Provisioned 0 new nodes
Nov 28, 2013 4:11:29 AM hudson.plugins.openshift.OpenShiftCloud cancelItem
INFO: Cancelling Item
Nov 28, 2013 4:11:29 AM hudson.plugins.openshift.OpenShiftCloud cancelItem
WARNING: Build xiaom1-build xiaom1bldr has been canceled

Comment 3 Rory Thrasher 2017-01-13 22:45:24 UTC
OpenShift Enterprise v2 has officially reached EoL.  This product is no longer supported and bugs will be closed.

Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3.  https://www.openshift.com/container-platform/

More information can be found here: https://access.redhat.com/support/policy/updates/openshift/