amazon-ecs-cli icon indicating copy to clipboard operation
amazon-ecs-cli copied to clipboard

Deployment loop if new task exits

Open annuh opened this issue 6 years ago • 0 comments

Summary

If a container in a task fails to start (with exit code 1) ECS tries to reload the ECS task forever.

According to ecs-cli, the deployment was successful. This way you're not notified that the deployment wasn't completed.

I'm not sure if this is related to ecs-cli or ECS

Description

  • Which specific command was run?
ecs-cli compose
        --cluster cluster
        --project-name project-name
        service up --create-log-groups --force-deployment --launch-type FARGATE --region eu-central-1
  • Which version of the CLI you are using? 1.17.0
  • What platform are you using to run ECS CLI commands? Linux

Expected Behavior

ecs-cli deployment fails, like it does when a deployment isn't ready in 5 minutes.

Observed Behavior

ecs-cli shows everything is okay, when it isn't

annuh avatar Oct 17 '19 14:10 annuh