-
Bug
-
Resolution: Done
-
Major
-
4.21.0
-
Quality / Stability / Reliability
-
False
-
-
1
-
Moderate
-
None
-
None
-
Proposed
-
OAPE Sprint 279
-
1
-
Done
-
Release Note Not Required
-
N/A
-
None
-
None
-
None
-
None
This is a clone of issue OCPBUGS-63626. The following is the description of the original issue:
—
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:
- clones
-
OCPBUGS-63626 [must-gather-operator] fails when the timeout parameter contains minutes or multiple units (timeout: invalid time interval)
-
- Closed
-
- is blocked by
-
OCPBUGS-63626 [must-gather-operator] fails when the timeout parameter contains minutes or multiple units (timeout: invalid time interval)
-
- Closed
-
- links to