AWSinAction/code2

Chapter 2 - Autoscaling causing rollback

Closed this issue · 2 comments

When trying to run the template for chapter 2, I get ROLLBACK_COMPLETE status. This is because the AutoScalingGroup creation is receiving the following status:

Unable to satisfy 100% MinSuccessfulInstancesPercent requirement

Logs

2020-01-12 17:12:43 UTC-0500 | wordpress | ROLLBACK_IN_PROGRESS | The following resource(s) failed to create: [AutoScalingGroup]. . Rollback requested by user.

2020-01-12 17:12:42 UTC-0500 | AutoScalingGroup | CREATE_FAILED | Received 1 FAILURE signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement

2020-01-12 17:12:41 UTC-0500 | AutoScalingGroup | CREATE_IN_PROGRESS | Received FAILURE signal with UniqueId i-03a31d0a1bc91baa2

Any help would be awesome! Thank you!

Hmm. This seems to be working this morning. The only thing I changed was setting "Rollback on failure" to "Disabled" as part of the stack creation process (since I was curious to see if I could just get the stack to complete).

image

This seemed to have worked for me.

I missed this issue but I'm happy to see that it is working now. Sorry.
It could be caused by issues during instance startup (WordPress download failed, EFS mount failed, ...)