Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-20315

[4.14] BMO sets preprovisioning architecture to x86 for arm BMHs

    XMLWordPrintable

Details

    • Important
    • No
    • 1
    • Metal Platform 235, Metal Platform 243, Metal Platform 244
    • 3
    • Rejected
    • False
    • Hide

      None

      Show
      None

    Description

      Version:
      4.13.0-rc.3
      advanced-cluster-management.v2.8.0-123
      multicluster-engine.v2.3.0-125

      Attempted to deploy SNO spoke on an ARM machine.
      The preprovisioningimage is not ready - InfraEnvArchMismatch
      The BMH is stuck in provisioning:

       
      oc get bmh -A NAMESPACE NAME STATE CONSUMER ONLINE ERROR AGE nvd-srv-15 nvd-srv-15 provisioning true 32m 
      
      oc get preprovisioningimages.metal3.io -A NAMESPACE NAME READY REASON nvd-srv-15 nvd-srv-15 False InfraEnvArchMismatch
      
       
      oc get bmh nvd-srv-15 -o yaml apiVersion: metal3.io/v1alpha1 kind: BareMetalHost metadata: annotations: bmac.agent-install.openshift.io/hostname: nvd-srv-15 bmac.agent-install.openshift.io/role: master inspect.metal3.io: disabled creationTimestamp: "2023-05-02T19:08:05Z" finalizers: - baremetalhost.metal3.io generation: 2 labels: infraenvs.agent-install.openshift.io: nvd-srv-15 name: nvd-srv-15 namespace: nvd-srv-15 resourceVersion: "16766175" uid: 0ed0a685-e171-46a9-a4de-9367a53a4060 spec: automatedCleaningMode: disabled bmc: address: redfish-virtualmedia://10.8.232.14/redfish/v1/Systems/Self credentialsName: bmc-secret1 disableCertificateVerification: true bootMACAddress: 74:56:3c:40:0b:c4 customDeploy: method: start_assisted_install online: true rootDeviceHints: deviceName: /dev/nvme0n1 status: errorCount: 0 errorMessage: "" goodCredentials: credentials: name: bmc-secret1 namespace: nvd-srv-15 credentialsVersion: "16766003" hardwareProfile: unknown lastUpdated: "2023-05-02T19:08:16Z" operationHistory: deprovision: end: null start: null inspect: end: null start: null provision: end: null start: "2023-05-02T19:08:16Z" register: end: "2023-05-02T19:08:16Z" start: "2023-05-02T19:08:05Z" operationalStatus: OK poweredOn: false provisioning: ID: 797cde66-823c-4cac-85eb-d81293e11eac bootMode: UEFI image: url: "" rootDeviceHints: deviceName: /dev/nvme0n1 state: provisioning triedCredentials: credentials: name: bmc-secret1 namespace: nvd-srv-15 credentialsVersion: "16766003" 
       oc get preprovisioningimages.metal3.io nvd-srv-15 -o yaml apiVersion: metal3.io/v1alpha1 kind: PreprovisioningImage metadata: creationTimestamp: "2023-05-02T19:08:16Z" generation: 13 labels: infraenvs.agent-install.openshift.io: nvd-srv-15 name: nvd-srv-15 namespace: nvd-srv-15 ownerReferences: - apiVersion: metal3.io/v1alpha1 blockOwnerDeletion: true controller: true kind: BareMetalHost name: nvd-srv-15 uid: 0ed0a685-e171-46a9-a4de-9367a53a4060 resourceVersion: "16782790" uid: 6edafb9a-3d22-41ca-b920-01011b679285 spec: acceptFormats: - iso - initrd architecture: x86_64 status: conditions: - lastTransitionTime: "2023-05-02T19:08:16Z" message: PreprovisioningImage CPU architecture (x86_64) does not match InfraEnv CPU architecture (arm64) observedGeneration: 13 reason: InfraEnvArchMismatch status: "False" type: Ready - lastTransitionTime: "2023-05-02T19:08:16Z" message: PreprovisioningImage CPU architecture (x86_64) does not match InfraEnv CPU architecture (arm64) observedGeneration: 13 reason: InfraEnvArchMismatch status: "True" type: Error networkData: {} 
      
      oc get infraenv nvd-srv-15 -o yaml apiVersion: agent-install.openshift.io/v1beta1 kind: InfraEnv metadata: annotations: infraenv.agent-install.openshift.io/enable-ironic-agent: "true" creationTimestamp: "2023-05-02T18:38:25Z" finalizers: - infraenv.agent-install.openshift.io/ai-deprovision generation: 2 name: nvd-srv-15 namespace: nvd-srv-15 resourceVersion: "16781762" uid: cf895c62-4336-475c-847e-f29ea9717b2c spec: agentLabels: bla: aaa clusterRef: name: nvd-srv-15 namespace: nvd-srv-15 cpuArchitecture: arm64 ipxeScriptType: DiscoveryImageAlways nmStateConfigLabelSelector: {} pullSecretRef: name: pull-secret sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC2HqaPvD2gpaVNOuCfrv2RMweuV/u+N/bd2BiJZtarie6Hn/YwNR9MlMZIdmO+gvlsE1nRwx8drQ13OqqcPAV3FoDwc5vG6kQegKhvJ7xGT8iW0VM7TK9kQQitmsv4BVC14m8PCBG3gCUpLwhbbfupbq4HSNPY53pPKwhfmyU0YgblOyIDBz01kUKEC30yKSsLknlnlMV5DxbHJj74Zc3e09rEV3yEBEcz3VHlBLciddBfJ/L+1fRgJsosANOZ7mGvZm98a4AJ8RD/Lg4BH2bcWYYZKI46cH/FRPNVSejCVVwHU/wRlNLPjxDvrv+kO74mrI272C8RwwS1Iotf1C5uMgdfVYHj/aVOQUsgLPZ3car7NYBMs9cGx2tGwZH9C8TQFkHZu8hyUDuAbqpBbYbCHjT4PGImaLX44BA2w69ZlWg4gIQslgrhWlmxkO5X8bhStGhxWvuXVWXKU56Sy9DEfcZPvWBftwLAlTl5pwdldKc970nBoTXdqMeEb9LX4OU= kni@r640-u01.qe1.kni.lab.eng.bos.redhat.com status: agentLabelSelector: matchLabels: infraenvs.agent-install.openshift.io: nvd-srv-15 bootArtifacts: initrd: https://assisted-image-service-multicluster-engine.apps.qe4.kni.lab.eng.bos.redhat.com/images/9101ee53-a224-47e3-bea8-215d1246b727/pxe-initrd?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZyYV9lbnZfaWQiOiI5MTAxZWU1My1hMjI0LTQ3ZTMtYmVhOC0yMTVkMTI0NmI3MjcifQ.NilxXsInfATeOgKqynrcHbeZBPVb2THamekMFc9qiwuq9ZSiaRQCW3aHB793ARv3vGzdkiP1DMWQRczXhzchHg&arch=arm64&version=4.13-arm ipxeScript: https://assisted-service-multicluster-engine.apps.qe4.kni.lab.eng.bos.redhat.com/api/assisted-install/v2/infra-envs/9101ee53-a224-47e3-bea8-215d1246b727/downloads/files?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZyYV9lbnZfaWQiOiI5MTAxZWU1My1hMjI0LTQ3ZTMtYmVhOC0yMTVkMTI0NmI3MjcifQ.sVjoWwISac6jEnFcKGm6re6my6eYZ-3b51YA9pB89D7v1tJmHX6bWljKCxthW10OKOCWymaFgVlnG7ga_QnPJA&file_name=ipxe-script kernel: https://assisted-image-service-multicluster-engine.apps.qe4.kni.lab.eng.bos.redhat.com/boot-artifacts/kernel?arch=arm64&version=4.13-arm rootfs: https://assisted-image-service-multicluster-engine.apps.qe4.kni.lab.eng.bos.redhat.com/boot-artifacts/rootfs?arch=arm64&version=4.13-arm conditions: - lastTransitionTime: "2023-05-02T18:38:25Z" message: Image has been created reason: ImageCreated status: "True" type: ImageCreated createdTime: "2023-05-02T19:25:59Z" debugInfo: eventsURL: https://assisted-service-multicluster-engine.apps.qe4.kni.lab.eng.bos.redhat.com/api/assisted-install/v2/events?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZyYV9lbnZfaWQiOiI5MTAxZWU1My1hMjI0LTQ3ZTMtYmVhOC0yMTVkMTI0NmI3MjcifQ.uBPr7qi6NjnCm-kEtf-uB0KoRZ_6JqMhOUP0BU1cpe9tLa-O6eQCMQT34Jg4J1kBmagHnfYftH50H45L-5zkWA&infra_env_id=9101ee53-a224-47e3-bea8-215d1246b727 isoDownloadURL: https://assisted-image-service-multicluster-engine.apps.qe4.kni.lab.eng.bos.redhat.com/images/9101ee53-a224-47e3-bea8-215d1246b727?api_key=eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZyYV9lbnZfaWQiOiI5MTAxZWU1My1hMjI0LTQ3ZTMtYmVhOC0yMTVkMTI0NmI3MjcifQ.bWtmfbro67Q6dnoTHdiDy7lmeqNMZ4rUXABfdbhjWqveRzysk1Egk0ba9CXrl3rFRwyLPTuEawtQ_GikpivBOw&arch=arm64&type=minimal-iso&version=4.13-arm 
      

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-dtantsur Dmitry Tantsur
              achuzhoy@redhat.com Alexander Chuzhoy
              Dmitry Dmitriev Dmitry Dmitriev
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: