-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.12
-
Moderate
-
None
-
False
-
Description of problem:
Config single zone in install-config.yaml file: $ cat install-config-1.yaml apiVersion: v1 baseDomain: qe.devcluster.openshift.com compute: - architecture: amd64 hyperthreading: Enabled name: worker platform: vsphere: zones: - us-east-1 replicas: 3 controlPlane: architecture: amd64 hyperthreading: Enabled name: master platform: vsphere: zones: - us-east-1 replicas: 3 metadata: name: jimavmc networking: clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 machineNetwork: - cidr: 172.31.248.0/24 networkType: OpenShiftSDN serviceNetwork: - 172.30.0.0/16 platform: vsphere: apiVIP: 172.31.248.137 cluster: Cluster-1 datacenter: SDDC-Datacenter defaultDatastore: WorkloadDatastore ingressVIP: 172.31.248.141 network: qe-segment password: xxx username: xxx vCenter: xxx vcenters: - server: xxx user: xxx password: xxx datacenters: - SDDC-Datacenter failureDomains: - name: us-east-1 region: us-east zone: us-east-1a topology: computeCluster: /SDDC-Datacenter/host/Cluster-1 networks: - qe-segment datacenter: SDDC-Datacenter datastore: WorkloadDatastore server: xxx publish: External pullSecret: xxx sshKey: xxx Continue to install cluster, installer fails, it could not find folder when import ova image. $ ./openshift-install create cluster --dir ipi-single-node-1 --log-level debug DEBUG OpenShift Installer 4.12.0-0.nightly-2022-09-20-095559 DEBUG Built from commit 64257bdd65a293f6b0c8d748fe8c51b0f17b8b2d ... DEBUG vsphere_tag_category.category: Creating... DEBUG vsphere_tag_category.category: Creation complete after 0s [id=urn:vmomi:InventoryServiceCategory:b2a23d3f-979f-4d7a-a204-792992108468:GLOBAL] DEBUG vsphere_tag.tag: Creating... DEBUG vsphere_tag.tag: Creation complete after 0s [id=urn:vmomi:InventoryServiceTag:f128ab99-b4d1-4543-8e91-d7c929abf8a5:GLOBAL] DEBUG vsphere_folder.folder["SDDC-Datacenter-jimavmc-plnsq"]: Creating... DEBUG vsphereprivate_import_ova.import[0]: Creating... DEBUG vsphere_folder.folder["SDDC-Datacenter-jimavmc-plnsq"]: Creation complete after 1s [id=group-v951730] ERROR ERROR Error: failed to find provided vSphere objects: folder '/SDDC-Datacenter/vm/jimavmc-plnsq' not found ERROR ERROR with vsphereprivate_import_ova.import[0], ERROR on main.tf line 70, in resource "vsphereprivate_import_ova" "import": ERROR 70: resource "vsphereprivate_import_ova" "import" { ERROR ERROR failed to fetch Cluster: failed to generate asset "Cluster": failure applying terraform for "pre-bootstrap" stage: failed to create cluster: failed to apply Terraform: exit status 1 ERROR ERROR Error: failed to find provided vSphere objects: folder '/SDDC-Datacenter/vm/jimavmc-plnsq' not found ERROR ERROR with vsphereprivate_import_ova.import[0], ERROR on main.tf line 70, in resource "vsphereprivate_import_ova" "import": ERROR 70: resource "vsphereprivate_import_ova" "import" { ERROR ERROR Actually, folder has been created $ govc ls /SDDC-Datacenter/vm/ | grep jimavmc /SDDC-Datacenter/vm/jimavmc-plnsq
Version-Release number of selected component (if applicable):
4.12.0-0.nightly-2022-09-20-095559
How reproducible:
always
Steps to Reproduce:
1. Prepare install-config.yaml file and configure single zone 2. openshift-install create cluster 3.
Actual results:
Folder could not be found when importing ova image
Expected results:
installation is successful
Additional info:
- blocks
-
OCPBUGS-4576 [vsphere] installation fails when only configure single zone in install-config
- Closed
- is cloned by
-
OCPBUGS-4576 [vsphere] installation fails when only configure single zone in install-config
- Closed
- links to