Bug 1475558 - controller manager spam about PVCs
controller manager spam about PVCs
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Pod (Show other bugs)
3.6.0
Unspecified Unspecified
unspecified Severity high
: ---
: 3.7.0
Assigned To: Avesh Agarwal
weiwei jiang
:
: 1487603 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-26 17:44 EDT by Eric Paris
Modified: 2017-11-28 17:05 EST (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
This fix prevents unnecessary logging of a harmless error from a pvc related scheduler predicate.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:05:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Eric Paris 2017-07-26 17:44:22 EDT
SO. MUCH. SPAM. We run as V(2).  Please either make this meaningful to an admin, remove it, or move it to a higher level.

oc v3.6.170

predicates.go:234] Unable to look up PVC info for dupa1/database, assuming PVC matches predicate when counting limits: persistentvolumeclaim "database" not found
Comment 1 Derek Carr 2017-07-27 10:20:07 EDT
scheduler log spam.
Comment 2 Derek Carr 2017-08-18 23:05:11 EDT
Avesh, any chance we can get a PR opened for this by 8/21 so it can make 3.6.1?
Comment 3 Avesh Agarwal 2017-08-22 12:01:28 EDT
(In reply to Derek Carr from comment #2)
> Avesh, any chance we can get a PR opened for this by 8/21 so it can make
> 3.6.1?

These errors are not returned as these are non-harmful errors. These errors are currently rate limited (not aggregated) in apimachinery/pkg/util/runtime/runtime.go. I think moving these to glog level 3 or beyond seems to be the only option to suppress these errors. Aggregation by returning these errors along with real errors seems hacky right now.
Comment 4 Jeremy Eder 2017-09-04 20:49:23 EDT
Aggregated across the 16 master nodes in the free and pro tiers, this log message is written over 1.2 million times in the last 24 hours (Sept 1).

Here are the top-talkers:

File and Line	               Lines Logged in 24 hours
--------------------------------------------------------
predicates.go line 234	              1282755
writers.go line 119	                 4035
status.go line 62	                 2805
factory.go line 641	                 2406
buildconfig_controller.go line 143       4587
proxier.go line 1320	                  727
Comment 5 Jeremy Eder 2017-09-04 20:49:40 EDT
*** Bug 1487603 has been marked as a duplicate of this bug. ***
Comment 6 Avesh Agarwal 2017-09-05 12:41:37 EDT
There is a PR to kube upstream for this by Matthew Wong@redhat: https://github.com/kubernetes/kubernetes/pull/48226.
Comment 10 Avesh Agarwal 2017-09-13 12:08:56 EDT
https://github.com/openshift/origin/pull/16329
Comment 13 DeShuai Ma 2017-09-30 05:49:03 EDT
Test on openshift v3.7.0-0.131.0, while the pod is running, pod's PVC is deleted or pods' PVC's PV is deleted. I don't seem the spam log, verify the bug.
Comment 16 errata-xmlrpc 2017-11-28 17:05:56 EST
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/RHSA-2017:3188

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