NotReady / Provisioning state. Upon inspecting the vsphere-csi-controller pods in the vmware-system-csi namespace, the pods are found in a CrashLoopBackOff state.vsphere-csi-controller container show the following error: "level":"error","msg":"failed to run the driver. Err: could not find any AvailabilityZone" "stacktrace":"sigs.k8s.io/vsphere-csi-driver/v3/pkg/csi/service/wcp.(*controller).Init"
kubectl get availabilityzones returns: No resources foundLog into the Supervisor Cluster and check for the existence of Availability Zones: kubectl get availabilityzones
If the command returns No resources found, SSH into the vCenter Server Appliance (VCSA).
Restart the WCP service to force a full scan of the vSphere inventory and re-populate the Supervisor API: service-control --restart wcp
Wait approximately 5 minutes for the service to initialize.
Re-run the check on the Supervisor Cluster: kubectl get availabilityzones, an entry with a status of Ready: True should be seen.
Once the zones are present, restart the CSI deployment to pick up the new configuration: kubectl rollout restart deployment vsphere-csi-controller -n vmware-system-csi
Monitor the pods to ensure they transition to a Running state: kubectl get pods -n vmware-system-csi -w