kuryr-kubernetes/kuryr_kubernetes/cni
Michał Dulko 9d0b053c4f Workaround OVN bug causing subports to be DOWN
Neutron should make a subport that is already attached to a trunk ACTIVE
immediately. Unfortunately there seems to be an OVN bug causing an event
triggering this to be lost, leaving the port in DOWN state forever. This
is a disaster for Kuryr, because we can't proceed to wire the pods in
such case.

This commit attempts to workaround this by making Kuryr reattach the
ports that are in DOWN state for more than 90 seconds after they're
plugged.

Change-Id: If9a3968d68dced588614cd5521d4a111e78d435f
2021-06-08 16:50:06 +02:00
..
binding Work with pyroute2 0.6.4 2021-06-08 16:50:06 +02:00
daemon Remove pyroute2 deprication warning 2021-04-23 12:51:01 +00:00
plugins Adapt selfLink calculation for KuryrPort CRD objects. 2021-01-11 10:19:24 +01:00
__init__.py Experimental CNI & VIFBridge binding 2016-12-05 18:05:22 +00:00
api.py Removing six library. 2020-02-28 14:45:46 +01:00
handlers.py Workaround OVN bug causing subports to be DOWN 2021-06-08 16:50:06 +02:00
health.py Civilize logging 2020-07-03 15:09:52 +02:00
main.py Removing six library. 2020-02-28 14:45:46 +01:00
utils.py Log pyroute2 RuntimeError details 2021-04-22 13:21:24 +02:00