ECS deployment stuck without pending tasks and ECS events (possible bug)

2

Sometimes after I trigger a deployment of ECS service the new task set is stuck with 1 desired task and 0 pending. There are no new ECS events (the last one is "service xxx has reached a steady state.") Creating new deployments does not help. It just replaces the primary task set which is also getting stuck at 1 desired and 0 pending)

Stuck state

The service is using EC2 capacity providers and ECS deployment controller. My settings are min 100% healthy max 200%. There is 1 task running prior to deployment. There are multiple container instances available and agent logs on the instance do not show anything unusual. The cloud trail does not show any failed calls for ECS service.

Changing the desired count from 1 to 2 immediately creates 2 pending tasks.

Unstuck

Is there any extra information I can find? Is it possible that this is caused by a bug since there is no trace in ECS service events?

  • Is it something reproducible? Could you please provide the steps?

已提問 1 年前檢視次數 139 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南