Bug 1682922
Summary: | Deleting a user-defined clusteringress does not remove child resources | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Daneyon Hansen <dhansen> |
Component: | Networking | Assignee: | Dan Mace <dmace> |
Networking sub component: | router | QA Contact: | Hongan Li <hongli> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | unspecified | CC: | aos-bugs, sponnaga, weliang |
Version: | 4.1.0 | ||
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-04 10:44:27 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Daneyon Hansen
2019-02-25 20:17:59 UTC
I suspect the root cause is we're not enforcing finalizers on clusteringresses except for the default clusteringress (which the operator creates). I will be submitting a PR that fixes this bug. I am now able to CRUD multiple clusteringresses. However, I have uncovered another bug that I will create a bugzilla for and link to this. Here is a link to the related bug: https://bugzilla.redhat.com/show_bug.cgi?id=1683515 https://github.com/openshift/cluster-ingress-operator/commit/8246fb3e170ae6796ab9bcd852dc22cf9609b9a8 changed the api to ingresscontrollers. Here is an updated example manifest: $ cat test0-ing.yaml kind: IngressController apiVersion: operator.openshift.io/v1 metadata: name: test0 namespace: openshift-ingress-operator spec: domain: tests0.<your_ingress_domain> Tested in v4.0.0-0.177.0 and results passed: [root@dhcp-41-193 openshift-4.0]# oc delete -f test0-clusteringress.yaml ingresscontroller.operator.openshift.io "test0" deleted [root@dhcp-41-193 openshift-4.0]# oc get svc/router-test0 -n openshift-ingress Error from server (NotFound): services "router-test0" not found [root@dhcp-41-193 openshift-4.0]# oc get deploy/router-test0 -n openshift-ingress Error from server (NotFound): deployments.extensions "router-test0" not found [root@dhcp-41-193 openshift-4.0]# oc get IngressController/test0 -n openshift-ingress-operator Error from server (NotFound): ingresscontrollers.operator.openshift.io "test0" not found Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758 |