Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2111258

Summary: [vsphere] failed to create cluster if datacenter is embedded in a Folder
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: InstallerAssignee: Rafael Fonseca <rdossant>
Installer sub component: openshift-installer QA Contact: jima
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: chdeshpa, daliu, dhuynh, efried, jima, ocp-installer, rbost, rdossant, rspagnol
Version: 4.11   
Target Milestone: ---   
Target Release: 4.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-08 05:41:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2110482    
Bug Blocks:    

Comment 1 jima 2022-08-22 05:47:55 UTC
build payload from cluster-bot including PR openshift/installer#6173, install IPI cluster against this payload on vSphere where datacenter is under folder.
Installation is completed without any error.

$ oc get clusterversion
NAME      VERSION                                                   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.10.0-0.ci.test-2022-08-22-021633-ci-ln-9gjtt2k-latest   True        False         108m    Cluster version is 4.10.0-0.ci.test-2022-08-22-021633-ci-ln-9gjtt2k-latest

$ oc get cm cloud-provider-config -n openshift-config -o yaml
apiVersion: v1
data:
  config: |
    [Global]
    secret-name = "vsphere-creds"
    secret-namespace = "kube-system"
    insecure-flag = "1"

    [Workspace]
    server = "vsphere url"
    datacenter = "qedc/sub-qe-dc/Datacenter"
    default-datastore = "datastore3"
    folder = "/qedc/sub-qe-dc/Datacenter/vm/jima23a-srwkw"

    [VirtualCenter "vsphere url"]
    datacenters = "qedc/sub-qe-dc/Datacenter"
...

Comment 3 jima 2022-08-26 08:46:32 UTC
based on pre-merge validation in Comment 1, move bug to VERIFIED.

Comment 6 errata-xmlrpc 2022-09-08 05:41:12 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: OpenShift Container Platform 4.10.31 security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:6258