-
Bug
-
Resolution: Done-Errata
-
Normal
-
4.16.0
-
Important
-
No
-
False
-
-
oc adm inspect --since and --since-time flags were previously not applied when retrieving logs for a pod's previous containers. This fix applies --since and --since-time flags to previous container logs as well as current container logs.
-
Release Note Not Required
-
In Progress
Description of problem:
Should not collect the previous.log which not corresponding with the --since/--since-time for `oc adm inspect` command
Version-Release number of selected component (if applicable):
4.16
How reproducible:
always
Steps to Reproduce:
1. `oc adm inspect --since-time="2024-01-25T01:35:27Z" ns/openshift-multus`
Actual results:
also collect the previous.log which not corresponding with the specified time.
Expected results:
Only collect the logs after the --since/--since-time.
Additional info:
- is cloned by
-
OCPBUGS-28241 Should not collect the previous.log which not corresponding with the --since/--since-time for the `oc adm must-gather` command
- Closed
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update