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: ALB Controller another operation error #28514

Closed
andreprawira opened this issue Dec 29, 2023 · 2 comments
Closed

AWS EKS: ALB Controller another operation error #28514

andreprawira opened this issue Dec 29, 2023 · 2 comments
Labels
@aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service bug This issue is a bug. effort/medium Medium work item – several days of effort p2

Comments

@andreprawira
Copy link

Describe the bug

According to the official doc we can add a controller by using alb_controller=eks.AlbControllerOptions(version=eks.AlbControllerVersion.V2_6_2) to an EKS cluster. However, that causes another operation (install/upgrade/rollback) is in progress error. And no, there was no other operation happening at the time.

Expected Behavior

ALB Controller created succesfully

Current Behavior

Status reason: Received response status [FAILED] from custom resource. Message returned: Error: b'Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress\n' Logs: /aws/lambda/infrastructure-stage-development-e-Handler886CB40B-Uefu5nGbCM3Q at invokeUserFunction (/var/task/framework.js:2:6) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async onEvent (/var/task/framework.js:1:369) at async Runtime.handler (/var/task/cfn-response.js:1:1573) (RequestId: 3d6422e7-a41c-48c1-96bd-d0b7897abdfb)

Logical ID: developmentCDKPipelineinfrastructurestagedevelopmenteksstackekscluster3CDD0688AlbController122E6845

Reproduction Steps

        vpc = ec2.Vpc.from_lookup(self, "VPCLookup", vpc_id="vpc-abcd1234")

        cluster = eks.Cluster(
            self,
            "eks-cluster",
            version=eks.KubernetesVersion.V1_28,
            kubectl_layer=lambda_layer_kubectl_v28.KubectlV28Layer(self, "kubectl-layer"),
            default_capacity_instance=ec2.InstanceType("t3.medium"),
            **alb_controller=eks.AlbControllerOptions(version=eks.AlbControllerVersion.V2_6_2)**,
            vpc=vpc,
            vpc_subnets=[ec2.SubnetSelection(subnet_type=ec2.SubnetType.PRIVATE_ISOLATED)]
        )

FYI, the code works if you remove or comment out the alb_controller line

Possible Solution

No response

Additional Information/Context

No response

CDK CLI Version

2.115.0 (build 58027ee)

Framework Version

No response

Node.js Version

v18.18.0

OS

Windows

Language

Python

Language Version

Python 3.11.5

Other information

No response

@andreprawira andreprawira added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Dec 29, 2023
@github-actions github-actions bot added the @aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service label Dec 29, 2023
@andreprawira andreprawira changed the title AWS EKS: ALB Controller AWS EKS: ALB Controller another operation error Dec 29, 2023
@pahud
Copy link
Contributor

pahud commented Dec 29, 2023

Let's discuss in #22005.
Close duplicate.

@pahud pahud closed this as completed Dec 29, 2023
@pahud pahud added p2 effort/medium Medium work item – several days of effort and removed needs-triage This issue or PR still needs to be triaged. labels Dec 29, 2023
Copy link

⚠️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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-eks Related to Amazon Elastic Kubernetes Service bug This issue is a bug. effort/medium Medium work item – several days of effort p2
Projects
None yet
Development

No branches or pull requests

2 participants