-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.14, 4.15
This is a clone of issue OCPBUGS-38861. The following is the description of the original issue:
—
Description of problem:
In OpenShift 4.14 and 4.15 when running `oc logs <pod>` when the log file is rotated, it's stopped of getting more logs on the screen A good reference for this is the pull request https://github.com/kubernetes/kubernetes/pull/115702 where it should be present in OpenShift 4.16, but not backported.
Version-Release number of selected component (if applicable):
4.14.z 4.15.z
How reproducible:
Always
Steps to Reproduce:
1. Generate logs in a pod 2. Run `oc logs -f <pod>` and when the log file is rotated, not more logs are visible not following the rotated file. 3.
Actual results:
`oc logs -f <pod>` is not able to follow the logs from the pod when they are rotated
Expected results:
`oc logs -f <pod>` is able to follow the logs from the pod when they are rotated
Additional info:
- clones
-
OCPBUGS-38861 Kubelet will not output logs after log file is rotated
- Closed
- is blocked by
-
OCPBUGS-38861 Kubelet will not output logs after log file is rotated
- Closed
- links to
-
RHBA-2024:6406 OpenShift Container Platform 4.14.z bug fix update