cfn-hup does not run hooks

Bug #1387190 reported by Bruno Bompastor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
heat-cfntools
Fix Released
Medium
Bruno Bompastor

Bug Description

Hi!

I was testing this template "./cfn/F17/WordPress_Single_Instance_With_HA.template" and notice that, if the monitored service is not running, the instance is not deleted and recreated with HARestart.

Version: heat-cfntools.noarch 1.2.6-4.el6 @epel

I also noticed the problem on the code:

https://github.com/openstack/heat-cfntools/blob/master/heat_cfntools/cfntools/cfn_helper.py#L790-L795

You are returning before running the hooks.

Should be easy to fix!

Revision history for this message
Steven Hardy (shardy) wrote :

Re-targetting to heat-cfntools

Changed in heat:
status: New → Invalid
no longer affects: heat
Changed in heat-cfntools:
assignee: nobody → Bruno Bompastor (bruno-bompastor)
Changed in heat-cfntools:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat-cfntools (master)

Reviewed: https://review.openstack.org/141002
Committed: https://git.openstack.org/cgit/openstack/heat-cfntools/commit/?id=d96f73c4ded3ece5c74096b652914491d3077b13
Submitter: Jenkins
Branch: master

commit d96f73c4ded3ece5c74096b652914491d3077b13
Author: Bruno Bompastor <email address hidden>
Date: Thu Dec 11 09:16:13 2014 +0100

    Fixes cfn-hup hooks functionality

    Change-Id: I39ba2cca1f096e866f69fc016f78004ea991c0b6
    Closes-Bug: 1387190

Changed in heat-cfntools:
status: In Progress → Fix Committed
Changed in heat-cfntools:
milestone: none → v1.3.0
importance: Undecided → Medium
Changed in heat-cfntools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.