Deleting indefinitely or for a unusual longer period of time:# kubectl get machines -n <namespace>
NAME CLUSTER NODENAME PROVIDERID PHASE AGE VERSION
cluster-#####-##### cluster cluster-#####-##### vsphere://###-###-###-###-### Running 3d v1.30.14+vmware.1-fips
cluster-worker-nodepool-0-#-#-1 cluster cluster-worker-nodepool-0-#-#-1 vsphere://###-###-###-###-### Deleting 7d v1.29.4+vmware.3-fips.1
cluster-worker-nodepool-0-#-#-2 cluster cluster-worker-nodepool-0-#-#-# vsphere://###-###-###-###-### Running 1d v1.30.14+vmware.1-fips
cluster-worker-nodepool-1-#-#-3 cluster cluster-worker-nodepool-1-#-#-# vsphere://###-###-###-###-### Running 7d v1.29.4+vmware.3-fips.1
cluster-worker-nodepool-2-#-#-4 cluster cluster-worker-nodepool-2-#-#-# vsphere://###-###-###-###-### Running 7d v1.29.4+vmware.3-fips.1
# kubectl describe machine -n <namespace> cluster-worker-nodepool-0-#-#-1
[...]
Phase: Deleting
v1beta2:
Conditions:
Reason: NotReady
Status: False
Type: Available
Message: * Deleting: Machine deletion in progress since more than 15m, stage: WaitingForVolumeDetach
[...]
Message: Waiting for Node volumes to be detached (started at ####-##-##T##:##:##.00Z)
* VolumeAttachment with .spec.source.persistentVolumeName not matching a PersistentVolume: pvc-########-####-####-#####-############
Observed Generation: 4
Reason: WaitingForVolumeDetach
Status: True
Type: Deleting
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulDrainNode 3m (x3000 over 20h) machine-controller success draining Machine's node "cluster-worker-nodepool-0-#-#-1"
root@cluster-#####-#####:~# kubectl get volumeattachment -A | grep pvc-########-####-####-#####-############
csi-################################ csi.vsphere.vmware.com pvc-########-####-####-#####-############ cluster-worker-nodepool-0-#-#-1 true 12d
root@cluster-#####-#####:~#
root@cluster-#####-#####:~# kubectl describe volumeattachment csi-################################
Name: csi-################################
Namespace:
Labels: <none>
Annotations: csi.alpha.kubernetes.io/node-id: cluster-worker-nodepool-0-#-#-1 <--- referring to same node being "stuck"
[...]
Status:
Attached: true
Attachment Metadata:
Disk UUID: ################################
Type: vSphere CNS Block Volume
Detach Error:
Message: persistentvolume "pvc-########-####-####-#####-############" not found <--- referring to a PV no longer existent
Time: ####-##-##T##:##:##.00Z
Events: <none>
root@cluster-#####-#####:~# kubectl get pv,pvc -A | grep pvc-########-####-####-#####-############
root@cluster-#####-#####:~#
VMware vSphere Supervisor
When experiencing this issue, contact Broadcom support for assistance.