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
Bug Description
(!) I know we're using a slightly outdated version of aws-load-balancer-controller
I have the following resource definition (generated by terraform, but probably not important)
In this definition the subnet-a and subnet-b and the IP addresses I specified are in a different VPC to the cluster as this VPC. This is the setup that I need and networking is setup so the connectivity works.
The load balancer is correctly created in the VPC with the subnets specified.
But target groups are not and the following error is in the aws-load-balancer-controller logs:
{"level":"error","ts":"2025-04-02T00:24:21Z","msg":"Reconciler error","controller":"service","object":{"name":"myservice-uat-svc1-nlb-svc1","namespace":"svc1-uat"},"namespace":"svc1-uat","name":"svc1-uat-nlb-service-ebix","reconcileID":"295532a5-92c7-4ea8-9b37-65f1e08d93bd","error":"InvalidConfigurationRequest: The following target groups are in a different VPC than load balancer 'arn:aws:elasticloadbalancing:ap-xxx-X:XXXXXXXXX:loadbalancer/net/myservice-uat-svc1-nlb-svc1/f0696a86256e46c6': arn:aws:elasticloadbalancing:ap-xxx-X:XXXXXXXXX:targetgroup/k8s-svcuat-svcuat-173712f63a/c418a4733372532e\n\tstatus code: 400, request id: e7812aeb-f255-4ee6-8a22-36fc69b1cff8"}
UPDATE
I upgraded aws-load-balancer-controller to latest and now the load balancer is not even being created and I see the following error in the logs:
operation error Elastic Load Balancing v2: CreateLoadBalancer, https response error StatusCode: 400, RequestID: 27fd14e1-6a02-48e8-8101-774058a7dd6b, InvalidConfigurationRequest: One or more security groups are invalid
Steps to Reproduce
Manifest is above in the description. The subnets specified should be from a different VPC to the cluster.
Expected Behavior
Load balancer and target groups should be setup in the correct VPC (where the subnets are).
Actual Behavior
The load balancer is created in the correct VPC but the target groups are not.
Regression
Don't know
Current Workarounds
N/A Environment
AWS Load Balancer controller version: 2.5.4
Kubernetes version: 1.30
Using EKS (yes/no), if so version?: yes 1.30
Using Service or Ingress: Service
The text was updated successfully, but these errors were encountered:
@strelok1 The error InvalidConfigurationRequest: One or more security groups are invalid during the AWS Load Balancer Controller's CreateLoadBalancer operation usually indicates that the SG referenced during Create is not within the Target VPC. Can you please see if the SG refernced by the controller is in your desired VPC?
You can check that from logs by looking at built model for your svc.
Bug Description
(!) I know we're using a slightly outdated version of
aws-load-balancer-controller
I have the following resource definition (generated by terraform, but probably not important)
In this definition the
subnet-a
andsubnet-b
and the IP addresses I specified are in a different VPC to the cluster as this VPC. This is the setup that I need and networking is setup so the connectivity works.The load balancer is correctly created in the VPC with the subnets specified.
But target groups are not and the following error is in the
aws-load-balancer-controller
logs:UPDATE
I upgraded
aws-load-balancer-controller
to latest and now the load balancer is not even being created and I see the following error in the logs:Steps to Reproduce
Manifest is above in the description. The subnets specified should be from a different VPC to the cluster.
Expected Behavior
Load balancer and target groups should be setup in the correct VPC (where the subnets are).
Actual Behavior
The load balancer is created in the correct VPC but the target groups are not.
Regression
Don't know
Current Workarounds
N/A
Environment
The text was updated successfully, but these errors were encountered: