Bug 971822
Summary: | PHP cartridge include path does not include user pear path | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Martin Kosek <mkosek> |
Component: | Containers | Assignee: | Vojtech Vitek <vvitek> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | bmeng, chunchen, dmace, dneary, hripps, jhou, jpazdziora, mpatel, xianrenb, 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: | 2013-06-11 04:18:39 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
Martin Kosek
2013-06-07 10:47:21 UTC
Checked on devenv-stage_369, For php app, found the following line in the php/configuration/etc/conf.d/openshift.conf php_value include_path ".:/var/lib/openshift/74539e1cd0b411e2b9dc22000a9a8ccd/app-root/runtime/repo//libs/:/var/lib/openshift/74539e1cd0b411e2b9dc22000a9a8ccd/php//phplib/pear/pear/php/:/usr/share/pear/" And after install Mail package via deplist, the Mail package is placed under /php//phplib/pear/pear/php/ [mediawiki-bmengdev.dev.rhcloud.com 74539e1cd0b411e2b9dc22000a9a8ccd]\> ls php/phplib/pear/pear/php/ Auth Mail Mail.php Net Move bug to verified. Also verified on STG [php1-sprint25.stg.rhcloud.com 51b3f74adbd93c15ed000173]\> ls php/phplib/pear/pear/php/ Auth Mail Mail.php Net Verified this with v2 -> v2 migration, since devenv-stage_365 ami is wiped out from EC2, have to upgrade from devenv-stage_353 to 369, migrate from v1 to v2. Recreate the bug manually and fix it with migration Steps(after instance is upgraded to devenv-stage_369 and cartridges are migrated to v2): 1. On node, modify the php/env/OPENSHIFT_PHP_IDENT , change value: redhat:php:5.3:0.0.2 => redhat:php:5.3:0.0.1 2. Edit php/versions/shared/configuration/etc/conf.d/openshift.conf to the wrong value(which does not have the Mail pkg path) php_value include_path ".:/var/lib/openshift/0f6d725ed0c111e29ebe22000a8dad5a/app-root/runtime/repo//libs/:/phplib/pear/pear/php/:/usr/share/pear/" 3. rhc-admin-migrate --version 2.0.28a 4. After migration is complete, ssh into gear, check the value of php_value again Results: After step 4: The value is corrected in php/versions/shared/configuration/etc/conf.d/openshift.conf php_value include_path ".:/var/lib/openshift/0f6d725ed0c111e29ebe22000a8dad5a/app-root/runtime/repo//libs/:/var/lib/openshift/0f6d725ed0c111e29ebe22000a8dad5a/php//phplib/pear/pear/php/:/usr/share/pear/" *** Bug 973860 has been marked as a duplicate of this bug. *** Hi, I'm still experiencing this (new) issue with the oVirt website. Fro now I've removed Mail from deplist to allow my application to start - with Mail in deplist, the cart build fails because "pear-Mail has no candidate to install". |