Bug 973860
Summary: | Possible Migration Bug(s) | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | xianrenb |
Component: | Containers | Assignee: | Paul Morie <pmorie> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | agrimm, bmeng, chunchen, dneary, jhonce, jhou, mpatel, sannam |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-22 15:16:22 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
xianrenb
2013-06-13 02:39:03 UTC
We have fixed this issue for new apps. Old apps will be migrated soon. For reference - https://bugzilla.redhat.com/show_bug.cgi?id=971822 *** This bug has been marked as a duplicate of bug 971822 *** Hi, My app has also had multiple serious issues recently - we have no email being sent any more, and the application does not build - no install candidate for pear-Mail is found (pear-Mail is a dependency in deplist.txt) The problem here is that pear is not finding $HOME/.pearrc, so the default system-wide configuration of pear, which sets the PEAR directory to /usr/share/pear, is being used. The "gear" command clears all environment variables and only loads those defined in ~/.env/ files, so when ~/.env/HOME is not present, pear commands do not work. It appears that the v1->v2 migration did not add .env/HOME to gears. https://github.com/openshift/li/pull/1692 The script fix_home_env.sh must be run to fix gears missing the HOME env var. Verified with https://github.com/openshift/li/pull/1692 Remove the .env/HOME and run the fixing script, the .env/HOME is recreated with correct content, ownership and selinux labels. |