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

accessTokenInactivityTimeout causing Unauthorized error during "oc adm must-gather" already running

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18.z
    • oc
    • None
    • None
    • False
    • Hide

      None

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

      Description of problem:

         Oauth tokenConfig accessTokenInactivityTimeout causing Unauthorized error while capturing must-gather.

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

          

      How reproducible:

          Always

      Steps to Reproduce:

      1. Set `oauth.spec.tokenConfig.accessTokenInactivityTimeout: 300s`
      
      2. Run `$ oc adm must-gather`
      
      3. If must-gather run more that 5 mins, its gives the following error:
      ....<snipped>....
      [must-gather-pl44z] OUT 2025-11-20T16:30:23.804156Z total size is 2417025419  speedup is 7.19
      Unauthorized
      Unauthorized
      Reprinting Cluster State:
      When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information:
      error getting cluster version: Unauthorized
      ClusterID:
      ClientVersion: 4.16.3
      ClusterVersion: Installing "" for <unknown>: <unknown>
      error getting cluster operators: Unauthorized     

      Actual results:

          Getting Unauthorized even when user is active.

      Expected results:

          User should be able to gather the must-gather.

      Additional info:

          

              aos-workloads-staff Workloads Team Bot Account
              rhn-support-ssardar Sameer Sardar
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: