You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
once VMSS VM is gone, the AzureMachinePoolMachine gets completely removed
Machine stays in Failed state
The behavior contract between Machine and InfraMachine doesn't specify how this should be done, I believe. However, given the current behavior, I believe step #2 is wrong and instead of marking the AzureMachinePoolMachine as deleted, it should instead mark the Machine (i.e. the Owner) as deleted.
What did you expect to happen:
Machine gets deleted successfully and doesn't stay in cluster.
Environment:
cluster-api-provider-azure version: 1.15.2 with PR 4928 applied
Kubernetes version: (use kubectl version): 1.28.5
OS (e.g. from /etc/os-release): Linux
The text was updated successfully, but these errors were encountered:
/kind bug
What steps did you take and what happened:
I noticed a few Machines with Failed state recently:
The bug seems to be as follows:
Scale Set VM is Deleting
is logged - VMSS VM is in phase DeletingAzureMachinePoolMachine
as deleted (setting DeletionTimestamp)The behavior contract between Machine and InfraMachine doesn't specify how this should be done, I believe. However, given the current behavior, I believe step #2 is wrong and instead of marking the
AzureMachinePoolMachine
as deleted, it should instead mark the Machine (i.e. the Owner) as deleted.What did you expect to happen:
Machine gets deleted successfully and doesn't stay in cluster.
Environment:
kubectl version
): 1.28.5/etc/os-release
): LinuxThe text was updated successfully, but these errors were encountered: