Bug 2241327

Summary: upgrade to CNV 4.14 stuck due to name of "MediatedDevicesTypes" 4.14 require to have MediatedDeviceTypes that does not exist in 4.13
Product: Container Native Virtualization (CNV) Reporter: Akriti Gupta <akrgupta>
Component: InstallationAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED ERRATA QA Contact: Akriti Gupta <akrgupta>
Severity: high Docs Contact:
Priority: high    
Version: 4.14.0CC: dbasunag, dshchedr, jpeimer, kbidarka, stirabos
Target Milestone: ---   
Target Release: 4.14.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hco-bundle-registry-container-v4.14.0.rhel9-2167 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:06:16 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 Akriti Gupta 2023-09-29 10:41:40 UTC
Description of problem: currently 4.13 still uses MediatedDevicesTypes (Devices wih 's') which deprecated but still there, but 4.14 will also require to have MediatedDeviceTypes(device without 's') that does not exist in 4.13

following error in logs represent it
E0929 08:40:07.120015       1 queueinformer_operator.go:319] sync {"update" "openshift-cnv/install-ktqh4"} failed: error validating existing CRs against new CRD's schema for "hyperconvergeds.hco.kubevirt.io": error validating custom resource against new schema for HyperConverged openshift-cnv/kubevirt-hyperconverged: [].spec.mediatedDevicesConfiguration.mediatedDeviceTypes: Required value

configuration we started with in HCO on 4.13 
mediatedDevicesConfiguration:
    mediatedDevicesTypes:

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


How reproducible:


Steps to Reproduce:
1.on a cluster configured with vGPU , upgrade 4.13 to 4.14
2.
3.

Actual results:
CNV upgrade is stuck

Expected results:
CNV upgrades to 4.14 successfully 

Additional info:
bug fixed to updated nameing convention to mediatedDeviceTypes in 4.14 https://bugzilla.redhat.com/show_bug.cgi?id=2054863

Comment 3 errata-xmlrpc 2023-11-08 14:06:16 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.14.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-2023:6817