commit 51edffd1cb4cd470bb4d98b219ba2b6ff311c8e5
Author: Thomas Bechtold <email address hidden>
Date: Wed Nov 16 12:39:23 2016 +0100
Handle deleted instances when refreshing the info_cache
Commit cdb9b6820dc1 added code to refresh Neutron's info_cache after
a associated floating IP was deleted. This fails in case the instance
itself is deleted. The failure is then:
InstanceInfoCacheNotFound: Info cache for instance $UUID could not \ be found.
So when refreshing the cache, catch the InstanceInfoCacheNotFound
exception.
Change-Id: I560b28f3ec9e017f6a178bf5120534e21d0b9800
Closes-Bug: #1632403
(cherry picked from commit d3bc8c4c58160c4b7e6b86034ca9a3a174767f3b)
Reviewed: https:/ /review. openstack. org/506183 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=51edffd1cb4 cd470bb4d98b219 ba2b6ff311c8e5
Committed: https:/
Submitter: Jenkins
Branch: stable/pike
commit 51edffd1cb4cd47 0bb4d98b219ba2b 6ff311c8e5
Author: Thomas Bechtold <email address hidden>
Date: Wed Nov 16 12:39:23 2016 +0100
Handle deleted instances when refreshing the info_cache
Commit cdb9b6820dc1 added code to refresh Neutron's info_cache after
a associated floating IP was deleted. This fails in case the instance
itself is deleted. The failure is then:
InstanceInf oCacheNotFound: Info cache for instance $UUID could not \
be found.
So when refreshing the cache, catch the InstanceInfoCac heNotFound
exception.
Change-Id: I560b28f3ec9e01 7f6a178bf512053 4e21d0b9800 b7e6b86034ca9a3 a174767f3b)
Closes-Bug: #1632403
(cherry picked from commit d3bc8c4c58160c4