Description of problem: After migrated, JENKINS variable is not propagated to new app, that lead to fail to embed jenkins-client to new app. Version-Release number of selected component (if applicable): 1.2/2013-06-05.9 How reproducible: Always Steps to Reproduce: 1. Setup ose-1.1.3 env 2. Create a jenkins app, and create another app with jenkins-client embedded, make sure jenkins build is working fine. 3. Following http://etherpad.corp.redhat.com/OSE-1-2-upgrade-notes to do upgrade testing 4. After upgrade, create a new app. 5. Try to embed jenkins-client. Actual results: $ rhc domain show Applications in jialiu domain ----------------------------- jenkins @ http://jenkins-jialiu.ose11test.com/ (uuid: 4a105df2e6e74e5e9de144b40a7927f6) --------------------------------------------------------------------------------------- Created: Jun 05 5:48 PM Gears: 1 (defaults to small) Git URL: ssh://4a105df2e6e74e5e9de144b40a7927f6.com/~/git/jenkins.git/ SSH: 4a105df2e6e74e5e9de144b40a7927f6.com jenkins-1.4 (Jenkins Server 1.4) -------------------------------- Gears: 1 small $ rhc cartridge add jenkins-client-1.4 -a perltest -p redhat -l jialiu Adding jenkins-client-1.4 to application 'perltest' ... A Jenkins server does not exist in this domain! You must create a Jenkins server before installing this cartridge. Log into node, check perltest-jialiu/.env/ dir, there is no any JENKINS_* variables. Expected results: After migrate, jenkins server app should still working fine, add jenkins-client to new app, should succeed. Additional info:
Rajat is helping us track this issue down.
Verify this against puddle: http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.2/2013-06-13.1/ Setup an OSE env using puddle 1.1.z/2013-06-11.2. Then update this env to puddle 1.2/2013-06-13.1. After upgrade, create a new app named "haha", embed jenkins-client to it. [root@broker ~]# rhc cartridge add jenkins -a haha Using jenkins-client-1.4 (Jenkins Client 1.4) for 'jenkins' Adding jenkins-client-1.4 to application 'haha' ... Success jenkins-client-1.4 (Jenkins Client 1.4) --------------------------------------- Gears: Located with php-5.3 Job URL: https://jenkins-jia.ose11test.com/job/haha-build/ RESULT: Added jenkins-client-1.4 to application haha Associated with job 'haha-build' in Jenkins server. Job URL: https://jenkins-jia.ose11test.com/job/haha-build/ Jenkins client 1.4 has been added to: haha ssh into the app and check the JENKINS related variable [haha-jia.ose11test.com 51baca25b3ec1f8b9d000017]\> env|grep jenkins OPENSHIFT_JENKINS_CLIENT_IDENT=redhat:jenkins-client:1.4:0.0.1 JENKINS_URL=https://jenkins-jia.ose11test.com/ OPENSHIFT_JENKINS_CLIENT_DIR=/var/lib/openshift/51baca25b3ec1f8b9d000017/jenkins-client/
Closing all bugs introduced, fixed, and verified during 1.2 release work (thus never shipped).