F5Networks / f5-aws-cloudformation

CloudFormation Templates for quickly deploying BIG-IP services in Amazon Web Services EC2
112 stars 118 forks source link

CFT stack rollbacked with Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement #168

Closed prudhviraju58 closed 2 years ago

prudhviraju58 commented 2 years ago

Hi,

I am using below template and the CFT stack got rollbacked with below error and Autoscale Ec2 got terminated .Can you share what is the issue here and how to fix it

https://github.com/F5Networks/f5-aws-cloudformation/tree/main/supported/autoscale/ltm/via-lb/1nic/existing-stack/payg

BigipAutoscaleGroup -->UPDATE_IN_PROGRESS > Failed to receive 1 resource signal(s) for the current batch. Each resource signal timeout is counted as a FAILURE. BigipAutoscaleGroup > CREATE_FAILED > Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement F5-PAYG-BIGIP-LTM-Autoscale > ROLLBACK_IN_PROGRESS > The following resource(s) failed to create: [BigipAutoscaleGroup]. Rollback requested by user.

EC2 Termination Message: Time: 2022-04-21T14:20:50.993Z RequestId: ea1172e2-28c0-49d5-8082-3946ab376fca Event: autoscaling:EC2_INSTANCE_TERMINATE AccountId: 582482956935 AutoScalingGroupName: F5-PAYG-BIGIP-LTM-Autoscale-BigipAutoscaleGroup-LRCXB3JM7YYN AutoScalingGroupARN: arn:aws:autoscaling:us-east-1:582482956935:autoScalingGroup:7e0ff81e-083b-4d20-b0ea-d14111c97079:autoScalingGroupName/F5-PAYG-BIGIP-LTM-Autoscale-BigipAutoscaleGroup-LRCXB3JM7YYN ActivityId: ea1172e2-28c0-49d5-8082-3946ab376fca Description: Terminating EC2 instance: i-08835f950afbbd811 Cause: At 2022-04-21T14:19:40Z a user request update of AutoScalingGroup constraints to min: 0, max: 0, desired: 0 changing the desired capacity from 1 to 0. At 2022-04-21T14:19:44Z an instance was taken out of service in response to a difference between desired and actual capacity, shrinking the capacity from 1 to 0. At 2022-04-21T14:19:44Z instance i-08835f950afbbd811 was selected for termination. StartTime: 2022-04-21T14:19:44.632Z EndTime: 2022-04-21T14:20:50.993Z StatusCode: InProgress StatusMessage: Progress: 50 EC2InstanceId: i-08835f950afbbd811 Details: {"Subnet ID":"subnet-06d87cdf6b2cfa282","Availability Zone":"us-east-1a"} Origin: AutoScalingGroup Destination: EC2

shyawnkarim commented 2 years ago

Are you still getting this error? It looks like you set the minimum level of instances to zero when there needs to be at least 1.

prudhviraju58 commented 2 years ago

Hi,

Yes i am still seeing this error. Actually i set the minimum level of instance to 1 .Please find below image

image

prudhviraju58 commented 2 years ago

Please find below error log

image

ASG Activity History

image