Hide Forgot
Description of problem: After upgrade ose from 1.2 to 2.0, ruby-1.8 app fail to do git push with the following error: remote: /var/lib/openshift/529812ecf16d95099e0001fb/ruby//lib/util: line 36: /var/lib/openshift/529812ecf16d95099e0001fb/ruby//env/OPENSHIFT_RUBY_PATH_ELEMENT: Permission denied After upgrade, create a new ruby-1.8 app, OPENSHIFT_RUBY_PATH_ELEMENT is generated in gear dir, so obviously ose-upgrade does not generate this ENV file during upgrade process. Version-Release number of selected component (if applicable): http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-04 How reproducible: Always Steps to Reproduce: 1. Setup ose-1.2 env 2. Create ruby-1.8 app on the node. 3. Upgrade env from 1.2 to 2.0 4. Git push for this app Actual results: Fail to git push. $ git push remote: Waiting for stop to finish remote: Syncing git content to other proxy gears remote: Saving away previously bundled RubyGems remote: Building git ref 'master', commit 2d9d411 remote: /var/lib/openshift/529812ecf16d95099e0001fb/ruby//lib/util: line 36: /var/lib/openshift/529812ecf16d95099e0001fb/ruby//env/OPENSHIFT_RUBY_PATH_ELEMENT: Permission denied remote: An error occurred executing 'gear postreceive' (exit code: 1) remote: Error message: Failed to execute: 'control update-configuration' for /var/lib/openshift/529812ecf16d95099e0001fb/ruby remote: remote: For more details about the problem, try running the command again with the '--trace' option. To ssh://529812ecf16d95099e0001fb.com.cn/~/git/ruby18scal.git/ 9609dc1..2d9d411 master -> master Expected results: Git push succeed. Additional info: ruby-1.9 is working well.
Fixed as of the December 5th pad (http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-05) https://github.com/openshift/enterprise/pull/55
Verified this bug following http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-05, and PASS.