r/aws•
dcc88

Codepipeline ECS Deploy stuck in "in progress"

support query

​

https://preview.redd.it/9d61nfs2sug41.png?width=1764&format=png&auto=webp&s=0f199342ec8ebc09bb017f9a7141d002809f61cb

I'm using as single task with two containers, each with it's own build and deploy pipeline.

The two containers have a delay of around 5 minutes between the deploy pipeline runs (build time).

I'm getting this container stuck in deploy for 1 hour in this state, then it fails. ( the container is deployed successfully ) just codepipeline doesn't know.

I'm guessing there is some sort of race condition happening, any ideas ?

​

Thank you.

Posted Feb 14, 2020, 8:55 AM UTC

11
Denvious•

Sounds like codepipeline is timing out on waiting for the container to launch / dial back to say its healthy.

Are you using an ALB with ecs to blue-green deploy?

You mention the container is deployed successfully - does the older container get decommissioned?

Also - double check that your healthcheck routes / settings are correct. Im wondering if your container is deploying but failing the healthcheck.

1