Red Hat Bugzilla – Bug 824521
Applications do not work after creating from template
Last modified: 2015-05-14 21:55:05 EDT
Created attachment 586405 [details]
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):
Steps to Reproduce:
1. Deploy application based on template
2. Navigate to application URL
Passenger error about not being able to find rake
(Similar errors for other templates)
Application should work
Attached are logs from the broker (for when the application is created) and from the application itself.
Created attachment 586406 [details]
Created attachment 586407 [details]
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
1.create template by yaml file:
2.then create app by this template
3.access app, show content "Error establishing a database connection"