kuryr-kubernetes/kuryr_kubernetes/tests
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
..
unit Skip exception in case kuryrnetpolicy CRD is already deleted 2019-02-19 12:03:39 +01:00
__init__.py cookiecutter commit for kuryr-kubernetes 2016-05-22 08:54:07 +03:00
base.py Prevent pyroute2.IPDB threads leaking 2017-11-17 12:30:54 +01:00
fake.py Allow passing multiple VIFs to CNI 2018-05-25 16:02:37 +03:00