kuryr-kubernetes/kuryr_kubernetes
Luis Tomas Bolivar e3a33599a3 Avoid release_vif race when using namespaces and pools
If ports pools and namespace isolation features are enabled together
it may happen that namespace object gets deleted before the vif handler
on_delete function gets executed, leading to a ResourceNotReady
exception raised by the namespace security group driver when trying
to get the kuryrnet crd annotated on the (deleted) namespace object.

This patch ensure if that happens, the vif handler can still complete
the on_deleted function, releasing the vif by using an empty security
group list as the ports are going to be deleted anyway with the rest
of the namespace related OpenStack resources.

Closes-Bug: 1787951
Change-Id: I19a8f89fb13de1b43e2f6178b6b0261f5dde7990
2018-08-20 15:30:48 +02:00
..
2017-11-21 08:50:04 +01:00
2017-04-13 03:19:08 +00:00
2018-08-06 19:33:55 +02:00
2018-08-09 17:31:21 +08:00
2018-08-09 17:31:21 +08:00
2017-03-28 15:13:49 +08:00
2018-08-16 08:07:59 -04:00
2018-06-21 18:43:08 +08:00
2017-04-13 03:19:08 +00:00
2018-08-02 09:34:15 +02:00