Bug 1331235
Summary: | deleted /var/log/messages occupied the disk space /var | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Zhiwu Liu <zhiwliu> |
Component: | Node | Assignee: | Seth Jennings <sjenning> |
Status: | CLOSED ERRATA | QA Contact: | DeShuai Ma <dma> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.1.0 | CC: | agoldste, bmeng, decarr, jokerman, jpechane, misalunk, mmccomas, sjenning, tdawson, tstclair |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-09-27 09:31:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1303130 |
Description
Zhiwu Liu
2016-04-28 04:33:26 UTC
Maybe the cadvisor code isn't handling rotated logs well when it's checking for OOM events. We'll take a look. While we haven't definitively proven that the cadvisor code is the one holding the files open, I posted a PR upstream that makes cadvisor handle log rotation properly, closing and reopening the file so that it can be freed. https://github.com/google/cadvisor/pull/1264 PR to kube has merged: https://github.com/kubernetes/kubernetes/pull/25914. OpenShift will get this in whatever rebase contains that PR. *** Bug 1333663 has been marked as a duplicate of this bug. *** Origin rebase is complete: https://github.com/openshift/origin/pull/8856 I verified it contains the upstream fix from comment 3. Sorry, looking at two bugs at once. It actually looks like this doesn't come in as part of the rebase and that the origin cadvisor dep needs to be bumped. Moving back to ASSIGNED. This should be in the 3.3 builds now. Test on openshift v3.3.0.9 There is no those error. verify this bug. On node: [root@ip-172-18-8-37 ~]# lsof 2>/dev/null | grep deleted [root@ip-172-18-8-37 ~]# Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1933 |