If a provider stack contained an OS::stack_id output and there was an error
in the output, we would raise TemplateOutputError when trying to calculate
the reference ID of the facade resource. Since we do that in many API
calls, such an error could render the stack effectively unusable.
If we encounter such an error, log it and fall back to the default
reference ID.
Reviewed: https:/ /review. openstack. org/523137 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=6a27419521b ae9cf6b0ca033d0 4ef268abebe1bd
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 6a27419521bae9c f6b0ca033d04ef2 68abebe1bd
Author: Zane Bitter <email address hidden>
Date: Mon Sep 25 14:32:13 2017 -0400
Ignore errors in OS::stack_id output
If a provider stack contained an OS::stack_id output and there was an error
in the output, we would raise TemplateOutputError when trying to calculate
the reference ID of the facade resource. Since we do that in many API
calls, such an error could render the stack effectively unusable.
If we encounter such an error, log it and fall back to the default
reference ID.
Change-Id: I1bc921fe74c54e b0999541ef36afc 42b9c19e9bc 2c20fffb6d85617 d1775e5844)
Partial-Bug: #1712280
Related-Bug: #1719333
(cherry picked from commit af0feeb18a4f5fb