TKGi NSX-T errand fails when datacenter name includes a space
search cancel

TKGi NSX-T errand fails when datacenter name includes a space

book

Article ID: 380884

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition VMware Tanzu Kubernetes Grid Integrated (TKGi) VMware Tanzu Kubernetes Grid Integrated Edition (Core) VMware Tanzu Kubernetes Grid Integrated Edition 1.x

Issue/Introduction

NSX-T errand fails with error:

Checking if esxi hosts are onboarded

ERROR: Failed to find datacenter Datacenter due to: govc: datacenter 'Datacenter' not found

ERROR: Failed to find datacenter Datacenter due to: govc: datacenter 'Datacenter' not found

ERROR: NSX-T Precheck failed due to Unable to check if esxi hosts are onboarded since hosts are empty

Environment

TKGi v1.19.2

Cause

The Datacenter name configured in TKGi Tile --> Kubernetes Cloud Provider includes a space

Resolution

No workaround is available, the recommendation is to disable the NSX-T errand until one becomes available in TKGi v1.21.0