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

[Multiarch] spec.architecture doesn't auto-populate on ARM clusters despite kubernetes.io/arch=arm64

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • CNV v4.20.0
    • CNV v4.20.0
    • CNV User Interface
    • None
    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV v4.20.0.rhel9-168
    • Important
    • None

      Description of problem:

      when setting up a VM with arm64 datasources ,
      
      configuration auto-populates  kubernetes.io/arch: arm64  when datasources are  arm based     spec:
            nodeSelector:
              kubernetes.io/arch: arm64 
      
      while spec.architecture has to be set explictly, ideally if nodeSelector is auto-populated with kubernetes.io/arch: arm64 , set spec.architecture to arm64 by default.

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

      4.20

      How reproducible:

      always

      Steps to Reproduce:

      1. To reproduce , open UI in a heterogeneous cluster. Make sure enable enableMultiArchBootImageImport in hco
      2. create a VM using fedora.arm64 datasource and create VM with instancetype flow from UI. Observe nodeselector is picked kubernetes.io/arch: arm64 
      3. on VM spec see, architectire is still amd64
      

      Actual results:

      spec.architecture is amd64 always  and must be set explicitly for non arm. This is too manual for big setups.

      Expected results:

      If nodeSelector is auto-populated with kubernetes.io/arch: arm64 , set spec.architecture to arm64 by default

      Additional info:

       

          There are no Sub-Tasks for this issue.

              aturgema Aviv Turgeman
              gkapoor@redhat.com Geetika Kapoor
              Leon Kladnitsky Leon Kladnitsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: