kuryr-kubernetes/kuryr_kubernetes/tests/unit
Luis Tomas Bolivar 6c0730fda4 Skip exception in case kuryrnetpolicy CRD is already deleted
As kuryrnetpolicy CRD objects are namespaced, when a namespace is
deleted, the object is deleted by kubernetes as part of the namespace
deletion process. This was making network policy driver failing on
releasing the network policy as it could not find the object. This
patch ensures kuryr-controller doesn't fail in case kubernetes has
already deleted the kuryrnetpolicy object by skipping the exception
when trying to delete an already deleted object.

Closes-Bug: 1816020
Change-Id: I0443b65e5d6897c5d6673c222fc50101c244cd1e
2019-02-19 12:03:39 +01:00
..
cmd Add kuryr-status utility for upgrade-checkers 2018-10-03 15:09:53 +02:00
cni Remove way of running without kuryr-daemon 2019-02-04 12:53:00 +01:00
controller Skip exception in case kuryrnetpolicy CRD is already deleted 2019-02-19 12:03:39 +01:00
handlers Add quota readiness check to controller 2018-11-21 10:11:55 +00:00
platform OCP-Router: Fix path route to support subpath 2018-07-23 18:06:36 +03:00
__init__.py K8s and Neutron clients support 2016-10-03 16:07:03 +00:00
kuryr_fixtures.py lbaasv2: Fix for deployments missing the proxy 2018-04-13 16:47:39 +02:00
test_clients.py lbaasv2: Fix for deployments missing the proxy 2018-04-13 16:47:39 +02:00
test_k8s_client.py Fix Python 3 compatiblity in K8sClient.watch() 2018-09-12 14:10:23 -06:00
test_linux_net_utils.py Cleanup and enforce pep8 checks 2017-06-08 15:36:44 +03:00
test_object.py LBaaS driver: Add provider support 2018-09-16 15:03:08 +03:00
test_os_vif_plug_noop.py Add MACVLAN based interfaces for nested containers 2017-06-12 13:14:12 +01:00
test_os_vif_util.py Drop unnecessary import 2018-09-26 17:12:33 +02:00
test_utils.py Ensure controller healthchecks passes without CRDs 2018-12-21 12:55:55 +00:00
test_watcher.py Add quota readiness check to controller 2018-11-21 10:11:55 +00:00