Description of problem: VM is having UEFI bootloader: ~~~ oc get vm rhel8-i68a2hmbnvp4r2we -o yaml|yq '.spec.template.spec.domain.firmware' { "bootloader": { "efi": { "secureBoot": false } } } ~~~ Tried cloning the VM and the cloned VM doesn't have the UEFI and will use BIOS. ~~~ # oc get vm rhel8-i68a2hmbnvp4r2we-clone -o yaml|yq '.spec.template.spec.domain.firmware' null ~~~ Version-Release number of selected component (if applicable): OpenShift Virtualization 4.12.0 How reproducible: 100% Steps to Reproduce: 1. Create a VM with UEFI, ie spec.bootloader = efi. 2. Try cloning this VM and check the definition of the cloned VM. 3. spec.firmware.bootloader is not copied and it will use BIOS. Actual results: spec.firmware.bootloader is not copied while cloning a UEFI VM Expected results: It should keep the bootloader configuration. Additional info:
This is the UX issue and could reproduce it.
verified on upstream latest
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