Bug 2014352

Summary: Could not filter out machine by using node name on machines page
Product: OpenShift Container Platform Reporter: Yanping Zhang <yanpzhan>
Component: Management ConsoleAssignee: Kim Dobestein <kdoberst>
Status: CLOSED ERRATA QA Contact: Yanping Zhang <yanpzhan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.9CC: aos-bugs, asavina, yapei
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2037619 (view as bug list) Environment:
Last Closed: 2022-03-10 16:20:08 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:
Bug Depends On:    
Bug Blocks: 2037619    
Attachments:
Description Flags
filter-node-name none

Description Yanping Zhang 2021-10-15 01:52:59 UTC
Created attachment 1833218 [details]
filter-node-name

Description of problem:
On machines list page, filter with node name, the related master could not be filtered out.

Version-Release number of selected component (if applicable):
4.9.0-0.nightly-2021-10-13-170616

How reproducible:
Always

Steps to Reproduce:
1.Go to machines list page, set node name as filter name, check the filter result.
2.
3.

Actual results:
1. No machine is filtered out.

Expected results:
2. The related machine should be filtered out.

Additional info:

Comment 1 Jakub Hadvig 2021-10-15 07:45:59 UTC
This issue looks similar to these issues, which are also effecting filtering:
- https://bugzilla.redhat.com/show_bug.cgi?id=1990255
- https://bugzilla.redhat.com/show_bug.cgi?id=2005179

These BZs are owned by Zac. @Kim could you please team up with Zac on figuring our what seems to be the issue, since the filtering might be an issue on other pages as well, since we are sharing the filtering component.
Thanks

Comment 2 Kim Dobestein 2021-10-18 21:16:11 UTC
Couple of items that I observed.

I can verify that when you type in a Machine's node it doesn't filter.  I observed this in both a 4.9 and 4.10 nightly.  Will verify if the "name" filter should also filter the node column.

What I did notice is that when entering a name into the filter text field and then deleted suddenly, not all of the items are returned to the list below.  This is also documented in https://bugzilla.redhat.com/show_bug.cgi?id=1990255

Comment 3 Yadan Pei 2021-11-08 01:05:23 UTC
*** Bug 2020156 has been marked as a duplicate of this bug. ***

Comment 5 Yanping Zhang 2021-12-20 07:35:43 UTC
Checked on ocp 4.10 cluster with payload 4.10.0-0.nightly-2021-12-18-034942.
On machines list page, filter by name, input node name, the machine could be filtered out according to it's node name.
The bug is fixed.

Comment 10 errata-xmlrpc 2022-03-10 16:20:08 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.10.3 security 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-2022:0056