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

oc adm must-gather not stopped after timeout reached

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 4.19.z, 4.20.0
    • 4.19, 4.20
    • oc
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • Unspecified
    • QA
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      We, on openshift-virtualization, are running this command:

      $ time oc adm must-gather --dest-dir=/tmp/deleteme/ --timeout=900s --all-images 1>output.txt
      Warning: spec.nodeSelector[node-role.kubernetes.io/master]: use "node-role.kubernetes.io/control-plane" instead
      
      real    34m9.504s
      user    0m31.920s
      sys     0m10.487s
      

      and the command is not aborted after 900 seconds. It looks like the --timeout param is ignored.

      It's observed that the "gather" containers are completed, and the "copy" containers are running when the timeout is reached

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

      $ oc version
      Client Version: 4.19.3
      Kustomize Version: v5.5.0
      Server Version: 4.19.3
      Kubernetes Version: v1.32.5
          

      How reproducible:

      Always
          

      Actual results:

      The must-gather keep progressing until it's finished.
          

      Expected results:

      The must-gather generation should be aborted.
          

      Additional info:

      must-gather.log attached.
          

              aos-workloads-staff Workloads Team Bot Account
              rlobillo Ramón Lobillo
              None
              None
              Ying Zhou Ying Zhou
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: