ecs-deploy icon indicating copy to clipboard operation
ecs-deploy copied to clipboard

"--rollback" doesn't work with ALB

Open vivekyad4v opened this issue 5 years ago • 1 comments

I use below command to update the service - ecs deploy $CLUSTER_NAME $SERVICE_NAME --image $SERVICE_NAME $ECR_IMAGE_URL:$IMAGE_TAG --rollback --timeout 600

It doesn't rollback the taskdef in case of ALB health check failures. Is it expected? Any plans to support this?

@fabfuel

vivekyad4v avatar Apr 07 '20 06:04 vivekyad4v

Hi @vivekyad4v, the rollback happens, if the service does not get to a "steady state" during the timeout of 600 seconds. It also happens, if the deployment fails due to health check failures in the ALB.

Would you share your command output? Then i could have a look and share my insights.

Best Fabian

fabfuel avatar Apr 07 '20 08:04 fabfuel