Convergence: Unhandled exception in resource plugin causes stack to get stuck in-progress

Bug #1592110 reported by Jason Dunsmore
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Jason Dunsmore

Bug Description

When convergence_engine is enabled, an unhandled AttributeError[1] causes a stack to get stuck in-progress forever. When convergence_engine is disabled, the stack action completes successfully and the value of the availability zone attribute is "null".

[1] https://github.com/openstack/heat/blob/c758e25/heat/engine/resources/aws/ec2/instance.py#L385-L386

summary: - Convergence: Unhandled exception in resource plugins causes stack to get
+ Convergence: Unhandled exception in resource plugin causes stack to get
stuck in-progress
Jaime Guerrero (jg3755)
Changed in heat:
assignee: nobody → Jaime Guerrero (jg3755)
Revision history for this message
Jaime Guerrero (jg3755) wrote :

Hi Jason. Was there a particular template you used that triggered this exception?

Revision history for this message
Jason Dunsmore (jasondunsmore) wrote :

Hi Jaime, here is the template:
http://paste.openstack.org/show/516312/

But you have to turn off the "OS-EXT-AZ:availability_zone" extension in Nova to see the problem.

Changed in heat:
assignee: Jaime Guerrero (jg3755) → Jason Dunsmore (jasondunsmore)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/339250

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/339837

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/339837
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=e7e13ca4d0558615aa9f876466303e3821cd7073
Submitter: Jenkins
Branch: master

commit e7e13ca4d0558615aa9f876466303e3821cd7073
Author: Jason Dunsmore <email address hidden>
Date: Fri Jul 8 16:31:35 2016 -0500

    Handle case where the Nova AZ extension is disabled

    ..in the AWS::EC2::Instance's availability_zone attribute resolution.

    Change-Id: I4ef3ff3498255f589182e1f736a3d17eafaf1a00
    Closes-Bug: #1592110

Changed in heat:
status: In Progress → Fix Released
Thomas Herve (therve)
Changed in heat:
milestone: none → newton-3
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 7.0.0.0b3

This issue was fixed in the openstack/heat 7.0.0.0b3 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by Zane Bitter (<email address hidden>) on branch: master
Review: https://review.openstack.org/339250
Reason: This was resolved by I56ecfa7a9a328d1435c1f34ab14e56effb81bb21

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.