Don't store attributes when the resource is not stored yet

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

Bug Description

Rally is seeing failures with the Resource.store_attributes method because there is an assert on the id. We should check that when calling store_attributes in stack_show.

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

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

commit fda92763c947b04b3b38674f52e7b0bd851d231f
Author: Thomas Herve <email address hidden>
Date: Fri Jun 30 14:18:45 2017 +0200

    Don't store attributes if resource not stored

    If stack-show is called at an inopportune moment in convergence, we can
    attempt to store the attributes of a resource that isn't actually in the
    database. This causes occasional gate failures due to an assert.

    Closes-Bug: #1701569
    Change-Id: I50de08ae6b40958781ef4223c82a5c195b0757bf

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

This issue was fixed in the openstack/heat 9.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.