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

oc login returns 503 error. openshift console redirects to oauth and returns Application is not available

    XMLWordPrintable

Details

    • Moderate
    • 0
    • Sprint 235
    • 1
    • Rejected
    • Unspecified
    • If docs needed, set a value

    Description

      Description of problem:

      oc login returns 503 error. openshift console redirects to oauth and returns Application is not available
      The application is currently not serving requests at this endpoint. It may not have been started or is still starting

      oc get co authentication -oyaml
      ~~~

      • lastTransitionTime: '2022-03-04T03:22:58Z'
        message: 'IngressConfigDegraded: The ingress config domain cannot be empty
        IngressStateEndpointsDegraded: No subsets found for the endpoints of oauth-server
        OAuthClientsControllerDegraded: the ingress config domain cannot be empty
        OAuthServerConfigObservationDegraded: secret "v4-0-config-system-router-certs"
        not found
        OAuthServerRouteEndpointAccessibleControllerDegraded: ingress config domain
        cannot be empty
        OAuthServerServiceEndpointAccessibleControllerDegraded: Get "https://172.28.124.35:443/healthz":
        context deadline exceeded (Client.Timeout exceeded while awaiting headers)
        OAuthServerServiceEndpointsEndpointAccessibleControllerDegraded: oauth service
        endpoints are not ready
        RouterCertsDegraded: ingresses.config.openshift.io/cluster: no spec.domain specified'
        reason: IngressConfig_Invalid::IngressStateEndpoints_MissingSubsets::OAuthClientsController_SyncError::OAuthServerConfigObservation_Error::OAuthServerRouteEndpointAccessibleController_SyncError::OAuthServerServiceEndpointAccessibleController_SyncError::OAuthServerServiceEndpointsEndpointAccessibleController_SyncError::RouterCerts_NoIngressDomain
        ~~~

      Version-Release number of selected component (if applicable):
      Cluster Version: 4.8.25

      Infrastructure
      --------------
      Platform: None
      Install Type: UPI

      Network
      -------
      Network Type: OpenShiftSDN

      Additional info:
      After adding the domain: to the ingress.config.openshift.io cluster the routes started working,

      ~~~
      spec:
      domain: apps.<cluster domain>.com
      status: {}
      ~~~

      The docs do not mention requiring the domain key.

      Attachments

        Activity

          People

            openshift_jira_bot OpenShift Jira Bot
            rhn-support-dseals Daniel Seals
            Hongan Li Hongan Li
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: