GetMachineStatus
prevents machine deletion, if SrcAndDstChecks
is disabled
#165
Labels
GetMachineStatus
prevents machine deletion, if SrcAndDstChecks
is disabled
#165
What happened:
We saw a machine stuck in status
Terminating
withFrom the machine creation logs we could derive that
machine-controller-manager-provider-aws/pkg/aws/core_util.go
Lines 65 to 80 in 9e7ed79
With
GetMachineStatus
being called also upon deletion of a machine, the status is stuck and requires manual intervention (e.g. patching the instance's attribute).What you expected to happen:
GetMachineStatus
should not block machine deletion.How to reproduce it (as minimally and precisely as possible):
aws ec2 modify-instance-attribute --no-source-dest-check --instance-id i-<id>
Anything else we need to know:
Environment:
The text was updated successfully, but these errors were encountered: