Bug 990678
Summary: | Drupal 8 quickstart is failing with error: "Unexpected error: Cartridge created the following directories in the gear home directory" | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Nam Duong <nduong> |
Component: | Templates | Assignee: | Vojtech Vitek <vvitek> |
Status: | CLOSED NOTABUG | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.x | CC: | dmace, hripps, jofernan, steven.merrill |
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-09-02 15:56:09 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
Nam Duong
2013-07-31 17:50:02 UTC
Hi - cartridge author here. I can confirm that that is the case. I am speaking with Dan Mace in #openshift-dev about this, and it appears that some recent changes to cartridge initialization code have happened and OpenShift Online throws an exception when the vendored PHP and mod_fastcgi get ungzipped into ~/usr. Dan is investigating when this change happened and what the best course of action will be. The cartridge authors documentation/specification has always described the rules for writing to $OPENSHIFT_HOMEDIR: http://openshift.github.io/documentation/oo_cartridge_developers_guide.html#reserved-directories However, these restrictions weren't always properly enforced in code. This recent commit enforces the restriction in question: https://github.com/openshift/origin-server/commit/addfed8d72fa1df3fb1e152b3c0b5969e7997f26 Dan and Jhon gave me some great help today and as a result, the Drupal 8 quickstart (and more specifically, the PHP 5.4 cartridge) rides again. |