Bug 2102947

Summary: [VPA] recommender is logging errors for pods with init containers
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: NodeAssignee: Joel Smith <joelsmith>
Node sub component: Autoscaler (HPA, VPA) QA Contact: Weinan Liu <weinliu>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: ableisch, anisal, aos-bugs, cruhm, dkiselev, joelsmith, nagrawal, ncarmich, rbennett
Version: 4.6.z   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Recent versions of the prometheus-adapter metrics server send additional pod-specific metrics, which confuse the Vertical Pod Autoscaler (VPA) recommender. Consequence: When the extra metrics are received by the VPA, it logs a warning message. Depending upon the size of the cluster, the VPA recommender can log many megabytes of log messages per day of this form: Error adding metric sample for container {{example-pod-name} POD}: KeyError: {{example-pod-name} POD} Fix: The new version of the VPA recognizes and ignores the extra metrics. Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:19:39 UTC Type: ---
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: 1944065    
Bug Blocks: 2105110    

Comment 5 errata-xmlrpc 2022-08-10 11:19:39 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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-2022:5069