Error: CnsFault No compatible datastore found for storagePolicy during PV creation in TKGI
search cancel

Error: CnsFault No compatible datastore found for storagePolicy during PV creation in TKGI

book

Article ID: 443111

calendar_today

Updated On:

Products

VMware Tanzu Kubernetes Grid Integrated Edition

Issue/Introduction

When setting up Topology-Aware Volume Provisioning in Tanzu Kubernetes Grid Integrated Edition (TKGI), Persistent Volume (PV) creation fails. The following error is observed in the logs:

{"level":"info","time":"2026-06-03T14:07:50.799763906Z","caller":"k8sorchestrator/topology.go:253","msg":"Refreshing preferred datastores information...","TraceId":"f5860eba-e0c9-4a64-a340-5b0098a91930"}
{"level":"info","time":"2026-06-03T14:07:50.806801689Z","caller":"common/authmanager.go:293","msg":"No vSAN datastores found for vCenter \"#####.vsphere.net\"","TraceId":"02323cf3-d42e-4a19-bbd4-516f8461c4b0"}
{"level":"info","time":"2026-06-03T14:07:50.827912098Z","caller":"vsphere/utils.go:362","msg":"New tag manager with useragent 'k8s-csi-useragent-service-instance_GUID'","TraceId":"f5860eba-e0c9-4a64-a340-5b0098a91930"}
{"level":"warn","time":"2026-06-03T14:07:50.977273721Z","caller":"common/topology.go:456","msg":"failed to retrieve tags for category \"abc.vmware.topology-preferred-datastores\" in vCenter \"#####.vsphere.net\". Reason: GET https://#####.vsphere.net:443/rest/com/vmware/cis/tagging/category/id:abc.vmware.topology-preferred-datastores: 404 Not Found","TraceId":"f5860eba-e0c9-4a64-a340-5b0098a91930"}


....
No compatible datastore found for storagePolicy: 3133029e-#####\"\n }),\n LocalizedMessage: (string) (len=101) \"CnsFault error: No compatible datastore found for storagePolicy: 313
3029e-#####\"\n})\n"

Environment

VMware Tanzu Kubernetes Grid Integrated Edition (TKGI)
vSphere CNS (Cloud Native Storage)

Cause

This issue occurs when clusters are created without the required vCenter tags passed during the initial creation process.

Resolution

Confirm if tags were correctly set by checking the cluster manifest: 

bosh -d service-instance_#### manifest > si-manifest.yaml

Ensure the topology-aware datastore is configured correctly. Refer to the official documentation: https://techdocs.broadcom.com/us/en/vmware-tanzu/standalone-components/tanzu-kubernetes-grid-integrated-edition/1-25/tkgi/vsphere-cns.html#vsphere-topology-provisioning 

If tags are present but the PV creation fails contact Broadcom Support https://support.broadcom.com/web/ecx/contact-support