| Summary: | PassEnv warning messages are shown when deploy php app | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Ma xiaoqiang <xiama> |
| Component: | Image | Assignee: | Jakub Hadvig <jhadvig> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.x | CC: | dmcphers, jhadvig, mfojtik, vvitek, xtian |
| 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-02-26 19:08:00 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: | |
|
Description
Ma xiaoqiang
2013-10-15 10:14:16 UTC
I can see these messages also for other cartridges. I thought this just happen on devenv and it is due to some verbose settings is enabled there. The PR is here: https://github.com/openshift/origin-server/pull/4061 Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/1cea46b79ff1c844b984fab451149c325e1a7c54 Bug 1019219 - Exclude USER,SHELL and LOGNAME from passenv.conf check it on devenv_3979 1.create a php app #rhc app create phpapp php-5.3 --server ec2-184-73-149-206.compute-1.amazonaws.com 2.do some change, then git push Output: remote: Stopping PHP cartridge remote: [Fri Nov 01 00:56:06 2013] [warn] PassEnv variable SHELL was undefined remote: [Fri Nov 01 00:56:06 2013] [warn] PassEnv variable USER was undefined remote: [Fri Nov 01 00:56:06 2013] [warn] PassEnv variable LOGNAME was undefined remote: Waiting for stop to finish remote: Building git ref 'master', commit 3cdd2eb remote: Building PHP cartridge remote: Preparing build for deployment remote: Deployment id is 88d9aac8 remote: Activating deployment remote: Starting PHP cartridge remote: Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://527333ee87fe11c9f6000032.rhcloud.com/~/git/phpapp.git/ b1be18f..3cdd2eb master -> master Hmm I cannot reproduce this on my devenv... Moving to Vojtech for detailed investigation, since I saw other undefined variables in other cartridge as well (some SELINUX env vars as well) and he is the original author of passenv.conf. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/b1daeb55c51caf618021d7769434f02cb2ec90eb Bug 1019219 - PassEnv warning messages are shown when deploy app check on devevn_4363 1.create a php app 2.do some change, then git push Output: Counting objects: 7, done. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 372 bytes, done. Total 4 (delta 2), reused 0 (delta 0) remote: Stopping PHP 5.3 cartridge (Apache+mod_php) remote: Waiting for stop to finish remote: Building git ref 'master', commit 4f4e8ee remote: Checking deplist.txt for PEAR dependency.. remote: Preparing build for deployment remote: Deployment id is 8c0d8399 remote: Activating deployment remote: Starting PHP 5.3 cartridge (Apache+mod_php) remote: ------------------------- remote: Git Post-Receive Result: success remote: Activation status: success remote: Deployment completed with status: success To ssh://52fad1d3333a342d11000001.rhcloud.com/~/git/phpapp.git/ 445cfb6..4f4e8ee master -> master |