Bug 2087049 - network-metrics-daemon makes costly global pod list calls scaling per node
Summary: network-metrics-daemon makes costly global pod list calls scaling per node
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.9.z
Assignee: Sebastian Scheinkman
QA Contact: Weibin Liang
URL:
Whiteboard:
Depends On: 2078988
Blocks: 2064371 2088449
TreeView+ depends on / blocked
 
Reported: 2022-05-17 08:16 UTC by OpenShift BugZilla Robot
Modified: 2022-05-31 17:27 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-31 17:26:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift network-metrics-daemon pull 51 0 None open [release-4.9] Bug 2087049: Fix field selector 2022-05-18 01:01:09 UTC
Red Hat Product Errata RHBA-2022:4741 0 None None None 2022-05-31 17:27:02 UTC

Comment 2 Weibin Liang 2022-05-23 14:28:50 UTC
Scale a cluster with 18182 pods, did't see large range reads on pods in 4.9.0-0.nightly-2022-05-19-025331

[weliang@weliang ~]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.9.0-0.nightly-2022-05-19-025331   True        False         74m     Cluster version is 4.9.0-0.nightly-2022-05-19-025331
[weliang@weliang ~]$ oc get pod --all-namespaces | wc -l
18174
[weliang@weliang ~]$ oc logs pod/etcd-ip-10-0-157-115.us-east-2.compute.internal -c etcd | grep range_response_count
{"level":"warn","ts":"2022-05-23T13:52:40.537Z","caller":"etcdserver/util.go:166","msg":"apply request took too long","took":"522.254246ms","expected-duration":"200ms","prefix":"read-only range ","request":"key:\"/kubernetes.io/machineconfiguration.openshift.io/controllerconfigs/machine-config-controller\" ","response":"range_response_count:1 size:14718"}
{"level":"warn","ts":"2022-05-23T13:52:40.537Z","caller":"etcdserver/util.go:166","msg":"apply request took too long","took":"297.054076ms","expected-duration":"200ms","prefix":"read-only range ","request":"key:\"/kubernetes.io/health\" ","response":"range_response_count:0 size:6"}
{"level":"warn","ts":"2022-05-23T13:52:40.537Z","caller":"etcdserver/util.go:166","msg":"apply request took too long","took":"375.072888ms","expected-duration":"200ms","prefix":"read-only range ","request":"key:\"/kubernetes.io/apiserver.openshift.io/apirequestcounts/daemonsets.v1.apps\" ","response":"range_response_count:1 size:23645"}
{"level":"warn","ts":"2022-05-23T13:52:40.537Z","caller":"etcdserver/util.go:166","msg":"apply request took too long","took":"308.186256ms","expected-duration":"200ms","prefix":"read-only range ","request":"key:\"/kubernetes.io/leases/\" range_end:\"/kubernetes.io/leases0\" count_only:true ","response":"range_response_count:0 size:8"}
{"level":"warn","ts":"2022-05-23T13:52:40.537Z","caller":"etcdserver/util.go:166","msg":"apply request took too long","took":"333.705745ms","expected-duration":"200ms","prefix":"read-only range ","request":"key:\"/kubernetes.io/pods/openshift-marketplace/redhat-marketplace-q6lp8\" ","response":"range_response_count:1 size:4800"}
{"level":"warn","ts":"2022-05-23T13:52:40.537Z","caller":"etcdserver/util.go:166","msg":"apply request took too long","took":"239.21714ms","expected-duration":"200ms","prefix":"read-only range ","request":"key:\"/kubernetes.io/apiregistration.k8s.io/apiservices/v1.oauth.openshift.io\" ","response":"range_response_count:1 size:3275"}
{"level":"warn","ts":"2022-05-23T13:52:40.537Z","caller":"etcdserver/util.go:166","msg":"apply request took too long","took":"385.991985ms","expected-duration":"200ms","prefix":"read-only range ","request":"key:\"/kubernetes.io/console.openshift.io/consoleclidownloads/\" range_end:\"/kubernetes.io/console.openshift.io/consoleclidownloads0\" count_only:true ","response":"range_response_count:0 size:8"}
{"level":"warn","ts":"2022-05-23T13:52:40.537Z","caller":"etcdserver/util.go:166","msg":"apply request took too long","took":"503.036961ms","expected-duration":"200ms","prefix":"read-only range ","request":"key:\"/kubernetes.io/endpointslices/\" range_end:\"/kubernetes.io/endpointslices0\" count_only:true ","response":"range_response_count:0 size:8"}
{"level":"warn","ts":"2022-05-23T13:52:40.537Z","caller":"etcdserver/util.go:166","msg":"apply request took too long","took":"443.009848ms","expected-duration":"200ms","prefix":"read-only range ","request":"key:\"/kubernetes.io/configmaps/openshift-oauth-apiserver/audit\" ","response":"range_response_count:1 size:957"}
[weliang@weliang ~]$

Comment 5 errata-xmlrpc 2022-05-31 17:26:43 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.9.36 bug fix 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/RHBA-2022:4741


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