Bug 2110482 - [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
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.11.0
Assignee: OCP Installer
QA Contact: jima
URL:
Whiteboard:
Depends On: 2097691
Blocks: 2111258
TreeView+ depends on / blocked
 
Reported: 2022-07-25 13:15 UTC by OpenShift BugZilla Robot
Modified: 2022-08-23 15:09 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-23 15:09:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 6160 0 None open [release-4.11] Bug 2110482: vsphere installconfig: use full dc path in network validation 2022-07-25 13:16:09 UTC
Red Hat Product Errata RHSA-2022:6103 0 None None None 2022-08-23 15:09:27 UTC

Comment 1 jima 2022-07-27 04:14:52 UTC
Build payload 4.11.0-0.ci.test-2022-07-27-021054-ci-ln-p6mn3st-latest including installer PR #6160 from cluster-bot, verify the fix.

Install IPI cluster on env where datacenter is embedded into the folder.

$ oc get clusterversion
NAME      VERSION                                                   AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.11.0-0.ci.test-2022-07-27-021054-ci-ln-p6mn3st-latest   True        False         5m52s   Cluster version is 4.11.0-0.ci.test-2022-07-27-021054-ci-ln-p6mn3st-latest

$ oc get cm cloud-provider-config -n openshift-config -ojson | jq -r .data.config
[Global]
secret-name = "vsphere-creds"
secret-namespace = "kube-system"
insecure-flag = "1"

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

[VirtualCenter "vcenter server"]
datacenters = "qedc/sub-qe-dc/Datacenter"

Comment 3 jima 2022-08-17 04:31:46 UTC
I did pre-merge verification in comment#1, but seems bz status is not changed to "VERIFIED" automatically.

Verified again on 4.11.0-0.nightly-2022-08-16-194731, passed, move status to "VERIFIED".

$ oc get clusterversion
NAME      VERSION                                     AVAILABLE   PROGRESSING   SINCE   STATUS
version    4.11.0-0.nightly-2022-08-16-194731         True        False         36m     Cluster version is 4.11.0-0.nightly-2022-08-16-194731

$ oc get cm cloud-provider-config -n openshift-config -ojson | jq -r .data.config
[Global]
secret-name = "vsphere-creds"
secret-namespace = "kube-system"
insecure-flag = "1"

[Workspace]
server = "dhcp-8-30-198.lab.eng.rdu2.redhat.com"
datacenter = "qedc/sub-qe-dc/Datacenter"
default-datastore = "datastore3"
folder = "/qedc/sub-qe-dc/Datacenter/vm/jima23a-2ntgr"

[VirtualCenter "dhcp-8-30-198.lab.eng.rdu2.redhat.com"]
datacenters = "qedc/sub-qe-dc/Datacenter"

Comment 6 errata-xmlrpc 2022-08-23 15:09:07 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 (Moderate: OpenShift Container Platform 4.11.1 bug fix and 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:6103


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