Hide Forgot
Description of problem: After upgrade to 2.0 from 1.2, python and ruby app could not be started via rhc command, ssh into gear, run "ctl_app start", still failed, see the following to get more details. Version-Release number of selected component (if applicable): openshift-enterprise-release-2.0.0c-1.git.2.acc7a39.el6op.noarch.rpm openshift-enterprise-upgrade-broker-2.0.0c-1.git.2.acc7a39.el6op.noarch.rpm openshift-enterprise-upgrade-node-2.0.0c-1.git.2.acc7a39.el6op.noarch.rpm openshift-enterprise-yum-validator-2.0.0c-1.git.2.acc7a39.el6op.noarch.rpm How reproducible: Always Steps to Reproduce: 1. Setup ose-1.2 env 2. Create python-2.6, ruby-1.8 and ruby-1.9 app on the node 3. Upgrade env from 1.2 to 2.0 4. Access the app Actual results: "503 Service Temporarily Unavailable" error is seen, try to start this app using rhc, still failed. Ssh into gear, run "ctl_app start" get the following error. For ptyon-2.6: > ctl_app start Starting gear... Starting PYTHON cart Syntax error on line 8 of /var/lib/openshift/529c4c58f16d955c76000201/python/etc/conf.d/performance.conf: Invalid thread count for WSGI daemon process. An error occurred executing 'gear start' (exit code: 1) Error message: Failed to execute: 'control start' for /var/lib/openshift/529c4c58f16d955c76000201/python For ruby-1.8 and ruby-1.9: Starting gear... Starting Ruby cartridge Syntax error on line 5 of /var/lib/openshift/529c4cc3f16d955c7600022b/ruby/etc/conf.d/performance.conf: Value for PassengerMaxPoolSize must be greater than or equal to 1. An error occurred executing 'gear start' (exit code: 1) Error message: Failed to execute: 'control start' for /var/lib/openshift/529c4cc3f16d955c7600022b/ruby After upgrade, in the /var/lib/openshift/<uuid>/<cartridge>/etc/conf.d/, two config files are added, but its valued is not configured correctly. performance.conf passenv.conf Expected results: App could be started successfully. Additional info:
Please try with the latest pad: http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-03 After fixing a broken upgrade with the mysql cartridge (which is included in the puddle on the pad above) I was not able to replicate.
Verified this bug following http://etherpad.corp.redhat.com/ose-2-0-upgrade-2013-12-04, and PASS.