-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.18, 4.19
-
None
-
False
-
-
N/A
-
Release Note Not Required
-
Done
This is a clone of issue OCPBUGS-50476. The following is the description of the original issue:
—
Description of problem:
The local registry is not being gracefully shutdown and in some cases the registry.log file was closed while logrus was still trying to write to it: 2025/02/05 21:50:45 [INFO] : mirror time : 29.768175677s 2025/02/05 21:50:45 [INFO] : 👋 Goodbye, thank you for using oc-mirror Failed to write to log, write /oc-mirror-issue-ret/working-dir/logs/registry.log: file already closed Failed to write to log, write /oc-mirror-issue-ret/working-dir/logs/registry.log: file already closed Failed to write to log, write /oc-mirror-issue-ret/working-dir/logs/registry.log: file already closed Failed to write to log, write /oc-mirror-issue-ret/working-dir/logs/registry.log: file already closed Failed to write to log, write /oc-mirror-issue-ret/working-dir/logs/registry.log: file already closed
Version-Release number of selected component (if applicable):
4.18+
How reproducible:
Some times
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
No more "Failed to write to log" messages
Additional info:
- clones
-
OCPBUGS-50476 v2: oc-mirror complains about "Failed to write to log" during shutdown
-
- Verified
-
- is blocked by
-
OCPBUGS-50476 v2: oc-mirror complains about "Failed to write to log" during shutdown
-
- Verified
-
- links to
-
RHBA-2025:1904 OpenShift Container Platform 4.18.z bug fix update