Bug 1944065 - [VPA] recommender is logging errors for pods with init containers
Summary: [VPA] recommender is logging errors for pods with init containers
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 4.6.z
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.12.0
Assignee: Joel Smith
QA Contact: Weinan Liu
URL:
Whiteboard:
Depends On:
Blocks: 2102947
TreeView+ depends on / blocked
 
Reported: 2021-03-29 07:55 UTC by Weinan Liu
Modified: 2023-01-17 19:46 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-17 19:46:21 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift kubernetes-autoscaler pull 233 0 None Merged Bug 1944065: Have VPA ignore phantom containers named "POD" 2022-10-17 15:51:46 UTC
Red Hat Product Errata RHSA-2022:7399 0 None None None 2023-01-17 19:46:40 UTC

Comment 7 Robert Bennett 2022-02-22 21:47:41 UTC
The customer in Case 03150314 is also impacted by this.

Customer reports see a large number of errors in the log their Vertical Pod Autoscaler Recommender pod (806 errors repeating every minute) on both their 4.8.29 cluster, as well as a 4.7.18 cluster as follows:

W0214 08:46:47.635067       1 cluster_feeder.go:417] Error adding metric sample for container {{cool-grafana cool-custom-grafana-cool-8d45cd84d-wfs9p} POD}: KeyError: {{cool-grafana cool-custom-grafana-cool-8d45cd84d-wfs9p} POD}
W0214 08:46:47.635077       1 cluster_feeder.go:417] Error adding metric sample for container {{cool-grafana cool-custom-grafana-cool-8d45cd84d-wfs9p} POD}: KeyError: {{cool-grafana cool-custom-grafana-cool-8d45cd84d-wfs9p} POD}
W0214 08:46:47.635099       1 cluster_feeder.go:417] Error adding metric sample for container {{cool-sealed-secrets sealed-secrets-controller-5f65c6d476-tllqh} POD}: KeyError: {{cool-sealed-secrets sealed-secrets-controller-5f65c6d476-tllqh} POD}
W0214 08:46:47.635106       1 cluster_feeder.go:417] Error adding metric sample for container {{cool-sealed-secrets sealed-secrets-controller-5f65c6d476-tllqh} POD}: KeyError: {{cool-sealed-secrets sealed-secrets-controller-5f65c6d476-tllqh} POD}
W0214 08:46:47.635111       1 cluster_feeder.go:417] Error adding metric sample for container {{cool-sysdig sysdig-agent-2tjzr} POD}: KeyError: {{cool-sysdig sysdig-agent-2tjzr} POD}
W0214 08:46:47.635116       1 cluster_feeder.go:417] Error adding metric sample for container {{cool-sysdig sysdig-agent-2tjzr} POD}: KeyError: {{cool-sysdig sysdig-agent-2tjzr} POD}
W0214 08:46:47.635132       1 cluster_feeder.go:417] Error adding metric sample for container {{cool-sysdig sysdig-agent-96pvs} POD}: KeyError: {{cool-sysdig sysdig-agent-96pvs} POD}

sosreports and a must-gather have been attached to the case.

Are there any workarounds to suppress these error messages?  Any progress on a permanent solution?

Comment 20 Weinan Liu 2022-08-05 07:37:55 UTC
http://external-ci-coldstorage.datahub.redhat.com/cvp/cvp-redhat-operator-bundle-image-validation-test/
https://brewweb.engineering.redhat.com/brew/packageinfo?packageID=74647

Hi Joel, 
no report found for 4.12, could you help to check if we got the image built for 4.12?

Comment 22 Weinan Liu 2022-08-09 05:09:00 UTC
I'll put this back to assigned till the 4.12 build ready

Comment 24 Weinan Liu 2022-10-26 07:35:14 UTC
Working in 4.12 now, as per comment #23

Comment 27 errata-xmlrpc 2023-01-17 19:46:21 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 (Moderate: OpenShift Container Platform 4.12.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:7399


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