kuryr-kubernetes/kuryr_kubernetes
Michał Dulko 8f61307fa6 Error handling improvements
This combines a few error handling improvements fixing problems found by
e2e K8s tests.

1. Logs on K8sNamespaceTerminating are no longer on WARNING but DEBUG
   level. This is because they're harmless, yet they can spam the logs
   when multiple namespaces are deleted, such as in e2e K8s tests.
2. 400 Bad Request is ignored on LB member creation. This happens when
   subnet got deleted in the meanwhile and the LB will be gone soon too.
3. 404 Not Found is ignored when subports are detached from a trunk.
   This can happen when some other thread already detached that port. If
   the request was just for a single port, then error can be safely
   ignored. In case of bulk request we don't really know which and how
   many subports are detached already, so on detach error we'll just
   proceed to delete ports and on errors attempt to detach them
   one-by-one.

Change-Id: Ic11f15e44086f8b25380e20457f28c351403b4d9
2022-05-24 16:43:32 +02:00
..
cmd Add kuryr-k8s-sanity command 2021-09-25 06:27:10 +10:00
cni Merge "Include more events for Pods" 2022-04-27 13:42:37 +00:00
controller Error handling improvements 2022-05-24 16:43:32 +02:00
handlers Add events for Services 2021-12-13 17:05:46 +01:00
objects Support upgrading LBaaSState annotation to KLB CRD 2020-08-10 16:51:32 +00:00
pod_resources Add PodResources gRPC API updating guide 2019-08-02 17:50:32 +03:00
tests Error handling improvements 2022-05-24 16:43:32 +02:00
__init__.py Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
clients.py Remove surplus function for getting lb client. 2021-12-16 12:21:44 +01:00
config.py Support specify project id by annotation 2022-04-29 15:22:50 +08:00
constants.py Support specify project id by annotation 2022-04-29 15:22:50 +08:00
exceptions.py CNI: Watch for deleted pods 2022-03-08 12:28:48 +01:00
health.py Civilize logging 2020-07-03 15:09:52 +02:00
k8s_client.py Remove dead method 2022-03-31 17:55:27 +02:00
linux_net_utils.py Remove log translations 2017-03-28 15:13:49 +08:00
opts.py Remove pod_ip_caching from _kuryr_k8s_opts 2020-04-13 14:10:41 +02:00
os_vif_plug_noop.py Add DPDK support for nested pods 2020-02-04 10:59:45 +03:00
os_vif_util.py Adapt selfLink calculation for Pod objects. 2021-01-11 10:19:24 +01:00
utils.py Add periodic task for cleaning up dead ports. 2022-05-05 07:06:02 +02:00
version.py Add kuryr-status utility for upgrade-checkers 2018-10-03 15:09:53 +02:00
watcher.py Fix k8s client for handling empty list in response. 2021-01-11 10:19:08 +01:00