Bug 965364
Summary: | Downloadable cart with no usr/template dir fails on creation, no message reported to client | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Clayton Coleman <ccoleman> |
Component: | Containers | Assignee: | Jhon Honce <jhonce> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | chunchen, cryan, dmcphers, jhonce, jokerman, mmccomas, xtian |
Target Milestone: | --- | Keywords: | Regression, Reopened |
Target Release: | 2.x | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-07 23:48:44 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
Clayton Coleman
2013-05-21 03:29:58 UTC
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/72fb39d3bdb6ab44548aa3b05df682abe086879d Bug 965364 - ApplicationRepository#deploy assumed template application existed * Put guards and messaging in place for use case where cartridge did not provide application template Reproduced it on INT(devenv_3250). Verified it on devenv_3258 by removing usr/template from the custom cartridge if exsting. It could be created successfully. #rhc app-create perl2 https://raw.github.com/xltian/perltestonly/master/metadata/manifest.yml The cartridge 'https://raw.github.com/xltian/perltestonly/master/metadata/manifest.yml' will be downloaded and installed Application Options ------------------- Namespace: domx1 Cartridges: https://raw.github.com/xltian/perltestonly/master/metadata/manifest.yml Gear Size: default Scaling: no Creating application 'perl2' ... done Waiting for your DNS name to be available ... done I'm still seeing the original behavior on devenv_5493 (ami-d689bbbe), which is I'm unable to create an app and I get a Reference ID. I created a repo based off of the original devenv cartridge: https://github.com/openshift-qe/missing_template This is the result: The cartridge 'https://raw.githubusercontent.com/openshift-qe/missing_template/master/metadata/manifest.yml' will be downloaded and installed Application Options ------------------- Domain: lnpgf1 Cartridges: https://raw.githubusercontent.com/openshift-qe/missing_template/master/metadata/manifest.yml Gear Size: small Scaling: no Creating application 'mbhqkkky' ... Unable to complete the requested operation due to: An invalid exit code (1) was returned from the server ip-10-229-27-180. This indicates an unexpected problem during the execution of your request. Reference ID: e3dce313e69350b2edd5261842997025 Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/3bfee1212503606edb4957adc3ac3751105ece73 Bug 965364 - Restore creating gear with no git template Verified on devenv-5554. The above fix works; I no longer see the "Reference ID:" error, and the $OPENSHIFT_REPO_DIR/php.log now shows a 404 for the main url, as expected. |