Bug 1949435

Summary: ingressclass controller doesn't recreate the openshift-default ingressclass after deleting it
Product: OpenShift Container Platform Reporter: Hongan Li <hongli>
Component: NetworkingAssignee: Miciah Dashiel Butler Masters <mmasters>
Networking sub component: router QA Contact: Hongan Li <hongli>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: medium CC: amcdermo, aos-bugs
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.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: 2021-07-27 23:00:33 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 Hongan Li 2021-04-14 09:47:56 UTC
Description of problem:
ingressclass controller doesn't recreate the openshift-default ingressclass after deleting it

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-13-171608

How reproducible:
100%

Steps to Reproduce:
1. fresh install 4.8 cluster
2. check the ingressclass
$ oc get ingressclass
NAME                CONTROLLER                      PARAMETERS                                        AGE
openshift-default   openshift.io/ingress-to-route   IngressController.operator.openshift.io/default   8h

3. delete the ingressclass
$ oc delete ingressclass openshift-default

Actual results:
ingressclass controller doesn't recreate the openshift-default ingressclass until restarting ingress operator pod.

Expected results:
ingressclass controller should recreate the openshift-default ingressclass after deleting it.

Additional info:
workaround: restarting ingress operator pod

Comment 2 Hongan Li 2021-04-19 08:50:04 UTC
verified with 4.8.0-0.nightly-2021-04-18-101412 and passed.

$ oc get ingressclass
NAME                CONTROLLER                      PARAMETERS                                        AGE
openshift-default   openshift.io/ingress-to-route   IngressController.operator.openshift.io/default   6h9m

$ oc delete ingressclass/openshift-default
ingressclass.networking.k8s.io "openshift-default" deleted

$ oc get ingressclass
NAME                CONTROLLER                      PARAMETERS                                        AGE
openshift-default   openshift.io/ingress-to-route   IngressController.operator.openshift.io/default   5s

Comment 5 errata-xmlrpc 2021-07-27 23:00:33 UTC
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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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/RHSA-2021:2438