kuryr-kubernetes/kuryr_kubernetes/controller/handlers
Michał Dulko 2141dba99c KuryrPort cleanup: Fix issue of subport not found
It can happen that during the cleanup of KuryrPort when Pod is already
gone we'll fail trying to find the parent port ID. We have a bug that in
this case finalizing of KuryrPort fails.

This commit changes the way we look for the hostIP of the pod to
actually look up a node using the info from KuryrPort CRD. If this fails
(node removed?) we try querying OpenStack API to get this information.
If this fails too, we just don't pass hostIP to mocked Pod.

Change-Id: I72aea5713f90c8df2f5d0269fa83b8fdd5220c59
2023-04-25 12:46:08 +02:00
..
__init__.py Controller event handling pipeline 2016-11-03 13:08:29 +00:00
kuryrnetwork.py Fix unbound router_id variable while creating event 2022-06-28 12:03:00 +02:00
kuryrnetwork_population.py Removed all occurrences of removed KuryrNet CRD. 2022-06-01 13:10:48 +02:00
kuryrnetworkpolicy.py Removed all occurrences of removed KuryrNet CRD. 2022-06-01 13:10:48 +02:00
kuryrport.py KuryrPort cleanup: Fix issue of subport not found 2023-04-25 12:46:08 +02:00
lbaas.py Merge "Error handling improvements" 2022-07-22 16:53:36 +00:00
loadbalancer.py LoadBalancer Members Reconciliation 2022-09-05 10:05:13 +00:00
machine.py Workaround OVN bug causing subports to be DOWN 2021-06-08 16:50:06 +02:00
namespace.py Support specify project id by annotation 2022-04-29 15:22:50 +08:00
pipeline.py Add more info to Async handler logs 2022-05-24 16:43:46 +02:00
pod_label.py Merge "Improve retrieval of Trunks info" 2021-11-09 16:06:20 +00:00
policy.py Workaround OVN bug causing subports to be DOWN 2021-06-08 16:50:06 +02:00
vif.py Error handling improvements 2022-05-24 16:43:32 +02:00