Uncaught exceptions in an overridden add_dependencies() method of a plugin
can prevent a stack being loaded from the database. To protect against
programming errors that can result in uncaught exceptions, separate the
calculation of implicit dependencies out from the calculation of explicit
dependencies, and ignore exceptions in the latter when dealing with an
existing stack.
Reviewed: https:/ /review. openstack. org/290027 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=38a46e8d216 02e1ebed22c38ba 53c0095c6be609
Committed: https:/
Submitter: Jenkins
Branch: master
commit 38a46e8d21602e1 ebed22c38ba53c0 095c6be609
Author: Zane Bitter <email address hidden>
Date: Tue Mar 8 11:35:12 2016 -0500
Catch exceptions calculating implicit dependencies
Uncaught exceptions in an overridden add_dependencies() method of a plugin
can prevent a stack being loaded from the database. To protect against
programming errors that can result in uncaught exceptions, separate the
calculation of implicit dependencies out from the calculation of explicit
dependencies, and ignore exceptions in the latter when dealing with an
existing stack.
Change-Id: I939dba57eeba57 10bb77a1b30a872 fca5d38ad71
Closes-Bug: #1554625