Bug 2006810 - CNAO is bombarding kube API and HCO with status updates
Summary: CNAO is bombarding kube API and HCO with status updates
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Networking
Version: 4.8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.9.1
Assignee: Ram Lavi
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-22 13:14 UTC by Petr Horáček
Modified: 2025-04-04 13:15 UTC (History)
3 users (show)

Fixed In Version: v4.9.1-16 cluster-network-addons-operator-container-v4.9.1-5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-13 19:59:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Logs of CNAO (5.48 MB, text/plain)
2021-09-22 13:14 UTC, Petr Horáček
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-14228 0 None None None 2025-04-04 13:15:07 UTC
Red Hat Product Errata RHBA-2021:5091 0 None None None 2021-12-13 19:59:17 UTC

Description Petr Horáček 2021-09-22 13:14:10 UTC
Created attachment 1825323 [details]
Logs of CNAO

Description of problem:
HCO reconciles all changes of ClusterNetworkAddons. It was observed that on 4.8.2, these changes happen about 8 times every minute. That is overwhelming both HCO and the Kubernetes API. We should make sure that all these updates are really needed (are not just bumping the timestamp) and we should lower the frequency.

Version-Release number of selected component (if applicable):
CNV 4.8.2

How reproducible:
Unknown


Steps to Reproduce:
1. Install CNAO and apply NetworkAddonsConfig

Actual results:
NetworkAddonsConfig status is updated 8 times a minute.

Expected results:
The status is updated less often and only when necessary.


Additional info:

Comment 3 Yossi Segev 2021-11-22 15:19:27 UTC
I checked CNAO pod log, and the issue seems to be resolved. The reconciling message + "Successfully updated status conditions" appear once every ~1 minute.

Verified on:
OCP 4.9.6
CNV 4.9.1
cluster-network-addons-operator v4.9.1-6

Comment 9 errata-xmlrpc 2021-12-13 19:59:01 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 Virtualization 4.9.1 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-2021:5091


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