Bug 1035709 - Jenkins build failed after moving the bldr gear of app
Summary: Jenkins build failed after moving the bldr gear of app
Keywords:
Status: CLOSED EOL
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-28 10:24 UTC by Ma xiaoqiang
Modified: 2017-01-13 22:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-13 22:45:24 UTC
Target Upstream Version:


Attachments (Terms of Use)

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/


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