Comment 17 for bug 1719333

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

Reviewed: https://review.openstack.org/508312
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=6857b7f3686e93805bcddae91f307c6b62aa72d6
Submitter: Zuul
Branch: master

commit 6857b7f3686e93805bcddae91f307c6b62aa72d6
Author: Zane Bitter <email address hidden>
Date: Thu Sep 28 17:14:25 2017 -0400

    Avoid RPC call in TemplateResource.get_reference_id()

    Most TemplateResources probably don't have an OS::stack_id output defined
    in the template, so it's unfortunate that we have to make an RPC call to
    check that every time we retrieve the resource's reference_id, which we
    have to do for most stack operations.

    To cut down on unnecessary RPC calls, check the template first locally to
    see if there is an OS::stack_id output present.

    Change-Id: Ia32ed6bca453b391371f544ad0a07d49dc0616e3
    Related-Bug: #1719333