Don't recalculate EndpointMap to get outputs
authorZane Bitter <zbitter@redhat.com>
Fri, 3 Feb 2017 22:52:10 +0000 (17:52 -0500)
committerZane Bitter <zbitter@redhat.com>
Fri, 3 Feb 2017 22:52:10 +0000 (17:52 -0500)
commitb2ee58c7f6883011b4ba8b387eedc63d3600aea0
tree64742600a04758f4653a0c6500fb5a88a6d60a4b
parent17b3de6d56b8d8aa2b8517ca085212482d8da8ca
Don't recalculate EndpointMap to get outputs

As of Ocata, whenever Heat needs to get the value of an output from a
nested Stack it will still load the Stack in memory and re-resolve the
output value. This means that the EndpointMap's endpoint_map output, which
is huge, gets loaded and recalculated whenever showing the EndpointMap or
KeystoneUrl outputs of the main (overcloud) stack. To avoid this, store the
value locally in an OS::Heat::Value resource. This means that the
EndpointMap will only be resolved once, during the stack create/update, and
the outputs can refer to that value.

Change-Id: Ia79eceeea309f5508713a310849f5d366a035430
Depends-On: If0f80cab94c28514d1569b1025362ab9d9d31512
overcloud.j2.yaml