Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-16422

[2054863] Consistency in naming mediatedDevicesTypes and nodemediatedDeviceTypes

XMLWordPrintable

    • 3
    • False
    • False
    • CLOSED
    • Release Notes
    • Hide
      The mediated devices configuration API in the HyperConverged custom resource (CR) has been updated to improve consistency. The field that was previously named mediatedDevicesTypes is now named mediatedDeviceTypes to align with the naming convention used for the nodeMediatedDeviceTypes field. (BZ#2054863)
      Show
      The mediated devices configuration API in the HyperConverged custom resource (CR) has been updated to improve consistency. The field that was previously named mediatedDevicesTypes is now named mediatedDeviceTypes to align with the naming convention used for the nodeMediatedDeviceTypes field. (BZ#2054863)
    • Bug Fix
    • Done
    • CNV Virtualization Sprint 224, CNV Virtualization Sprint 225, CNV Virtualization Sprint 226, CNV Virtualization Sprint 227, CNV Virtualization Sprint 228, CNV Virtualization Sprint 229, CNV Virtualization Sprint 230, CNV Virtualization Sprint 231, CNV I/U Operators Sprint 238, CNV I/U Operators Sprint 239, CNV Virtualization Sprint 232
    • Medium
    • No

      Description of problem:

      Consistency in naming mediatedDevicesTypes and nodemediatedDeviceTypes is needed

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

      How reproducible:
      Always

      Steps to Reproduce:
      1. update the HCO CR with mediatedDevices Configuration

      mediatedDevicesConfiguration:
      mediatedDevicesTypes:

      • nvidia-231
        nodeMediatedDeviceTypes:
      • mediatedDevicesTypes:
      • nvidia-233
        nodeSelector:
        kubernetes.io/hostname: node-11.redhat.com
        permittedHostDevices:
        mediatedDevices:
      • mdevNameSelector: GRID T4-2Q
        resourceName: nvidia.com/GRID_T4-2Q
      • mdevNameSelector: GRID T4-8Q
        resourceName: nvidia.com/GRID_T4-8Q
        2.
        3.

      Actual results:
      mediatedDevicesTypes and nodeMediatedDeviceTypes

      Notice, "Devices" plural and "Device" Singular.

      Expected results:
      Feel, it should be consistent.

      Additional info:

              stirabos Simone Tiraboschi
              kbidarka@redhat.com Kedar Bidarkar
              Kedar Bidarkar Kedar Bidarkar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: