If a port update and a subnet delete interleave, there is a
chance that the IPAM update operation raises this exception.
Rather than throwing that up to the user under some sort of
conflict, bubble up a retry instead; that should bring things
back to sanity.
Closes-bug: #1622616
Change-Id: Ia8cac09349d4cb722737bdf0bec6c54b9e77f31d
(cherry picked from commit 873b5ac837220c11e204c6610782f8b86c90bf03)
Reviewed: https:/ /review. openstack. org/375867 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=37dc141da1a 5bbede7b7d13145 4c54b515074e6b
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 37dc141da1a5bbe de7b7d131454c54 b515074e6b
Author: Armando Migliaccio <email address hidden>
Date: Tue Sep 20 14:23:40 2016 -0700
Retry port update on IpAddressAlloca tionNotFound
If a port update and a subnet delete interleave, there is a
chance that the IPAM update operation raises this exception.
Rather than throwing that up to the user under some sort of
conflict, bubble up a retry instead; that should bring things
back to sanity.
Closes-bug: #1622616
Change-Id: Ia8cac09349d4cb 722737bdf0bec6c 54b9e77f31d 1e204c6610782f8 b86c90bf03)
(cherry picked from commit 873b5ac837220c1