Open andrenrwn opened 4 months ago
@andrenrwn Are there any errors specific to the network interface resources from the BIG-IP stack that you can share?
Also, it looks like you are trying to deploy into a single availability zone, is that correct?
How do you get the errors specific to the network interface resources? Yes, I'm trying to deploy to a single availability zone. I've also tried multiple availability zones, and I think the error was similar.
The errors that cloudformation gave me was typically:
Embedded stack arn:aws:cloudformation:ap-southeast-1:246260921157:stack/BigIp-Failover-Existing-Network-Example-BigIpInstance02-1FLBQI0STQ3AX/d9b6f710-43ab-11ef-9673-0a2553a6f231 was not successfully created: The following resource(s) failed to create: [BigipStaticManagementInterface, BigipStaticExternalInterface].
If you look at the resources column in the instance stack, there should be more detailed error messages for the interfaces. Those should also be in the events column.
I deployed the across-az template today with no issue...could it be running into a quota limit? The detailed error messages should have more info.
I found these errors in the resources:
Inside: BigIp-Failover-Example-BigIpInstance02-C3C67U6KXKV4
BigipLaunchTemplate lt-0403df42ac7bdb8e4 AWS::EC2::LaunchTemplate CREATE_COMPLETE
BigipStaticExternalInterface - AWS::EC2::NetworkInterface CREATE_FAILED
Resource handler returned message: "Address does not fall within the subnet's address range (Service: Ec2, Status Code: 400, Request ID: b6b943d6-cb19-450f-8ccf-3bf5239f353a)" (RequestToken: cd7411fc-c52b-bc12-5aae-4a284a7e679c, HandlerErrorCode: InvalidRequest)
BigipStaticManagementInterface | - | AWS::EC2::NetworkInterface CREATE_FAILED
Resource handler returned message: "Address does not fall within the subnet's address range (Service: Ec2, Status Code: 400, Request ID: eb570778-d336-4c5d-8753-1c6398ebe145)" (RequestToken: d97bd416-6bd9-89ea-9a61-f60ea5373586, HandlerErrorCode: InvalidRequest)
Although that's strange given I've used the default values from the template
Then also inside: BigIp-Failover-Example-BigIpInstance01-VAWBNISAEZJQ
BigipLaunchTemplate lt-03d2ad3c2e13db7b1 AWS::EC2::LaunchTemplate CREATE_COMPLETE
BigipManagementEipAssociation eipassoc-078f9ad7c272f41ab AWS::EC2::EIPAssociation CREATE_COMPLETE
BigipStaticExternalInterface - AWS::EC2::NetworkInterface CREATE_FAILED
Resource handler returned message: "Address does not fall within the subnet's address range (Service: Ec2, Status Code: 400, Request ID: f012e8b1-4d80-4d14-8bcb-4128323b0904)" (RequestToken: 74be3c23-eb91-c089-d302-1854dc1e4722, HandlerErrorCode: InvalidRequest)
BigipStaticManagementInterface eni-0a9754b01a389296a AWS::EC2::NetworkInterface CREATE_COMPLETE
S3Bucket repro-bigip-high-availability-solution AWS::S3::Bucket CREATE_COMPLETE
Describe the bug
I'm failing to deploy any template with cloudformation.
[edit: apparently this doesn't work if I use 1 availability zone with the default IP addresses]
The error I'm getting is always something like this (I tried both the ap-southeast region and north america(Oregon) :
[edit: the cause is the following error on the resources tab]
I used the launch link button and modified these parameters:
https://github.com/F5Networks/f5-aws-cloudformation-v2/tree/main/examples
This image was the default available based on the BIG-IP PAYG choices:
Description F5 BIGIP-17.1.1.3-0.0.5 PAYG-Best Plus 25Mbps-240321065314
Image ID ami-0ea95cc4ecc257a2a
Expected behavior
It should deploy and not fail creating the interfaces of the BIG-IP instances
Current behavior
After deploying the template, the error I'm getting is always something like this (I tried both the ap-southeast region and north america(Oregon) :
Steps to reproduce
bigIpCustomImageId: ami-0ea95cc4ecc257a2a numAzs: 1 numNics: 3 [I tried both 2 and 3 nics] uniqueString: myrepro
I tried using the following command line but it keeps giving me
always gives me an error like: