-
Bug
-
Resolution: Done
-
Undefined
-
4.10.0
-
None
Description of problem:
Description of problem: The startup script for ovnkube-master container starts ovn-nbctl daemon that logs to ovn-nbctl.log file[1]. However, apart from tailing it, nothing is done with that file. Concretely, it is never rotated. Recently, one 4.8 cluster has hit the situation where this file grew up to ~24GB size. It was necessary to manually remove that file and restart ovnkube-master. Version-Release number of selected component (if applicable): 4.8. It seems that 4.10 can hit this problem as well[2] but latest master branch has changed so much that I am not sure if it will be possible for this to happen in 4.11. How reproducible: Always (but may take very long and requires no ovnkube-master container restart) Steps to Reproduce: 1. Let /run/ovn/ovn-nbctl.log grow for long enough Actual results: File growing without control Expected results: Log file to be eventually rotated. References: [1] - https://github.com/openshift/cluster-network-operator/blob/release-4.8/bindata/network/ovn-kubernetes/ovnkube-master.yaml#L813 [2] - https://github.com/openshift/cluster-network-operator/blob/release-4.10/bindata/network/ovn-kubernetes/ovnkube-master.yaml#L750
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. 2. 3.
Actual results:
Expected results:
Additional info:
- clones
-
OCPBUGS-6735 [2072601] ovn-nbctl.log is never rotated
- Closed
- depends on
-
OCPBUGS-6733 [2072601] ovn-nbctl.log is never rotated
- Closed
-
OCPBUGS-6734 [2072601] ovn-nbctl.log is never rotated
- Closed
-
OCPBUGS-6735 [2072601] ovn-nbctl.log is never rotated
- Closed
- links to