-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.12
-
Moderate
-
No
-
False
-
This is a clone of issue OCPBUGS-2130. The following is the description of the original issue:
—
Description of problem:
create new host and cluster folder qe-cluster under datacenter, and move cluster workloads into that folder.
$ govc find -type r /OCP-DC/host/qe-cluster/workloads
using below install-config.yaml file to create single zone cluster.
apiVersion: v1 baseDomain: qe.devcluster.openshift.com compute: - architecture: amd64 hyperthreading: Enabled name: worker platform: vsphere: cpus: 4 memoryMB: 8192 osDisk: diskSizeGB: 60 zones: - us-east-1 replicas: 2 controlPlane: architecture: amd64 hyperthreading: Enabled name: master platform: vsphere: cpus: 4 memoryMB: 16384 osDisk: diskSizeGB: 60 zones: - us-east-1 replicas: 3 metadata: name: jima-permission networking: clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 machineNetwork: - cidr: 10.19.46.0/24 networkType: OVNKubernetes serviceNetwork: - 172.30.0.0/16 platform: vsphere: apiVIP: 10.19.46.99 cluster: qe-cluster/workloads datacenter: OCP-DC defaultDatastore: my-nfs ingressVIP: 10.19.46.98 network: "VM Network" username: administrator@vsphere.local password: xxx vCenter: xxx vcenters: - server: xxx user: administrator@vsphere.local password: xxx datacenters: - OCP-DC failureDomains: - name: us-east-1 region: us-east zone: us-east-1a topology: datacenter: OCP-DC computeCluster: /OCP-DC/host/qe-cluster/workloads networks: - "VM Network" datastore: my-nfs server: xxx pullSecret: xxx
installer get error:
$ ./openshift-install create cluster --dir ipi5 --log-level debug DEBUG Generating Platform Provisioning Check... DEBUG Fetching Common Manifests... DEBUG Reusing previously-fetched Common Manifests DEBUG Generating Terraform Variables... FATAL failed to fetch Terraform Variables: failed to generate asset "Terraform Variables": failed to get vSphere network ID: could not find vSphere cluster at /OCP-DC/host//OCP-DC/host/qe-cluster/workloads: cluster '/OCP-DC/host//OCP-DC/host/qe-cluster/workloads' not found
Version-Release number of selected component (if applicable):
4.12.0-0.nightly-2022-10-05-053337
How reproducible:
always
Steps to Reproduce:
1. create new host/cluster folder under datacenter, and move vsphere cluster into that folder 2. prepare install-config with zone configuration 3. deploy cluster
Actual results:
fail to create cluster
Expected results:
succeed to create cluster
Additional info:
- clones
-
OCPBUGS-2130 [vsphere] zone cluster installation fails if vSphere Cluster is embedded in Folder
- Closed
- is blocked by
-
OCPBUGS-2130 [vsphere] zone cluster installation fails if vSphere Cluster is embedded in Folder
- Closed
- links to