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

Cannot create VM from template when multiarch feature is enabled

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • None

      Description of problem:

      Cannot create VM from template when multiarch feature is enabled, error like below on cnv2 cluster:
      admission webhook "mutatevirtualmachines.kubemacpool.io" denied the request: json: cannot unmarshal array into Go struct field VirtualMachineInstanceTemplateSpec.spec.template.spec of type v1.Devices
      
      Note: create VM from CLI is fine, the UI seems modify the VM object.
      $ oc process rhel8-server-small-u3gjyw0nt -p NAME=rhel8 | oc create -f -
      virtualmachine.kubevirt.io/rhel8 created

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

      v4.20

      How reproducible:

      always on cnv2, but not occurrs on QE cluster

      Steps to Reproduce:

      1.on CNV2 cluster, create vm from template via quick create button, the issue not does not happen while customize the VM
      2.
      3.
      

      Actual results:

       

      Expected results:

       

      Additional info:

       

          There are no Sub-Tasks for this issue.

              rszwajko@redhat.com Radoslaw Szwajkowski
              gouyang1@redhat.com Guohua Ouyang
              Guohua Ouyang Guohua Ouyang
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: