Bug 1827670 (OCPRHV-76-4.5) - There are too many events generated by oVirt
Summary: There are too many events generated by oVirt
Keywords:
Status: CLOSED ERRATA
Alias: OCPRHV-76-4.5
Product: OpenShift Container Platform
Classification: Red Hat
Component: Cloud Compute
Version: 4.4
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 4.5.0
Assignee: Roy Golan
QA Contact: Jan Zmeskal
URL: https://issues.redhat.com/browse/OCPR...
Whiteboard:
: 1839612 (view as bug list)
Depends On:
Blocks: OCPRHV-76-4.4 1839738
TreeView+ depends on / blocked
 
Reported: 2020-04-24 13:45 UTC by keyvan pishevar
Modified: 2020-07-13 17:31 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-13 17:31:25 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-api-provider-ovirt pull 49 0 None closed Bug 1827670: update machine only when needed 2021-01-26 17:59:46 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:31:42 UTC

Description keyvan pishevar 2020-04-24 13:45:38 UTC
Description of problem:
The system generates too many unnecessary events 
sample :
Generated from ovirtprovider.    616 times in the last 22 minutes
Updated Machine ocp4-gw774-master-0


Version-Release number of selected component (if applicable):
RHV Version 4.3.9.4-11.el7
OCP 4.4 rc11

How reproducible:
Create a brand new cluster and you will see all these events

Steps to Reproduce:
1.
2.
3.

Actual results:
Events:
Generated from ovirtprovider.    616 times in the last 22 minutes
Updated Machine ocp4-gw774-master-0

Expected results:
No Event 

Additional info:

Comment 2 Peter Lauterbach 2020-04-24 17:36:46 UTC
moved to OCP on RHV team

Comment 6 Roy Golan 2020-05-25 13:30:05 UTC
A success criteria here is to see that the frequency of the updates goes to once every few minutes, instead of everyt few seconds. 
A regression tests will be to make sure a machine gets updated if there is indeed something to change. like shutting down the VM and starting it again, which should be reflected as a change.

Comment 7 Jan Zmeskal 2020-05-26 13:54:04 UTC
Verified with: openshift-install-linux-4.5.0-0.nightly-2020-05-26-051016

Verification steps:
1. I had both OCP4.4 cluster (where this is not implemented) and OCP4.5 cluster running alongside each other
2. I ran oc get events --watch on both of them
3. I could see that OCP4.4 cluster generated machine update events every ~ 4 minutes
4. OCP4.5 cluster generated update events only when I delete/created new worker machines

34m         Normal    Created            machine/secondary-s5zgz-worker-0-fs959             Updated Machine secondary-s5zgz-worker-0-fs959
34m         Normal    Update             machine/secondary-s5zgz-worker-0-fs959             Updated Machine secondary-s5zgz-worker-0-fs959
28m         Normal    Deleted            machine/secondary-s5zgz-worker-0-fs959             Updated Machine secondary-s5zgz-worker-0-fs959
26m         Normal    Created            machine/secondary-s5zgz-worker-0-nxsdq             Updated Machine secondary-s5zgz-worker-0-nxsdq
26m         Normal    Update             machine/secondary-s5zgz-worker-0-nxsdq             Updated Machine secondary-s5zgz-worker-0-nxsdq
36m         Normal    Update             machine/secondary-s5zgz-worker-0-pd7wp             Updated Machine secondary-s5zgz-worker-0-pd7wp
34m         Normal    Deleted            machine/secondary-s5zgz-worker-0-pd7wp             Node "secondary-s5zgz-worker-0-pd7wp" drained

Comment 8 Roy Golan 2020-07-09 11:30:08 UTC
*** Bug 1839612 has been marked as a duplicate of this bug. ***

Comment 9 errata-xmlrpc 2020-07-13 17:31:25 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, 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-2020:2409


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