Bug 2167226

Summary: Sorting Network Interface by 'Network' or 'Type' does not work.
Product: Container Native Virtualization (CNV) Reporter: Germano Veit Michel <gveitmic>
Component: User ExperienceAssignee: Hilda Stastna <hstastna>
Status: CLOSED ERRATA QA Contact: Guohua Ouyang <gouyang>
Severity: low Docs Contact:
Priority: unspecified    
Version: 4.11.0CC: gouyang
Target Milestone: ---   
Target Release: 4.13.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-18 02:57:25 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 Germano Veit Michel 2023-02-05 22:12:25 UTC
Description of problem:

The console does not properly sort VM NICs by Network or Type.

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

How reproducible:
Always

Steps to Reproduce:
1. Add a few NICs to a VM, SR-IOV, Bridge and Pod types.
2. Go to the "Network Interfaces" of the VM and try to sort the list by Network or Type

Actual results:
Not properly sorted

Expected results:
Sorted

Additional info:
* Attaching 2 screenshots, one sorting by type and other by network

Comment 1 Germano Veit Michel 2023-02-05 22:14:14 UTC
Created attachment 1942460 [details]
by network

5th and 6th NIC should be swapped

Comment 2 Germano Veit Michel 2023-02-05 22:14:52 UTC
Created attachment 1942461 [details]
by Type

4th and 5th NIC should be swapped

Comment 4 Hilda Stastna 2023-03-03 15:43:34 UTC
I was not able to reproduce the issue regarding sorting by Network.
However, sorting by Type definitely doesn't work as expected, in 4.12/4.13.

Comment 5 Hilda Stastna 2023-03-03 15:56:25 UTC
Fixing: 
https://github.com/kubevirt-ui/kubevirt-plugin/pull/1103

Comment 7 errata-xmlrpc 2023-05-18 02:57: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 (Moderate: OpenShift Virtualization 4.13.0 Images 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-2023:3205