Bug 1035183 - Fail to git push for scalable app with jenkins-client enabled after upgrade ose from 1.2 to 2.0.
Summary: Fail to git push for scalable app with jenkins-client enabled after upgrade o...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cluster Version Operator
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-27 09:08 UTC by Johnny Liu
Modified: 2014-02-04 14:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-04 14:45:52 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Johnny Liu 2013-11-27 09:08:05 UTC
Description of problem:
After upgrade ose from 1.2 to 2.0, scalable app can not git push.

Version-Release number of selected component (if applicable):
openshift-enterprise-upgrade-node-2.0.0b-1.git.16.a0bff65.el6op.noarch
openshift-enterprise-release-2.0.0b-1.git.16.a0bff65.el6op.noarch

How reproducible:
Always

Steps to Reproduce:
1.Setup ose-1.2 env
2.Create a scalable php app.
3.Then upgrade env to 2.0.
4.Do some change to this app, then git push

Actual results:
$ git commit -a -mx; git push
[master bc04207] x
<--snip-->
Writing objects: 100% (4/4), 365 bytes | 0 bytes/s, done.
Total 4 (delta 2), reused 0 (delta 0)
remote: Syncing git content to other proxy gears
remote: private method `select' called for nil:NilClass
To ssh://52958555aeb9059466000055.com.cn/~/git/scaphpapp.git/
   63c7362..bc04207  master -> master


Expected results:
git push should succeed.

Additional info:

Comment 2 Johnny Liu 2013-11-27 09:22:58 UTC
In the step2, add jenkins-client to this app.

Comment 3 Johnny Liu 2013-11-27 09:25:59 UTC
After git push failure, then remove jenkins-client-1.4 from app, add jenkins-client-1 to this app, do git push. Still fail, but different error.

In app's jenkins Console Output, get the following error:
<--snip-->
+ rsync --delete-after -azO -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh /var/lib/openshift/5295b8dcaeb9057c9900005f/php/phplib/ '52958555aeb9059466000055.com.cn:${OPENSHIFT_PHP_DIR}phplib/'
+ rsync --delete-after -azO -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh /var/lib/openshift/5295b8dcaeb9057c9900005f/app-root/runtime/repo/ '52958555aeb9059466000055.com.cn:${OPENSHIFT_REPO_DIR}'
+ /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh 52958555aeb9059466000055.com.cn 'gear remotedeploy'
Preparing build for deployment
deployment_datetime is required
Build step 'Execute shell' marked build as failure
Archiving artifacts
Finished: FAILURE
<--snip-->

Comment 4 Jason DeTiberus 2013-12-11 21:13:45 UTC
I'm not seeing this using the latest pad (http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-11)

Comment 5 Johnny Liu 2013-12-12 07:02:48 UTC
Verified this bug following http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-11, and PASS.

Jenkins build is doing well.


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