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:
deferring to the next release as there is no danger of data loss.
Deferring to 4.13 as it's past blockers-only and it's not considered a 4.12 blocker.
@stirabos can you check if this bug is actually an HCO one as pointed out by Jed?
Verified on v4.14.0.rhel9-1259 [akriti@fedora ~]$ oc edit hco kubevirt-hyperconverged -n openshift-cnv -o yaml [akriti@fedora ~]$ oc get hco kubevirt-hyperconverged -n openshift-cnv -o yaml | grep -A 8 mediatedDevicesConfiguration: mediatedDevicesConfiguration: mediatedDeviceTypes: - nvidia-231 nodeMediatedDeviceTypes: - mediatedDeviceTypes: - nvidia-233 nodeSelector: kubernetes.io/hostname: node-11.redhat.com resourceRequirements: mediatedDeviceTypes did not disappear and mediatedDeviceTypes under nodeMediatedDeviceTypes can be saved under HCO
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.13.3 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-2023:4664