diff options
author | Zuul <zuul@review.opendev.org> | 2021-06-18 07:08:49 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2021-06-18 07:08:49 +0000 |
commit | e290a0aad351fe6ada7ea2e5bf300ce5df7574a5 (patch) | |
tree | e946cc3325a665afd9fc5d671f5e2fa7710d837c /heat | |
parent | f341395a4672ac913dc73d084a6f78cc0394e288 (diff) | |
parent | 9d29e035da797b89dc70807506364083b488c0c6 (diff) | |
download | heat-e290a0aad351fe6ada7ea2e5bf300ce5df7574a5.tar.gz |
Merge "Calculate resource data prior to legacy updates"
Diffstat (limited to 'heat')
-rw-r--r-- | heat/engine/stack.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/heat/engine/stack.py b/heat/engine/stack.py index 829609f06..3503c2f34 100644 --- a/heat/engine/stack.py +++ b/heat/engine/stack.py @@ -1387,6 +1387,11 @@ class Stack(collections.abc.Mapping): Update will fail if it exceeds the specified timeout. The default is 60 minutes, set in the constructor """ + # Populate resource data needed for calulating frozen definitions + # (particularly for metadata, which doesn't get stored separately). + self._update_all_resource_data(for_resources=True, + for_outputs=False) + self.updated_time = oslo_timeutils.utcnow() updater = scheduler.TaskRunner(self.update_task, newstack, msg_queue=msg_queue, notify=notify) |