Bug 1878701

Summary: After deleting and recreating a VM with same name, the VM events contain the events from the old VM
Product: OpenShift Container Platform Reporter: Tomas Jelinek <tjelinek>
Component: Console Kubevirt PluginAssignee: Tomas Jelinek <tjelinek>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.6CC: aos-bugs, gouyang, istein
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: Incorrect filtering of VM events based on VM name Consequence: If a VM with the same name existed in the past in the cluster, its events have been mixed into the events of the new VM Fix: All events produced before the current VM has been created have been filtered out Result: Only the events actually belonging to the current VM are shown on its events screen
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-24 15:17:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Jelinek 2020-09-14 11:29:14 UTC
Description of problem:

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


How reproducible:


Steps to Reproduce:
1. Create a VM and name it "somevm"
2. Start it to have some events
3. Delete it
4. Create a new one in the same namespace with the same name
5. Observe in the events tab the events from the previous VM

Actual results:
The old events are present

Expected results:
Only the new events are present

Additional info:

Comment 1 Tomas Jelinek 2020-10-30 13:21:53 UTC
*** Bug 1892687 has been marked as a duplicate of this bug. ***

Comment 3 Guohua Ouyang 2020-11-23 03:42:37 UTC
verified on master ui.

Comment 6 errata-xmlrpc 2021-02-24 15:17:46 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.7.0 security, bug fix, and enhancement 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-2020:5633