CAPI should delete kubernetes node when InfraMachine with providerID but Machine without providerID #7412
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What steps did you take and what happened:
cluster-api-provider-elf(CAPE) is the infrastructure provider of cluster-api (CAPI)
During deleting the CAPI Machine that without providerID, and ElfMachine set providerID successful at the same time (kubernetes worker node is up). CAPI removed CAPI Machine and ElfMachine directly, did not delete the associated kubernetes node because CAPI Machine has not synced ElfMachine's providerID value.
What did you expect to happen:
CAPI should delete the kubernetes nodes when ElfMachine with providerID but CAPI Machine without providerID
logs
mycluster-worker1-49wkt should be deleted
Environment:
/kind bug
The text was updated successfully, but these errors were encountered: