Merge "Don't attempt to update tmpl ID when resource in progress"

This commit is contained in:
Zuul 2017-10-23 15:10:44 +00:00 committed by Gerrit Code Review
commit 5e89b8a1a6
1 changed files with 2 additions and 0 deletions

View File

@ -1384,6 +1384,8 @@ class Resource(status.ResourceStatus):
runner(timeout=timeout, progress_callback=progress_callback)
except UpdateReplace:
raise
except exception.UpdateInProgress:
raise
except BaseException:
with excutils.save_and_reraise_exception():
update_templ_id_and_requires(persist=True)