Bug 2111258 - [vsphere] failed to create cluster if datacenter is embedded in a Folder
Summary: [vsphere] failed to create cluster if datacenter is embedded in a Folder
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.11
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.10.z
Assignee: Rafael Fonseca
QA Contact: jima
Depends On: 2110482
TreeView+ depends on / blocked
Reported: 2022-07-26 20:58 UTC by OpenShift BugZilla Robot
Modified: 2022-09-08 05:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2022-09-08 05:41:12 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift installer pull 6173 0 None open [release-4.10] Bug 2111258: vsphere installconfig: use full dc path in network validation 2022-08-17 07:02:43 UTC
Red Hat Product Errata RHSA-2022:6258 0 None None None 2022-09-08 05:41:32 UTC

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
  config: |
    secret-name = "vsphere-creds"
    secret-namespace = "kube-system"
    insecure-flag = "1"

    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.


Note You need to log in before you can comment on or make changes to this bug.