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

[release-4.16] one OAuth.config.openshift.io item on Global Configuration page links to non-existing resource

XMLWordPrintable

    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None
    • Prevously, an errant code change resulted in a duplicated oauth.config.openshift.io item on the Global Configuration page. With this updated, the duplicated item is removed.
    • Bug Fix
    • In Progress

      This is a clone of issue OCPBUGS-34986. The following is the description of the original issue:

      Description of problem:

      non-existing oauth.config.openshift.io resource is  listed on Global Configuration page   

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

      4.16.0-0.nightly-2024-06-05-082646    

      How reproducible:

      Always    

      Steps to Reproduce:

      1. visit global configuration page /settings/cluster/globalconfig
      2. check listed items on the page
      3.
          

      Actual results:

      2. There are two OAuth.config.openshift.io entries, one is linking to /k8s/cluster/config.openshift.io~v1~OAuth/oauth-config, this will return 404: Not Found
      
      $ oc get clusterversion
      NAME      VERSION                              AVAILABLE   PROGRESSING   SINCE   STATUS
      version   4.16.0-0.nightly-2024-06-05-082646   True        False         171m    Cluster version is 4.16.0-0.nightly-2024-06-05-082646
      
      $ oc get oauth.config.openshift.io
      NAME      AGE
      cluster   3h26m
       

      Expected results:

      from CLI output we can see there is only one oauth.config.openshift.io resource, but we are showing one more 'oauth-config'  
      
      Only one oauth.config.openshift.io resource should be listed   

      Additional info:

          

              jhadvig@redhat.com Jakub Hadvig
              openshift-crt-jira-prow OpenShift Prow Bot
              YaDan Pei YaDan Pei
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: