kuryr-kubernetes/kuryr_kubernetes
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 Rename kuryr-status to kuryr-k8s-status 2018-11-20 15:28:57 +01:00
cni Merge "Remove way of running without kuryr-daemon" 2019-02-05 15:27:34 +00: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
objects Merge "LBaaS driver: Add provider support" 2018-09-19 15:25:58 +00:00
platform OCP-Router: Fix path route to support subpath 2018-07-23 18:06:36 +03:00
tests Skip exception in case kuryrnetpolicy CRD is already deleted 2019-02-19 12:03:39 +01:00
__init__.py Implement Guru meditation reports 2017-04-13 03:19:08 +00:00
clients.py Fix devstack deployment when ovn-provider is selected 2018-10-03 08:45:23 +02:00
config.py Remove way of running without kuryr-daemon 2019-02-04 12:53:00 +01:00
constants.py Update CRD when NP has namespaceSelectors 2019-01-08 20:22:02 +00:00
exceptions.py Implement NPWG multi-vif driver 2018-08-09 17:31:21 +08:00
k8s_client.py Support network policy update 2018-11-29 08:32:51 +01:00
linux_net_utils.py Remove log translations 2017-03-28 15:13:49 +08:00
opts.py Update CRD when NP has podSelectors 2019-01-02 22:14:44 +00:00
os_vif_plug_noop.py Add SR-IOV pod vif driver 2018-09-18 10:19:43 +03:00
os_vif_util.py Add SR-IOV pod vif driver 2018-09-18 10:19:43 +03:00
utils.py Ensure NP changes are applied to services 2019-01-24 13:26:47 +01:00
version.py Add kuryr-status utility for upgrade-checkers 2018-10-03 15:09:53 +02:00
watcher.py Add quota readiness check to controller 2018-11-21 10:11:55 +00:00