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

OCP 4.15.0-rc.5 : Generating the install-config file or creating manifest or creating cluster fails with Invalid value: "Standard_D8s_v3": with multiple reason

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None
    • Hide
      INTERNAL - no RN required

      What: Installer could fail to get instance type information from Azure in the allotted time
      Result: Installer fails with a message about not finding the instance type in the region, even though the type exists when verified with the az cli.
      Fix: Increased the timeout to wait for an Azure response and improved the error message to include the actual reason for failure.
      Show
      INTERNAL - no RN required What: Installer could fail to get instance type information from Azure in the allotted time Result: Installer fails with a message about not finding the instance type in the region, even though the type exists when verified with the az cli. Fix: Increased the timeout to wait for an Azure response and improved the error message to include the actual reason for failure.
    • Bug Fix
    • In Progress

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

      Description of problem:

      Hello Team,
      
      We have observed weird and uncertain behavior while we execute any of the  below commands to proceed for the installation on Azure platform for OCP deployment 4.15.0-rc.5.
      
      $ ./openshift-install create install-config --dir=<installation_dir> 
      or
      $ ./openshift-install create manifests --dir=<installation_dir> 
      or 
      $ ./openshift-install create cluster --dir=<installation_dir> 
      
      
      Attempt 1: It fails
      ~~~
      $ ./openshift-install create install-config --dir=. 
      ? SSH Public Key /root/.ssh/id_rsa.pub
      ? Platform azure
      INFO Credentials loaded from file "/root/.azure/osServicePrincipal.json" 
      ? Region eastus
      ? Base Domain india.az.cee.support
      ? Cluster Name ocpdummyocp415
      ? Pull Secret [? for help] *******************************************************************************************************************************************************************FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version] 
      ~~~
      
      Attempt 2 : It succeeded
      ~~~
      ./openshift-install create install-config --dir=. 
      ? SSH Public Key /root/.ssh/id_rsa.pub
      ? Platform azure
      INFO Credentials loaded from file "/root/.azure/osServicePrincipal.json" 
      ? Region eastus
      ? Base Domain india.az.cee.support
      ? Cluster Name ocpdummyocp415
      ? Pull Secret [? for help] *******************************************************************************************************************************************************************INFO Install-Config created in: .     
      ~~~
      
      This is very uncertain even though I have full permission and access of azure and have available disk size in all region/location as well.
      
      ~~~
      $ az vm list-sizes --location  "eastus" | grep -i Standard_D8s_v3
         "name": "Standard_D8s_v3",
      ~~~
      
      Attempt 3 : Fails - Now if we create manifest it fails.
      
      ~~~
      ./openshift-install create manifests --dir=. 
      INFO Credentials loaded from file "/root/.azure/osServicePrincipal.json" 
      ERROR failed to fetch Master Machines: failed to load asset "Install Config": failed to create install config: [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version, compute[0].platform.azure.type: Invalid value: "Standard_D4s_v3": not found in region eastus] 
      ~~~

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

          

      How reproducible:

      Uncertain sometimes it works and sometime it does not.    

      Steps to Reproduce:

      With any of the below commands we are encountering the issue:
      
      $ ./openshift-install create install-config --dir=<installation_dir> 
      or
      $ ./openshift-install create manifests --dir=<installation_dir> 
      or 
      $ ./openshift-install create cluster --dir=<installation_dir> 
      
      FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version] 

      Actual results:

       Reverse of Expected results:
      
       FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version] 
      
      FATAL failed to fetch Install Config: failed to generate asset "Install Config": [controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": not found in region eastus, controlPlane.platform.azure.type: Invalid value: "Standard_D8s_v3": unable to determine HyperVGeneration version] 

      Expected results:

      It should generate the install-config file or manifest or create cluster.     

      Additional info:

          

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

              Created:
              Updated:
              Resolved: