Bug 1877001 - Suggested backport: avoid excessive volume warnings in logs
Summary: Suggested backport: avoid excessive volume warnings in logs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.6.0
Assignee: Jan Safranek
QA Contact: Qin Ping
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-08 16:57 UTC by Elana Hashman
Modified: 2020-10-27 16:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Reduced log noise when changing fsGroup of a small volume.
Clone Of:
Environment:
Last Closed: 2020-10-27 16:38:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes pull 344 0 None closed Bug 1877001: UPSTREAM: 92878: cleanup: print warning message only if the function does not finish within 30 seconds 2020-11-16 21:25:15 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:38:57 UTC

Description Elana Hashman 2020-09-08 16:57:25 UTC
This went into upstream Kubernetes but I understand from https://issues.redhat.com/browse/OCPPLAN-4276 that we are not proactively taking upstream backports/patch release fixes.

I have seen this spamming kubelet logs on a number of 4.4.x OCP clusters in production so if it's easy to take the backport I'd suggest integrating it: https://github.com/kubernetes/kubernetes/pull/94432

It will prevent the logs from being spammed with the message "Setting volume ownership for %s and fsGroup set. If the volume has a lot of files then setting volume ownership could be slow, see https://github.com/kubernetes/kubernetes/issues/69699" across many volumes; the log entry will only land if it takes >30s.

Comment 5 Qin Ping 2020-09-15 07:17:39 UTC
Verified with: 4.6.0-0.nightly-2020-09-14-221526

Comment 8 errata-xmlrpc 2020-10-27 16:38:55 UTC
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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196


Note You need to log in before you can comment on or make changes to this bug.