kubectl get machines -A shows new machines in a permanent Provisioning state after triggering a rolling update.capv-controller-manager pods and capi-system pods have been restarted with no change in behavior.
Deleting stuck machines results in the creation of new machines that also fail to provision.
kubectl describe machine <stuck-machine-name> -n <namespace>Example Error:
unable to find template by name '/Datacenter/vm/template-name-herev1.0...'TCA 3.x
When a template is unavailable, the machine deployment will halt in a provisioning state awaiting availability of the template. This can occur if the template has been deleted, moved or renamed.
kubectl edit vspheremachinetemplate <template-name> -n <namespace>Update the
spec.template.spec.template field to match the actual vCenter inventory path.kubectl patch cluster <cluster-name> --type merge -p '{"spec":{"paused":true}}'# Resume reconciliationkubectl patch cluster <cluster-name> --type merge -p '{"spec":{"paused":false}}'