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

4.13 UPI deployment started failing with Required value: must specify a computeCluster, platform.vsphere.failureDomains.topology.resourcePool: Invalid value

XMLWordPrintable

    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When installing on vSphere we are getting this error mentioned in title.
      
      Started to see the error in ODF QE CI probably after merge of this change: https://github.com/openshift/installer/commit/8579a12abd50a1b84c115ba71336e446698239b1

       

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

      4.13.0-0.nightly-2023-02-22-192922

      How reproducible:

       

      Steps to Reproduce:

      1. Installing OCP 4.13 nightly
      2. Using this template for rendering config file: https://github.com/red-hat-storage/ocs-ci/blob/master/ocs_ci/templates/ocp-deployment/install-config-vsphere-upi.yaml.j2
      3. Getting error
      

      Actual results:

      time="2023-02-23T02:09:55Z" level=debug msg="OpenShift Installer 4.13.0-0.nightly-2023-02-22-192922"
      time="2023-02-23T02:09:55Z" level=debug msg="Built from commit 50e40714db6d5b3adddb25353112ada8058a469f"
      time="2023-02-23T02:09:55Z" level=debug msg="Fetching Master Machines..."
      time="2023-02-23T02:09:55Z" level=debug msg="Loading Master Machines..."
      time="2023-02-23T02:09:55Z" level=debug msg="  Loading Cluster ID..."
      time="2023-02-23T02:09:55Z" level=debug msg="    Loading Install Config..."
      time="2023-02-23T02:09:55Z" level=debug msg="      Loading SSH Key..."
      time="2023-02-23T02:09:55Z" level=debug msg="      Loading Base Domain..."
      time="2023-02-23T02:09:55Z" level=debug msg="        Loading Platform..."
      time="2023-02-23T02:09:55Z" level=debug msg="      Loading Cluster Name..."
      time="2023-02-23T02:09:55Z" level=debug msg="        Loading Base Domain..."
      time="2023-02-23T02:09:55Z" level=debug msg="        Loading Platform..."
      time="2023-02-23T02:09:55Z" level=debug msg="      Loading Networking..."
      time="2023-02-23T02:09:55Z" level=debug msg="        Loading Platform..."
      time="2023-02-23T02:09:55Z" level=debug msg="      Loading Pull Secret..."
      time="2023-02-23T02:09:55Z" level=debug msg="      Loading Platform..."
      time="2023-02-23T02:09:55Z" level=error msg="failed to fetch Master Machines: failed to load asset \"Install Config\": failed to create install config: invalid \"install-config.yaml\" file: [platform.vsphere.failureDomains.topology.computeCluster: Required value: must specify a computeCluster, platform.vsphere.failureDomains.topology.resourcePool: Invalid value: \"//Resources\": full path of resource pool must be provided in format /<datacenter>/host/<cluster>/...]"

      Expected results:

      Deploy the cluster without error

      Additional info:

      Adding `cluster` to install config : https://github.com/red-hat-storage/ocs-ci/pull/7165/files Seems helped to W/A the issue.

              jcallen@redhat.com Joseph Callen
              petr.balogh Petr Balogh
              Wenxin Wei Wenxin Wei
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: