Bug 1958862 - Missing default values for permitted host devices + misleading API naming
Summary: Missing default values for permitted host devices + misleading API naming
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Installation
Version: 4.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.8.0
Assignee: Nahshon Unna-Tsameret
QA Contact: ibesso
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-10 10:40 UTC by Nahshon Unna-Tsameret
Modified: 2021-07-27 14:33 UTC (History)
3 users (show)

Fixed In Version: hco-bundle-registry:v4.8.0-324
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 14:32:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt hyperconverged-cluster-operator pull 1318 0 None closed Default Permitted PCI Host Devices 2021-05-11 14:59:16 UTC
Github kubevirt hyperconverged-cluster-operator pull 1330 0 None closed [release-1.4] Default Permitted PCI Host Devices 2021-05-11 14:59:16 UTC
Red Hat Product Errata RHSA-2021:2920 0 None None None 2021-07-27 14:33:20 UTC

Description Nahshon Unna-Tsameret 2021-05-10 10:40:46 UTC
Description of problem:


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


How reproducible:
Deploy CNV and read KubeVirt CR's permitted host devices

Actual results:
No default values for the permitted host devices

Expected results:
The following PCI devices should be present in HCO CR and KubeVirt CR:
permittedHostDevices:
       pciHostDevices:
                - pciVendorSelector: "10DE:1DB6"
                  resourceName: "nvidia.com/GV100GL_Tesla_V100"
               -  pciVendorSelector: "10DE:1EB8"
                  resourceName: "nvidia.com/TU104GL_Tesla_T4"

In addition the "pciVendorSelector" field name is misleading because this is a device selector, not only a vendor selector. The value is more specific than the field name.

Additional info:

Comment 1 ibesso 2021-05-27 19:19:35 UTC
Verified with a cluster installed from scratch CNV 4.8.0
--------------------------------------------------------
IIB: registry-proxy.engineering.redhat.com/rh-osbs/iib:76375
HCO:[v4.8.0-350]

The HCO CR has the following by default:
  permittedHostDevices:
    pciHostDevices:
    - pciDeviceSelector: 10DE:1DB6
      resourceName: nvidia.com/GV100GL_Tesla_V100
    - pciDeviceSelector: 10DE:1EB8
      resourceName: nvidia.com/TU104GL_Tesla_T4

pciVendorSelector is not used anymore.

Moving to VERIFIED.

Comment 4 errata-xmlrpc 2021-07-27 14:32:06 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.8.0 Images), 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-2021:2920


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