Bug 851315 - User deploy script is not called on the local serving gear on a scaled application
Summary: User deploy script is not called on the local serving gear on a scaled applic...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Ram Ranganathan
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-23 18:42 UTC by Krishna Raman
Modified: 2015-05-14 22:58 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-17 21:29:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Krishna Raman 2012-08-23 18:42:40 UTC
Description of problem:
User deploy script is not called on the local serving gear on a scaled application

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


How reproducible:
Always

Steps to Reproduce:
1. Created a scaled app with 1 gear (haproxy + local serving php)
2. Push code to the app
  
Actual results:
deploy action hook is not invoked

Expected results:
deploy action hook should be invoked

Additional info:

Comment 1 Adam Miller 2012-08-23 19:40:02 UTC
Master Pull Request:
https://github.com/openshift/crankcase/pull/432

Stage Pull Request:
https://github.com/openshift/crankcase/pull/431

Comment 2 Adam Miller 2012-08-23 22:51:54 UTC
Merged into STG - package is cartridge-haproxy-1.4-0.14.6-1.el6_3.noarch.rpm

Included in devenv-stage_234

Comment 3 Jianwei Hou 2012-08-24 06:54:10 UTC
Verified on stage and devenv_2068

Steps:
1.Create a scalable app
2.in app's repo, vi .openshift/action_hooks/deploy, add some additional codes and messages, eg: touch $OPENSHIFT_REPO_DIR/test
3.git commit && git push
4.After git push, ssh into both gears, local and haproxy, check touched files exist under $OPENSHIFT_REPO_DIR

Result:
File exist, deploy action hook is invoked.


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