Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-58422

Console expects the IngressController even when Ingress is disabled in HyperShift

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.20
    • Management Console
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of the problem:
      While implementing the option to disable Ingress in HyperShift, it appears that the Console still expects an IngressController. However, based on discussions with the Console team, the Console is expected to remain healthy even when Ingress is disabled.

      How reproducible:

      Always

      Steps to reproduce:

      • Build the HyperShift CLI binary, HyperShift operator image, and control plane operator image.
      • Create a guest cluster with Ingress disabled and add a worker node.

      Actual results:
      The console repeatedly restarts, showing an error message.

      [root@rdu-infra-edge-05 hypershift]# oc get pods --kubeconfig=hosted-kubeconfig -A 
      NAMESPACE                                          NAME                                                      READY   STATUS    RESTARTS        AGE
      kube-system                                        konnectivity-agent-4pfhm                                  1/1     Running   0               20m
      kube-system                                        kube-apiserver-proxy-localhost.localdomain                1/1     Running   0               20m
      openshift-cluster-node-tuning-operator             tuned-jcxzg                                               1/1     Running   0               20m
      openshift-cluster-samples-operator                 cluster-samples-operator-b6dd4689c-gwpwj                  2/2     Running   0               16m
      openshift-console-operator                         console-operator-66549c76f5-jxxcp                         1/1     Running   3 (5m38s ago)   16m
      openshift-console                                  downloads-785c547c7f-f9pzj                                1/1     Running   0               15m 
      [root@rdu-infra-edge-05 hypershift]# oc get co console --kubeconfig=hosted-kubeconfig 
      NAME      VERSION                                                AVAILABLE   PROGRESSING   DEGRADED   SINCE   MESSAGE
      console   4.20.0-0-2025-07-02-120143-test-ci-ln-dvm84tt-latest   Unknown     False         True       16m     OAuthClientsControllerDegraded: route.route.openshift.io "console" not found... 
      0702 19:44:45.221614       1 reflector.go:166] "Unhandled Error" err="github.com/openshift/client-go/operator/informers/externalversions/factory.go:125: Failed to watch *v1.IngressController: failed to list *v1.IngressController: the server could not find the requested resource (get ingresscontrollers.operator.openshift.io)"
      E0702 19:44:46.983964       1 status.go:130] SyncLoopRefreshDegraded FailedGet route.route.openshift.io "console" not found
      E0702 19:44:46.984345       1 base_controller.go:279] "Unhandled Error" err="ConsoleOperator reconciliation failed: route.route.openshift.io \"console\" not found"
      E0702 19:44:46.984518       1 status.go:130] RouteHealthDegraded FailedRouteGet route.route.openshift.io "console" not found
      E0702 19:44:46.984855       1 base_controller.go:279] "Unhandled Error" err="ConsoleCLIDownloadsController reconciliation failed: route.route.openshift.io \"downloads\" not found"
      E0702 19:44:46.984942       1 base_controller.go:279] "Unhandled Error" err="HealthCheckController reconciliation failed: route.route.openshift.io \"console\" not found"
      E0702 19:45:16.985217       1 status.go:130] RouteHealthDegraded FailedRouteGet route.route.openshift.io "console" not found
      E0702 19:45:16.985580       1 base_controller.go:279] "Unhandled Error" err="HealthCheckController reconciliation failed: route.route.openshift.io \"console\" not found"
      E0702 19:45:30.619596       1 status.go:130] SyncLoopRefreshDegraded FailedGet route.route.openshift.io "console" not found
      E0702 19:45:30.619845       1 base_controller.go:279] "Unhandled Error" err="ConsoleOperator reconciliation failed: route.route.openshift.io \"console\" not found"
      W0702 19:45:31.551035       1 reflector.go:569] github.com/openshift/client-go/operator/informers/externalversions/factory.go:125: failed to list *v1.IngressController: the server could not find the requested resource (get ingresscontrollers.operator.openshift.io)
      E0702 19:45:31.551102       1 reflector.go:166] "Unhandled Error" err="github.com/openshift/client-go/operator/informers/externalversions/factory.go:125: Failed to watch *v1.IngressController: failed to list *v1.IngressController: the server could not find the requested resource (get ingresscontrollers.operator.openshift.io)"
      E0702 19:45:40.717942       1 status.go:130] SyncLoopRefreshDegraded FailedGet route.route.openshift.io "console" not found
      E0702 19:45:40.718201       1 base_controller.go:279] "Unhandled Error" err="ConsoleOperator reconciliation failed: route.route.openshift.io \"console\" not found" 

      Expected results:

      Console should function properly without expecting an IngressController and remain healthy.

              jhadvig@redhat.com Jakub Hadvig
              rh-ee-lhadad Linoy Hadad
              None
              None
              YaDan Pei YaDan Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: