Bug 966744 - git-push to an idled app won't start the app. in PROD.
Summary: git-push to an idled app won't start the app. in PROD.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-23 20:22 UTC by Peter Ruan
Modified: 2015-05-14 23:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-11 04:09:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Peter Ruan 2013-05-23 20:22:08 UTC
Description of problem:
git-push to an idled app won't start the app. in PROD.

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. wait for the app to become idle or force it to be idled.
2. clone the app, modify and do git-push
  (you can use https://sandbox-servicespace.rhcloud.com/ as an example) pruan+1/vostok08



Actual results:
Service Temporarily Unavailable



Expected results:
app able to start.

Additional info:

Comment 1 Andy Grimm 2013-05-23 23:00:47 UTC
To be a little more precise, the app won't "unidle" at all.  ssh'ing in, hitting the url, and running admin-ctl-gear unidle <uuid> all fail to start the app.  only an "rhc app start" works.

It may also be meaningful that this app is fairly old, and for example, .env does not contain all of the same environment variables that my recent php app does (HOME, TMP dir aliases, etc.)

Comment 2 Jhon Honce 2013-05-28 21:21:47 UTC
In V1 this is a known issue.

In V2 pushing to git does "start" application.

Comment 3 Meng Bo 2013-05-29 10:47:39 UTC
According to comment#2,

Git push will trigger gear stop and gear start for v2 cartridge.
Idled app will be started after git push.

Move the bug to verified.


Total 2 (delta 1), reused 0 (delta 0)
remote: Stopping DIY cart
remote: CLIENT_RESULT: Application is already stopped
remote: Starting DIY cart
To ssh://51a5c7f15ec49a08dd000014.rhcloud.com/~/git/diy1.git/
   f07509a..83fbfe8  master -> master


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