Bug 1034585 - hot_deploy marker is at presence in the template repo of zend-6.1 apps
Summary: hot_deploy marker is at presence in the template repo of zend-6.1 apps
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Image
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan McPherson
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-26 07:16 UTC by Zhe Wang
Modified: 2015-05-15 00:35 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-28 17:47:52 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Zhe Wang 2013-11-26 07:16:04 UTC
Description of problem:
There exists a hot_depoly marker by default after creating a zend-6.1 app, that is to say, hot deployment is enabled by default for zend-6.1 apps. It would be better that hot_deploy is configured by users purposely, or at least,  we should prompt messages about the presence of the hot_deploy marker to users when they create zend-6.1 apps.


Version-Release number of selected component (if applicable):
vvitek-Zend-QE-preserve

How reproducible:
always


Steps to Reproduce:
1. create a zend-6.1 app
2. ls $APP_REPO/.openshift/markers/
3. create an empty file and trigger a build

Actual results:
In step 2, we can see that there is a hot_deploy marker which is not created by users, and hot deployment is enabled during the build in Step 3:

Total 8 (delta 0), reused 0 (delta 0)
remote: Not stopping cartridge zend because hot deploy is enabled

Expected results:
It would be better that hot_deploy is configured by users, or we should prompt messages about the presence of the hot_deploy marker to users when they create zend-6.1 apps.

Additional info:

Comment 1 Vojtech Vitek 2013-11-26 14:58:46 UTC
This is imho NOTABUG.

Zend strongly demand the hot_deploy marker enabled by default, as they don't want the whole Zend Server to get restarted every time on deploy. They actually use their own deployment daemon to handle restarts of php processes, if needed (because of PHP.INI configuration changes).

Dan, what do you think? Can we have hot_deploy enabled by default in zend cartridge?

Comment 2 David Lowes - Zend 2013-11-28 16:58:13 UTC
I added the hot_deploy marger on purpose since PHP applications do not normally require restarts to function properly. Most PHP app developers make small changes frequently and such restarts might cause them to abandon the product. When a user makes changes that require restart Zend Server performs the restart (or informs the user that it is required).


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