kuryr-kubernetes/kuryr_kubernetes/controller/drivers
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
..
__init__.py Controller driver base and pod project driver 2016-11-18 17:46:55 +03:00
base.py Ensure NP changes are applied to services 2019-01-24 13:26:47 +01:00
default_project.py Ensure project id is returned for DefaultNamespaceProjectDriver 2018-08-02 13:29:31 +02:00
default_security_groups.py Update CRD when NP has namespaceSelectors 2019-01-08 20:22:02 +00:00
default_subnet.py Move function get_subnet to kuryr_kubernetes.utils 2018-08-13 07:06:52 -04:00
lb_public_ip.py Handle exception raised in FIP allocation 2019-01-23 22:48:39 +02:00
lbaasv2.py Merge "Ensure NP changes are applied to services" 2019-01-28 15:19:37 +00:00
multi_vif.py Use default subnet mapping if subnet is not specified 2019-01-16 12:26:05 +03:00
namespace_security_groups.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00
namespace_subnet.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00
nested_macvlan_vif.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00
nested_vif.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00
nested_vlan_vif.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00
network_policy.py Skip exception in case kuryrnetpolicy CRD is already deleted 2019-02-19 12:03:39 +01:00
network_policy_security_groups.py Fix CRD update when NP has namespaceSelectors 2019-01-23 16:07:17 +00:00
neutron_vif.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00
public_ip.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00
sriov.py Avoid doing `raise ex` when only logging 2019-01-24 17:41:41 +01:00
utils.py Update CRD when NP has namespaceSelectors 2019-01-08 20:22:02 +00:00
vif_pool.py Merge "Pools support with Network Policies" 2019-02-12 11:29:54 +00:00