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

GCP: The installer doesn’t precheck if node architecture and vm type are consistent

XMLWordPrintable

    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, setting an architecture different from the one supported by the instance type would result in the installation failing mid-process, after some resources were created. With this update, a validation check will ensure that the instance type is compatible with the specified architecture. If the architecture is not compatible, the process will fail before the installation begins. (link:https://issues.redhat.com/browse/OCPBUGS-24575[*OCPBUGS-24575*])
      Show
      * Previously, setting an architecture different from the one supported by the instance type would result in the installation failing mid-process, after some resources were created. With this update, a validation check will ensure that the instance type is compatible with the specified architecture. If the architecture is not compatible, the process will fail before the installation begins. (link: https://issues.redhat.com/browse/OCPBUGS-24575 [* OCPBUGS-24575 *])
    • Bug Fix
    • Done

      Description of problem:

      The installer doesn’t do precheck if node architecture and vm type are consistent for aws and gcp, it works on azure    

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

          4.15.0-0.nightly-multi-2023-12-06-195439 

      How reproducible:

         Always 

      Steps to Reproduce:

          1.Config compute architecture field to arm64 but vm type choose amd64 instance type in install-config     
          2.Create cluster 
          3.Check installation     

      Actual results:

      Azure will precheck if architecture is consistent with instance type when creating manifests, like:
      12-07 11:18:24.452 [INFO] Generating manifests files.....12-07 11:18:24.452 level=info msg=Credentials loaded from file "/home/jenkins/ws/workspace/ocp-common/Flexy-install/flexy/workdir/azurecreds20231207-285-jd7gpj"
      12-07 11:18:56.474 level=error msg=failed to fetch Master Machines: failed to load asset "Install Config": failed to create install config: controlPlane.platform.azure.type: Invalid value: "Standard_D4ps_v5": instance type architecture 'Arm64' does not match install config architecture amd64
      
      But aws and gcp don’t have precheck, it will fail during installation, but many resources have been created. The case more likely to happen in multiarch cluster    

      Expected results:

      The installer can do a precheck for architecture and vm type , especially for heterogeneous supported platforms(aws,gcp,azure)    

      Additional info:

          

              rdossant Rafael Fonseca dos Santos
              lwan-wanglin Lin Wang
              Lin Wang Lin Wang
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: