kuryr-kubernetes/kuryr_kubernetes/tests/unit/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
test_base.py Refactor DriverBase.get_instance() 2018-09-12 10:27:11 +09:00
test_default_project.py Ensure project id is returned for DefaultNamespaceProjectDriver 2018-08-02 13:29:31 +02:00
test_default_security_groups.py K8s Services support: LBaaSSpecHandler 2017-02-03 15:05:45 +03:00
test_default_subnet.py Move function get_subnet to kuryr_kubernetes.utils 2018-08-13 07:06:52 -04:00
test_lb_public_ip.py Make ext subnet config optional 2018-02-20 15:09:54 +02:00
test_lbaasv2.py Add Network Policy support to services 2019-01-08 06:35:55 -05:00
test_multi_vif.py Refactor DriverBase.get_instance() 2018-09-12 10:27:11 +09:00
test_namespace_security_groups.py Fix CRD update when NP has namespaceSelectors 2019-01-23 16:07:17 +00:00
test_namespace_subnet.py Move function get_subnet to kuryr_kubernetes.utils 2018-08-13 07:06:52 -04:00
test_nested_macvlan_vif.py NestedMacvlanPodVIFDriver gets host port before request vif 2018-02-20 10:22:11 +09:00
test_nested_vif.py Enforce E128 pep8 check 2017-06-13 14:22:51 +03:00
test_nested_vlan_vif.py dict_object.keys() is not required for *in* operator 2018-12-19 17:33:41 +05:30
test_network_policy.py Skip exception in case kuryrnetpolicy CRD is already deleted 2019-02-19 12:03:39 +01:00
test_network_policy_security_groups.py Fix CRD update when NP has namespaceSelectors 2019-01-23 16:07:17 +00:00
test_neutron_vif.py Separate helper function for pod 2018-08-10 11:23:58 +00:00
test_public_ip.py Ensure floatingip information is retrieved 2018-11-15 14:16:31 +01:00
test_sriov.py Drop unnecessary import 2018-09-26 17:12:33 +02:00
test_vif_pool.py Pools support with Network Policies 2019-02-08 17:18:45 +01:00