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
When an EKS cluster fails the creation before the control plane successfully being created, the first deletion attempt runs into issues when trying to delete the node pool label set and fails with secret not found, but the subsequent deletion attempt succeeds without leaving any resources behind.
Steps to reproduce the issue:
Try creating an EKS cluster with insufficient privileges to cluster role creation, envelope encryption or possibly to VPC creation.
Observe the creation to fail before the control plane could be created.
Try deleting the failed cluster.
Observe the deletion to fail with secret not found on node pool stack deletion.
Try deleting the failed cluster again.
Observe the deletion to succeed.
Check the AWS resources for the cluster to be completely removed.
Expected behavior
The first deletion attempt should succeed as the second does.
Additional context
My guess is on a non-conditional node pool label set deletion early during the deletion process even when the node pool label set operator had not been installed before.
pregnor
changed the title
Failed (before control plane) to create EKS cluster fails deletion at first try, succeeds on second.
Failed (before control plane) to create EKS cluster fails deletion at first try, succeeds on second
Nov 16, 2020
pregnor
changed the title
Failed (before control plane) to create EKS cluster fails deletion at first try, succeeds on second
Failed (before master node created) to create EKS cluster fails deletion at first try, succeeds on second
Mar 18, 2021
DeleteNodePoolLabelSetActivity is the one that fails to run properly on the first time. The second time this activity does not triggered, so this may be the reason why the second deletion succeed. It is possible that cluster creation fails before node pool label set creations, causing the delete to fail on trying to delete non existing resource.
Describe the bug
When an EKS cluster fails the creation before the control plane successfully being created, the first deletion attempt runs into issues when trying to delete the node pool label set and fails with
secret not found
, but the subsequent deletion attempt succeeds without leaving any resources behind.Steps to reproduce the issue:
secret not found
on node pool stack deletion.Expected behavior
The first deletion attempt should succeed as the second does.
Additional context
My guess is on a non-conditional node pool label set deletion early during the deletion process even when the node pool label set operator had not been installed before.
Error:
The text was updated successfully, but these errors were encountered: