total_resources() does not handle nested stack NotFound

Bug #1424899 reported by Angus Salkeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Angus Salkeld

Bug Description

The total_resources() stack method does not handle NotFound which is raised by nested().
This seems to happen often enough in an autoscaling situation when lots of resources are coming and going.
(Also a patch I am working on seems to change the timing of events so this happens more often).

Angus Salkeld (asalkeld)
Changed in heat:
assignee: nobody → Angus Salkeld (asalkeld)
status: New → Triaged
importance: Undecided → Medium
Angus Salkeld (asalkeld)
Changed in heat:
milestone: none → kilo-3
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/158546

Changed in heat:
status: Triaged → In Progress
Steven Hardy (shardy)
tags: added: juno-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

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

commit 5f37259d9c2f9397f4aa9e110eb91331b3d2e478
Author: Angus Salkeld <email address hidden>
Date: Tue Feb 24 12:36:28 2015 +1000

    Handle NotFound exception in total_nested()

    Change-Id: Ia6044539bd78c7202a6cde84bb9567c8df5b8904
    Closes-bug: 1424899

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-3 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/245373

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

Change abandoned by Jeremy Stanley (<email address hidden>) on branch: stable/juno
Review: https://review.openstack.org/245373
Reason: I'm abandoning this change in preparation for deleting the stable/juno branch, which is now at end of life.

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.