Red Hat Bugzilla – Bug 975253
Application was deleted after a few moments of uptime: --from-code git://github.com/a-boy/openshift-glassfish4.git
Last modified: 2015-05-14 22:23:39 EDT
Description of problem:
When creating an app based on this --from-code git://github.com/a-boy/openshift-glassfish4.git, the application gets created and runs for several moments before it gets automatically deleted:
rhc app-create glassfish diy-0.1 --from-code git://github.com/a-boy/openshift-glassfish4.git
This was reported in the forums:
Oddly enough, if you break the app creation into the following steps, it runs fine with 0 errors:
rhc app-create glassfish diy-0.1
git remote add upstream -m master git://github.com/a-boy/openshift-glassfish4.git
git pull -s recursive -X theirs upstream master
git push -f
Maybe something about this repo?
Created attachment 762287 [details]
errors from gear's server.log
The attached errors were observed and the post-configure hook returned with 'node error'.
This is currently a limitation of --from-code. If your app can't deploy in < 4 mins it's not going to work with --from-code.