-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
4.14, 4.15
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:
- blocks
-
OCPBUGS-38959 Kubelet will not output logs after log file is rotated
- Closed
- depends on
-
OCPBUGS-38870 [release-4.16]: Kubelet will not output logs after log file is rotated
- Closed
- is cloned by
-
OCPBUGS-38959 Kubelet will not output logs after log file is rotated
- Closed
- links to
-
RHBA-2024:6013 OpenShift Container Platform 4.15.z bug fix update
(1 links to)