Stack.cache_data_resource_all_attributes looks fishy

Bug #1637137 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Thomas Herve

Bug Description

Filing that one so that I don't forget, but cache_data_resource_all_attributes fetches the 'attributes' in the cache data, but it seems that it fills 'attrs' in check_resource.

Rabi Mishra (rabi)
Changed in heat:
milestone: ocata-1 → ocata-2
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/398240

Changed in heat:
assignee: nobody → Thomas Herve (therve)
status: New → In Progress
Rabi Mishra (rabi)
Changed in heat:
milestone: ocata-2 → ocata-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

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

commit 6282332425a1e7f7a9d1b9cd73c42aeca1d78aff
Author: Thomas Herve <email address hidden>
Date: Wed Nov 16 11:05:05 2016 +0100

    Fix get all attributes with cache data

    Fix Stack.cache_data_resource_all_attributes to use the proper key in
    the cache data to retrieve all attributes. It didn't manage to properly
    test the fix, because cache data is volatile, but it's clearly using the
    wrong key.

    Change-Id: Ia143c1debc806fcdc785c4dfea03db21c5e66f2b
    Closes-Bug: #1637137

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 8.0.0.0b3

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

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.