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

[must-gather-operator] fails when the timeout parameter contains minutes or multiple units (timeout: invalid time interval)

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 2
    • Moderate
    • None
    • None
    • None
    • Proposed
    • OAPE Sprint 279
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          MustGather Pod crash: mustGatherTimeout field does not support values ​​containing 'm' or 'h'

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

          

      How reproducible:

          

      Steps to Reproduce:

          1.Set mustGatherTimeout: "10m"
      
      support-log-gather-jitli-5zzz5          1/2     NotReady   0          3s
      
      jitli@RedHat:~/work/src/test/must-gather$ oc logs support-log-gather-jitli-5zzz5
      Defaulted container "gather" out of: gather, upload
      timeout: invalid time interval '10m0s'
      Try 'timeout --help' for more information.try mustGatherTimeout: "20s"  
      
      
      works wellsupport-log-gather-jitli-znms8          2/2     Running   0          4s
      
      About cut at 20sWaiting for performance profile collector pods to become ready: 13
           2.
      and I try many 2h
      
      jitli@RedHat:~/work/src/test/must-gather$ oc logs support-log-gather-jitli-zqz7b
      Defaulted container "gather" out of: gather, upload
      timeout: invalid time interval '2h0m0s'
      Try 'timeout --help' for more information.60s
      jitli@RedHat:~/work/src/test/must-gather$ oc logs support-log-gather-jitli-gmhms
      Defaulted container "gather" out of: gather, upload
      timeout: invalid time interval '1m0s'
      Try 'timeout --help' for more information.mustGatherTimeout: "59s"
      
      works well
      
      support-log-gather-jitli-rmnbw     2/2   Running  0     4s 
           3.     It looks like it only supports up to 59 seconds

      Actual results:

      jitli@RedHat:~/work/src/test/must-gather$ oc logs support-log-gather-jitli-5zzz5 Defaulted container "gather" out of: gather, upload timeout: invalid time interval '10m0s' Try 'timeout --help' for more information.try mustGatherTimeout: "20s"  works wellsupport-log-gather-jitli-znms8 2/2 Running 0 4s

      Expected results:

          running

      Additional info:

          

              rh-ee-smuley Shivprakash Muley
              rhn-support-jitli Keenon Lee
              None
              None
              Keenon Lee Keenon Lee
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: