Bug 1023345
Summary: | Failed to git push existing app after migration | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Wei Sun <wsun> |
Component: | Containers | Assignee: | Andy Goldstein <agoldste> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.x | CC: | yadu |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-24 03:26:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Wei Sun
2013-10-25 09:00:24 UTC
Tested this bug in INT(devenv_3957),still could reproduce this bug. Result: remote: Preparing build for deployment remote: Deployment id is 503f8c31 remote: Activating deployment remote: Result: failure remote: Activation status: failure remote: Activation failed for the following gears: remote: 5264ff9003ef648bd200006a (Error activating gear: Shell command '/usr/bin/rsync -av --delete /var/lib/openshift/5264ff9003ef648bd200006a/app-deployments/2013-10-29_02-05-44.646/dependencies/ /var/lib/openshift/5264ff9003ef648bd200006a/app-root/runtime/dependencies/' returned an error. rc=23) remote: Deployment completed with status: failure remote: postreceive failed To ssh://5264ff9003ef648bd200006a.rhcloud.com/~/git/pythons.git/ 6ac0c37..9f5ce04 master -> master met same error when git push the non-scalable php/ruby app after upgrade devenv_stage_528 to devenv_3959 remote: Stopping PHP cartridge remote: [Tue Oct 29 07:06:33 2013] [warn] PassEnv variable SHELL was undefined remote: [Tue Oct 29 07:06:33 2013] [warn] PassEnv variable USER was undefined remote: [Tue Oct 29 07:06:33 2013] [warn] PassEnv variable LOGNAME was undefined remote: Waiting for stop to finish remote: Stopping MySQL cartridge remote: Building git ref 'master', commit 6aa0dfc remote: Building PHP cartridge remote: Preparing build for deployment remote: Deployment id is 5d8d93d3 remote: Activating deployment remote: Result: failure remote: Activation status: failure remote: Activation failed for the following gears: remote: 526f72b496300ee01f00001e (Error activating gear: Shell command '/usr/bin/rsync -av --delete /var/lib/openshift/526f72b496300ee01f00001e/app-deployments/2013-10-29_07-06-36.187/build-dependencies/ /var/lib/openshift/526f72b496300ee01f00001e/app-root/runtime/build-dependencies/' returned an error. rc=23) remote: Deployment completed with status: failure remote: postreceive failed To ssh://526f72b496300ee01f00001e.rhcloud.com/~/git/wordpress.git/ c3ca08e..6aa0dfc master -> master Commit pushed to master at https://github.com/openshift/li https://github.com/openshift/li/commit/5ff4dc1e2b97ea3fd7bd59a73876fc7278c7970e Bug 1023345 Make sure app-root/runtime/build-dependencies and dependencies directories get rw permissions so the gear user can modify the contents during activation. Make sure app-root/dependencies and build-depencencies symlinks have correct permissions as well. Verified on devenv_3966 which is upgraded from devenv_stage_528. Result: remote: Stopping NodeJS cartridge remote: Syncing git content to other proxy gears remote: Saving away previously installed Node modules remote: Building git ref 'master', commit f68a004 remote: Building NodeJS cartridge remote: npm info it worked if it ends with ok remote: npm info using npm.37 remote: npm info using node.20 remote: npm info preinstall OpenShift-Sample-App.0 remote: npm info build /var/lib/openshift/52707e81d8e8a717940000bb/app-root/runtime/repo remote: npm info linkStuff OpenShift-Sample-App.0 remote: npm info install OpenShift-Sample-App.0 remote: npm info postinstall OpenShift-Sample-App.0 remote: npm info ok remote: Preparing build for deployment remote: Deployment id is c5a4c807 remote: Activating deployment remote: HAProxy already running remote: HAProxy instance is started remote: Starting NodeJS cartridge remote: Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://52707e81d8e8a717940000bb.rhcloud.com/~/git/n6s.git/ 7f21639..f68a004 master -> master |