Bug 2181515 - spec.firmware.bootloader is not copied while cloning a UEFI VM
Summary: spec.firmware.bootloader is not copied while cloning a UEFI VM
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: User Experience
Version: 4.12.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
: 4.14.0
Assignee: Aviv Turgeman
QA Contact: Guohua Ouyang
URL:
Whiteboard:
Depends On:
Blocks: 2182534
TreeView+ depends on / blocked
 
Reported: 2023-03-24 11:06 UTC by nijin ashok
Modified: 2023-08-16 14:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2182534 (view as bug list)
Environment:
Last Closed: 2023-08-16 14:09:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github kubevirt-ui kubevirt-plugin pull 1197 0 None open Bug 2181515: spec.firmware.bootloader is not copied while cloning a UEFI VM 2023-03-28 09:34:47 UTC
Red Hat Issue Tracker CNV-27341 0 None None None 2023-03-24 11:10:19 UTC
Red Hat Product Errata RHSA-2023:4664 0 None None None 2023-08-16 14:10:19 UTC

Description nijin ashok 2023-03-24 11:06:11 UTC
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:

Comment 1 Guohua Ouyang 2023-03-27 01:21:09 UTC
This is the UX issue and could reproduce it.

Comment 2 Guohua Ouyang 2023-03-28 23:24:51 UTC
verified on upstream latest

Comment 13 errata-xmlrpc 2023-08-16 14:09:56 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.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


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