SoftwareDeployments that do not have CREATE as one of their actions will
not have a resource ID when they are updated. In this case,
handle_update should not attempt to retrieve the SoftwareDeployment's
derived config because it will fail.
Closes-Bug: #1629397
Change-Id: Ia49a549e11e2e6a1e9399a1370f990780c17bf0d
(cherry picked from commit 5fc3e013b5df382c2fa6fbfb08c65b4d1c46cd9c)
Reviewed: https:/ /review. openstack. org/381103 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=ea0ba0ae45c bbc243161797efc 6bfde0fb707682
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit ea0ba0ae45cbbc2 43161797efc6bfd e0fb707682
Author: Drago Rosson <email address hidden>
Date: Fri Sep 30 18:14:03 2016 +0000
Don't get derived config if resource ID unset
SoftwareDep loyments that do not have CREATE as one of their actions will ent's
not have a resource ID when they are updated. In this case,
handle_update should not attempt to retrieve the SoftwareDeploym
derived config because it will fail.
Closes-Bug: #1629397 a1e9399a1370f99 0780c17bf0d c2fa6fbfb08c65b 4d1c46cd9c)
Change-Id: Ia49a549e11e2e6
(cherry picked from commit 5fc3e013b5df382