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

openshift-installer shall fail when the arch in release payload mismatch with the VM

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • None
    • 4.16.z
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, if you specified an unsupported architecture in the `install-config.yaml` file the installation program would fail with a "connection refused" message. With this update, the installation program correctly validates the cluster architecture parameter, leading to successful installations. (link:https://issues.redhat.com/browse/OCPBUGS-38841[*OCPBUGS-38841*])
      Show
      * Previously, if you specified an unsupported architecture in the `install-config.yaml` file the installation program would fail with a "connection refused" message. With this update, the installation program correctly validates the cluster architecture parameter, leading to successful installations. (link: https://issues.redhat.com/browse/OCPBUGS-38841 [* OCPBUGS-38841 *])
    • Bug Fix
    • Done

      This is a clone of issue OCPBUGS-38479. The following is the description of the original issue:

      Description of problem:

      When using an installer with amd64 payload, configuring the VM to use aarch64 is possible through the installer-config.yaml:
      
      additionalTrustBundlePolicy: Proxyonly
      apiVersion: v1
      baseDomain: ci.devcluster.openshift.com
      compute:
      - architecture: arm64
        hyperthreading: Enabled
        name: worker
        platform: {}
        replicas: 3
      controlPlane:
        architecture: arm64
        hyperthreading: Enabled
        name: master
        platform: {}
        replicas: 3
      
      However, the installation will fail with ambiguous error messages:
      
      ERROR Attempted to gather ClusterOperator status after installation failure: listing ClusterOperator objects: Get "https://api.build11.ci.devcluster.openshift.com:6443/apis/config.openshift.io/v1/clusteroperators": dial tcp 13.59.207.137:6443: connect: connection refused
      
      The actual error hides in the bootstrap VM's System Log:
      
      Red Hat Enterprise Linux CoreOS 417.94.202407010929-0 4.17
      
      SSH host key: SHA256:Ng1GpBIlNHcCik8VJZ3pm9k+bMoq+WdjEcMebmWzI4Y (ECDSA)
      
      SSH host key: SHA256:Mo5RgzEmZc+b3rL0IPAJKUmO9mTmiwjBuoslgNcAa2U (ED25519)
      
      SSH host key: SHA256:ckQ3mPUmJGMMIgK/TplMv12zobr7NKrTpmj+6DKh63k (RSA)
      
      ens5: 10.29.3.15 fe80::1947:eff6:7e1b:baac
      
      Ignition: ran on 2024/08/14 12:34:24 UTC (this boot)
      
      Ignition: user-provided config was applied
      
      [0;33mIgnition: warning at $.kernelArguments: Unused key kernelArguments[0m
      
      
      
      [1;31mRelease image arch amd64 does not match host arch arm64[0m
      
      ip-10-29-3-15 login: [   89.141099] Warning: Unmaintained driver is detected: nft_compat
      
          

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

      4.16
          

      How reproducible:

      Use amd64 installer to install a cluster with aarch64 nodes
          

      Steps to Reproduce:

          1. download amd64 installer
          2. generate the install-config.yaml
          3. edit install-config.yaml to use aarch64 nodes
          4. invoke the installer
          

      Actual results:

      installation timed out after ~30mins
          

      Expected results:

      installation failed immediately with proper error message indicating the installation is not possible
          

      Additional info:

      https://redhat-internal.slack.com/archives/C68TNFWA2/p1723640243828379
          

            rdossant Rafael Fonseca dos Santos
            openshift-crt-jira-prow OpenShift Prow Bot
            May Xu May Xu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: