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

Unable to login to gitops console when ZTP 4.15 is used

XMLWordPrintable

    • Important
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When ZTP 4.15 is used, getting the following error when attempt to login to gitops console . 
      
      Failed to query provider "https://openshift-gitops-server-openshift-gitops.apps.kni-qe-61.lab.eng.rdu2.redhat.com/api/dex": oidc: issuer did not match the issuer returned by provider, expected "https://openshift-gitops-server-openshift-gitops.apps.kni-qe-61.lab.eng.rdu2.redhat.com/api/dex" got "https://openshift-gitops-server/api/dex"
      
      

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

      4.15    

      How reproducible:

          100%

      Steps to Reproduce:

          1. configure ztp 4.15 and trigger SNO deployment via gitops ZTP
          2. attempt to login to gitops console to monitor application status
      get console url via oc get route
      open "openshift-gitops-server-openshift-gitops.apps.kni-qe-61.lab.eng.rdu2.redhat.com"   in browser
      click "log in via openshift"

      Actual results:

          Following error is seen in browser: 
      
      Failed to query provider "https://openshift-gitops-server-openshift-gitops.apps.kni-qe-61.lab.eng.rdu2.redhat.com/api/dex": oidc: issuer did not match the issuer returned by provider, expected "https://openshift-gitops-server-openshift-gitops.apps.kni-qe-61.lab.eng.rdu2.redhat.com/api/dex" got "https://openshift-gitops-server/api/dex"

      Expected results:

          able to login to gitops console via openshift

      Additional info:

          I was able to login to gitops console when ZTP 4.14 was used on the same hub cluster.

            sahasan@redhat.com Sabbir Hasan
            rhn-support-yliu1 Yang Liu
            Periyamaruthu Mohanraj Periyamaruthu Mohanraj
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: