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

Release image is not getting picked correctly when installing Azure UPI cluster with ARM templates for the Arm64 arch

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • No
    • None
    • None
    • Proposed
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Following the doc- https://docs.openshift.com/container-platform/4.15/installing/installing_azure/installing-azure-user-infra.html
      
      The installation fails due to image download failure as seen in the bootstrap node. It complains about the image being amd64 instead of arm64.
      
      [core@alosingh-94x7m-bootstrap ~]$ journalctl -b -f -u release-image.service -u bootkube.service
      Feb 20 10:42:57 alosingh-94x7m-bootstrap systemd[1]: release-image.service: Failed with result 'exit-code'.
      Feb 20 10:42:57 alosingh-94x7m-bootstrap systemd[1]: Failed to start Download the OpenShift Release Image.
      Feb 20 10:42:57 alosingh-94x7m-bootstrap systemd[1]: Dependency failed for Bootstrap a Kubernetes cluster.
      Feb 20 10:42:57 alosingh-94x7m-bootstrap systemd[1]: bootkube.service: Job bootkube.service/start failed with result 'dependency'.
      Feb 20 10:42:57 alosingh-94x7m-bootstrap systemd[1]: release-image.service: Consumed 9.959s CPU time.
      Feb 20 10:43:50 alosingh-94x7m-bootstrap systemd[1]: Starting Download the OpenShift Release Image...
      Feb 20 10:43:50 alosingh-94x7m-bootstrap release-image-download.sh[2514]: ERROR: release image arch amd64 does not match host arch arm64
      Feb 20 10:43:51 alosingh-94x7m-bootstrap systemd[1]: release-image.service: Main process exited, code=exited, status=1/FAILURE
      Feb 20 10:43:51 alosingh-94x7m-bootstrap systemd[1]: release-image.service: Failed with result 'exit-code'.
      Feb 20 10:43:51 alosingh-94x7m-bootstrap systemd[1]: Failed to start Download the OpenShift Release Image.
      
          

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

      4.15
          

      How reproducible:

      100%
          

      Steps to Reproduce:

          1. Follow the steps to install the cluster as per https://docs.openshift.com/container-platform/4.15/installing/installing_azure/installing-azure-user-infra.html.
          2. Mention 'aarch64' in the architechture at step 3 of https://docs.openshift.com/container-platform/4.15/installing/installing_azure/installing-azure-user-infra.html#installation-azure-user-infra-uploading-rhcos_installing-azure-user-infra.
          3. Mention 'Arm64' in the architechture at step 3 of https://docs.openshift.com/container-platform/4.15/installing/installing_azure/installing-azure-user-infra.html#installation-azure-user-infra-deploying-rhcos_installing-azure-user-infra.
          4. Change the VM type to Standard_D4ps_v5(or any supported arm VMs) in the templates for the VMs(bootstrap & master).
          5. Master ignition fails with the mentioned error in the bootstrap node.
          

      Actual results:

      Release image not picked correctly.
          

      Expected results:

      Installation to succeed without issue.
          

      Additional info:

      
          

              Unassigned Unassigned
              rhn-support-alosingh Alok Singh
              None
              None
              Gaoyun Pei Gaoyun Pei
              None
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: