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

aws-eks: aws-auth creation failure takes 1 hour #30452

Closed
taku-hatano opened this issue Jun 5, 2024 · 3 comments
Closed

aws-eks: aws-auth creation failure takes 1 hour #30452

taku-hatano opened this issue Jun 5, 2024 · 3 comments
Labels
@aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service bug This issue is a bug. effort/small Small work item – less than a day of effort p3

Comments

@taku-hatano
Copy link

Describe the bug

In creation cluster stack, aws-auth creation step was failed and it took 1 hour for fail parent stack.
Error message is below,

CloudFormation did not receive a response from your Custom Resource. Please check your logs for requestId [ca31f6eb-af1b-412e-8a06-f312c8affcc7]. If you are using the Python cfn-response module, you may need to update your Lambda function code so that CloudFormation can attach the updated version.

(There is no error in Lambda handler log, so I think the aws-auth creation was successful.)

Expected Behavior

If aws-auth creation fails, the parent Stack will also fail immediately.

Current Behavior

If aws-auth creation fails, the parent Stack fail after 1 hour.

Reproduction Steps

I use https://aws-quickstart.github.io/cdk-eks-blueprints/

const cluster = new blueprints.GenericClusterProvider({
  fargateProfiles: {
	  "fp-default": {
		  selectors: [{ namespace: "default", labels: { worker: "fargate" } }],
	  },
  },
});
blueprints.EksBlueprint.builder()
  .clusterProvider(cluster)
  .resourceProvider(
    blueprints.GlobalResources.Vpc,
    new blueprints.DirectVpcProvider(args.vpc),
  )
  .build(app, stackName, props)

Possible Solution

I read deployed Lambda handler code, but I cannot find cfn response.
ref. here

Where is cfn response for Python custom resource handlers?

Additional Information/Context

No response

CDK CLI Version

2.137.0 (build bb90b4c)

Framework Version

No response

Node.js Version

v20.14.0

OS

AmazonLinux 2023.3.20240312

Language

TypeScript

Language Version

5.4.3

Other information

No response

@taku-hatano taku-hatano added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Jun 5, 2024
@github-actions github-actions bot added the @aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service label Jun 5, 2024
@pahud
Copy link
Contributor

pahud commented Jun 5, 2024

cdk-blue-prints is not maintained by AWS CDK team. Please report your issue to https://github.com/aws-quickstart/cdk-eks-blueprints/issues

@pahud pahud closed this as completed Jun 5, 2024
@pahud pahud added p3 and removed needs-triage This issue or PR still needs to be triaged. labels Jun 5, 2024
Copy link

github-actions bot commented Jun 5, 2024

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

@pahud pahud added effort/small Small work item – less than a day of effort labels Jun 5, 2024
@aws-cdk-automation
Copy link
Collaborator

Comments on closed issues and PRs are hard for our team to see. If you need help, please open a new issue that references this one.

@aws aws locked as resolved and limited conversation to collaborators Jul 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
@aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service bug This issue is a bug. effort/small Small work item – less than a day of effort p3
Projects
None yet
Development

No branches or pull requests

3 participants