Bug 2094807 - hardware devices dropdown has group title even with no devices in cluster
Summary: hardware devices dropdown has group title even with no devices in cluster
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.11.0
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.11.0
Assignee: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-08 10:38 UTC by Aviv Turgeman
Modified: 2023-11-13 08:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-14 19:35:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
no devices (60.24 KB, image/png)
2022-06-08 10:38 UTC, Aviv Turgeman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 574 0 None open Bug 2094807: fix hw dropdown 2022-06-08 10:45:33 UTC
Red Hat Issue Tracker CNV-18988 0 None None None 2023-11-13 08:17:20 UTC
Red Hat Product Errata RHSA-2022:6526 0 None None None 2022-09-14 19:35:47 UTC

Description Aviv Turgeman 2022-06-08 10:38:44 UTC
Created attachment 1887996 [details]
no devices

Description of problem:
when opening the hardware devices modal (GPU/Host device modal) and there are no devices configured to the cluster, the devices dropdown will show the group title when opening the dropdown

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

How reproducible:
100%

Steps to Reproduce:
1. enter a VM and move to details tab, at the bottom right row of detail items we have an option to add devices
2. try to add any kind of device when there are no devices configured to the cluster and open devices dropdown and see the header for each group of devices

Actual results:
showing headers for mediated devices and PCI host devices with no list under them

Expected results:
show a no devices messege

Additional info:

Comment 1 Leon Kladnitsky 2022-06-11 10:24:30 UTC
Verified on 4.11.0-456

Comment 4 errata-xmlrpc 2022-09-14 19:35:42 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 (Important: OpenShift Virtualization 4.11.0 Images security and bug fix 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:6526


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