Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Attribute 'Arn' does not exist" error on the controlPlane resource during the stack creation #7806

Open
laurentdroin opened this issue Jun 3, 2024 · 9 comments
Labels

Comments

@laurentdroin
Copy link

Attempting to create an EKS cluster with eksctl 0.179.0 fails.

It fails during the stack creation:

2024-06-03 10:11:28 [✖]  unexpected status "CREATE_FAILED" while waiting for CloudFormation stack "eksctl-ldr-test-eksctl-june-3-cluster"
2024-06-03 10:11:28 [✖]  unexpected status "CREATE_FAILED" while waiting for CloudFormation stack "eksctl-ldr-test-eksctl-june-3-cluster"
2024-06-03 10:11:28 [ℹ]  fetching stack events in attempt to troubleshoot the root cause of the failure
2024-06-03 10:11:28 [✖]  AWS::CloudFormation::Stack/eksctl-ldr-test-eksctl-june-3-cluster: CREATE_FAILED – "The following resource(s) failed to create: [ControlPlane]. "
2024-06-03 10:11:28 [✖]  AWS::EKS::Cluster/ControlPlane: CREATE_FAILED – "Attribute 'Arn' does not exist"
2024-06-03 10:11:28 [!]  1 error(s) occurred and cluster hasn't been created properly, you may wish to check CloudFormation console
2024-06-03 10:11:28 [ℹ]  to cleanup resources, run 'eksctl delete cluster --region=us-east-1 --name=ldr-test-eksctl-june-3'
2024-06-03 10:11:28 [✖]  ResourceNotReady: failed waiting for successful resource state

This seems to be a timing issue because if the eksctl command is run with the '--cfn-disable-rollback' flag to prevent the stack rollback, I can see that even thought the stack creation failed, the role "ServiceRole" is properly created and the ARN is available. As a matter of fact, if I "retry" the stack, it completes and creates fine.

@laurentdroin laurentdroin added the kind/help Request for help label Jun 3, 2024
Copy link
Contributor

github-actions bot commented Jun 3, 2024

Hello laurentdroin 👋 Thank you for opening an issue in eksctl project. The team will review the issue and aim to respond within 1-5 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website

@cPu1
Copy link
Collaborator

cPu1 commented Jun 4, 2024

@laurentdroin, can you share your ClusterConfig file or CLI args used to create the cluster? Are you able to consistently reproduce this?

@laurentdroin
Copy link
Author

@cPu1 - Yes, I can reproduce consistently. Here is the command I used yesterday (I obfuscated the IDs of the private subnet and my email address):

eksctl create cluster --name ldr-test-eksctl-june-3 --region us-east-1 --version 1.29 --vpc-private-subnets subnet-XXX,subnet-XXX --tags Owner=me@address.com,blah=bleh --node-type t3.xlarge -N 3 --node-volume-size 20 --instance-prefix ldr-eksctl-june-3-

Copy link
Contributor

github-actions bot commented Jul 5, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Jul 5, 2024
@laurentdroin
Copy link
Author

Commenting in order to remove the stale label.

@github-actions github-actions bot removed the stale label Jul 9, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Aug 8, 2024
@TiberiuGC TiberiuGC removed the stale label Aug 8, 2024
@edmonl
Copy link

edmonl commented Aug 9, 2024

I got this too with eksctl 0.188. Not sure if it's relevant, that I updated IAM permissions to the latest Minimum Permissions on the doc site before trying eksctl 0.188.

Copy link
Contributor

github-actions bot commented Sep 9, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the stale label Sep 9, 2024
@cPu1
Copy link
Collaborator

cPu1 commented Sep 9, 2024

I got this too with eksctl 0.188. Not sure if it's relevant, that I updated IAM permissions to the latest Minimum Permissions on the doc site before trying eksctl 0.188.

@edmonl, can you share your ClusterConfig file and the output from running the command?

@cPu1 cPu1 added kind/bug and removed stale kind/help Request for help labels Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants