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

[2181515] spec.firmware.bootloader is not copied while cloning a UEFI VM

XMLWordPrintable

    • High

      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.

      ~~~

      1. 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:

            aturgema Aviv Turgeman
            rhn-support-nashok Nijin Ashok
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: