Bug 824521
| Summary: | Applications do not work after creating from template | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | OKD | Reporter: | Fotios Lindiakos <fotios> | ||||||||
| Component: | Pod | Assignee: | Krishna Raman <kraman> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||||||
| Severity: | medium | Docs Contact: | |||||||||
| Priority: | medium | ||||||||||
| Version: | 2.x | CC: | jkeck, mfisher, qgong, rmillner | ||||||||
| Target Milestone: | --- | Keywords: | Triaged | ||||||||
| Target Release: | --- | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2012-06-08 17:59: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: | |||||||||||
| Attachments: |
|
||||||||||
Created attachment 586406 [details]
Application log
Created attachment 586407 [details]
Broker log
Confirmed that by pushing to the repo, the action_hooks are triggered and the application will function properly. This was testing on a Rails app. verified on devenv_1809
Steps:
1.create template by yaml file:
Vendor: unknown
Requires:
- php-5.3
Architecture: noarch
Description:
License: unknown
Subscribes:
doc-root:
Required: false
Type: FILESYSTEM:doc-root
Version: 0.0
2.then create app by this template
3.access app, show content "Error establishing a database connection"
|
Created attachment 586405 [details] Broker log Description of problem: After creating an application based on an application template, the new applications do not work. For example in a Rails application, it complains about not being able to find the rake gem. This is probably caused by the .openshift/action_hooks not being executed. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Deploy application based on template 2. Navigate to application URL 3. Actual results: Passenger error about not being able to find rake (Similar errors for other templates) Expected results: Application should work Additional info: Attached are logs from the broker (for when the application is created) and from the application itself.