Bug 975253 - Application was deleted after a few moments of uptime: --from-code git://github.com/a-boy/openshift-glassfish4.git
Summary: Application was deleted after a few moments of uptime: --from-code git://git...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Templates
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-17 23:19 UTC by Nam Duong
Modified: 2015-05-15 02:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-19 00:10:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
errors from gear's server.log (53.19 KB, text/x-log)
2013-06-18 04:03 UTC, Rajat Chopra
no flags Details

Description Nam Duong 2013-06-17 23:19:30 UTC
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:  
https://www.openshift.com/forums/openshift/my-glassfish4-diy-application-was-auto-deleted-after-running-a-few-moment-why  


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
cd glassfish
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?

Comment 1 Rajat Chopra 2013-06-18 04:03:20 UTC
Created attachment 762287 [details]
errors from gear's server.log

The attached errors were observed and the post-configure hook returned with 'node error'.

Comment 2 Dan McPherson 2013-06-19 00:10:42 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.