Bug 2227380 - "Created" event is not getting generated for some of the hco.status.relatedObjects, post successful cnv installation [NEEDINFO]
Summary: "Created" event is not getting generated for some of the hco.status.relatedOb...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.14.0
Assignee: Nahshon Unna-Tsameret
QA Contact: Natalie Gavrielov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-28 23:27 UTC by Debarati Basu-Nag
Modified: 2023-08-07 13:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-07 13:38:56 UTC
Target Upstream Version:
Embargoed:
nunnatsa: needinfo? (dbasunag)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-31505 0 None None None 2023-07-28 23:28:09 UTC

Description Debarati Basu-Nag 2023-07-28 23:27:34 UTC
Description of problem: "Created" event is not getting generated for some of the hco.status.relatedObjects, post successful cnv installation


Version-Release number of selected component (if applicable):
 v4.14.0.rhel9-1372

How reproducible:
100% (2 out of 2 attempt

Steps to Reproduce:
1. Install CNV 
2. Check all the "Created" events for cnv namespace
3.

Actual results:
For the following hco.status.related objects, "Created" events are not getting generated.
================
PriorityClass kubevirt-cluster-critical
Deployment kubevirt-apiserver-proxy
ConsoleQuickStart creating-virtual-machine
ConsoleQuickStart creating-virtual-machine-from-volume
ConsoleQuickStart upload-boot-source
ImageStream rhel8-guest
ImageStream rhel9-guest
ConfigMap virtio-win
Role virtio-win
RoleBinding virtio-win
ConfigMap nginx-conf
ConsolePlugin kubevirt-plugin


Expected results:
Created Event should exist for all hco.status.relatedObjects after successful cnv installation

Additional info:

Comment 2 Nahshon Unna-Tsameret 2023-07-31 13:15:55 UTC
@dbasunag - could you please add the hco pod log?

Comment 3 Nahshon Unna-Tsameret 2023-08-07 13:37:54 UTC
The K8s client, that is used by oc/kubectl, aggregates similar events if their frequency is too high. When HCO creates all the sub-resources, it exceeds the event rate limit, and so some of the event, are always not displayed and aggregated. This is why we miss some of the events.


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