Hide Forgot
Description of problem: show Permission denied for performance.conf when deploy php/ruby/python app after migration Version-Release number of selected component (if applicable): devenv_stage_518--->devenv_3921 How reproducible: Always Steps to Reproduce: 1. create an wordpress quickstart 2. upgrade 3. in local repo, make some change and git push Actual results: [root@Daphne wordpress]# git add .; git commit -am change3 ; git push [master 43d81fd] change3 Committer: root <root@Daphne.(none)> 0 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 aca Counting objects: 3, done. Delta compression using up to 8 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (2/2), 218 bytes, done. Total 2 (delta 1), reused 0 (delta 0) remote: Stopping PHP cartridge remote: httpd (no pid file) not running remote: Stopping MySQL cartridge remote: Building git ref 'master', commit 43d81fd remote: Building PHP cartridge remote: Preparing build for deployment remote: Prepared deployment artifacts in /var/lib/openshift/5264a0c8281d3266540000d0/app-deployments/2013-10-21_06-29-11.850 remote: Deployment id is cab836eb remote: Activating deployment remote: Starting MySQL cartridge remote: remote: Database schema not yet added, WordPress is ready for install by visiting the site. remote: Starting PHP cartridge remote: /var/lib/openshift/5264a0c8281d3266540000d0/php/bin/control: line 13: /var/lib/openshift/5264a0c8281d3266540000d0/php//configuration/etc/conf.d/performance.conf: Permission denied remote: Result: failure remote: Activation status: failure remote: Activation failed for the following gears: remote: 5264a0c8281d3266540000d0 (Error activating gear: Failed to execute: 'control start' for /var/lib/openshift/5264a0c8281d3266540000d0/php) remote: Deployment completed with status: failure remote: postreceive failed To ssh://5264a0c8281d3266540000d0.rhcloud.com/~/git/wordpress.git/ 2c9ba79..43d81fd master -> master after deploy failed, app show 503 in web Expected results: app should deploy successfully without any error Additional info: 1. ruby quickstart redmine deploy failed and show 503 in web too. 2. show "Permission denied" when deploy python django app, but the app can be deploy successfully and available in webpage.
*** Bug 1023256 has been marked as a duplicate of this bug. ***
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/f5f4ce8b12d801d07d30a809b743b8ed0d6162d1 Bug 1021472: Correctly migrate cart dependency dirs
Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/0f7d6e2fca11442b3aef359e8315d96832c1b417 Bug 1021472: Correctly migrate cart dependency dirs
https://github.com/openshift/origin-server/pull/4016
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/17e075581479a3d0a2ab6860d4f8c1744887d16d Bug 1021472: Mark php 0.0.7 upgrade incompatible Ensure the performance.conf file is properly managed during upgrades by marking the 0.0.7 version incompatible with prior versions.
Test the app after migration from devenv_stage_528 to devenv_3959 Block by the #bug 1023345
upgrade from devenv_stage_528 to devenv_3966 Test PHP/RUBY/PYTHON apps, php apps have fixed, but the "permission denied" issue still can be reproduced when deploy ruby and python apps. remote: Stopping Ruby cartridge remote: httpd (no pid file) not running remote: Building git ref 'master', commit 72cd68e remote: Building Ruby cartridge remote: Preparing build for deployment remote: Deployment id is b129a64b remote: Activating deployment remote: Starting Ruby cartridge remote: /var/lib/openshift/52707ed6d8e8a717940000f7/ruby/bin/control: line 15: /var/lib/openshift/52707ed6d8e8a717940000f7/ruby//etc/conf.d/performance.conf: Permission denied remote: Result: failure remote: Activation status: failure remote: Starting PYTHON cart remote: /var/lib/openshift/52707e9bd8e8a75e1f000001/python//usr/versions/2.6/bin/control: line 28: /var/lib/openshift/52707e9bd8e8a75e1f000001/python//etc/conf.d/performance.conf: Permission denied remote: Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://52707e9bd8e8a75e1f000001.rhcloud.com/~/git/django.git/
We believe there isn't an issue that still exists for this bug. We should do the following: - Confirm that you are running oo-admin-upgrade with --ignore-cartridge-version - Try against the latest devenv - Try again with stage when those apps are updated.
*** Bug 1024304 has been marked as a duplicate of this bug. ***
*** Bug 1023901 has been marked as a duplicate of this bug. ***
https://github.com/openshift/origin-server/pull/4057
Steps 1. prepare apps on devenv_stage_528 2. upgrade to latest devenv (devenv_3973) with --ignore-cartridge-version 3. check the apps after migration #bug 1021472: * Test OK for php/ruby/python old apps after migration. * Test OK with php/ruby/python new app on devenv_3973 * Will test the app on stg after stg upgrade. remote: HAProxy instance is started remote: Starting Ruby cartridge remote: Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://5271fa786e177ce4ba000134.rhcloud.com/~/git/r18s.git/ b32724d..3a312d8 master -> master remote: Starting PYTHON cart remote: Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://5271f8a96e177c2d9300010f.rhcloud.com/~/git/django.git/ 8519d91..8ea089a master -> master #bug 1023901 Both ruby non-scalable and scalable app are available after migration then move this bug to verified.