Closed nickyhof closed 8 years ago
Brief, periodic disconnections are expected. However, the Agent should reconnect quickly after any disconnection. If you're seeing the Agent stay disconnected for extended periods of time, I'd be very interested in seeing the logs (especially with ECS_LOGLEVEL=debug
).
@nickyhof I'm going to close this for now, but if you have the chance to grab logs I'd definitely like to take a look at them.
I'm trying to replatform us onto ECS and getting disconnects all the time. They increase when I deploy frequently. When I don't catch them, they can take out all containers. Is there any way to detect an ECS disconnection so I can add a new instance when this happens?
@buley after upgrading our ec2 agents to the latest (1.6.0), we haven't experienced anymore disconnections
We noticed this after performing a few deployments back to back. ECS agent v1.8.0 Running on custom Centos-7.2
A temporary workaround is to restart ECS agent before every deployment. But I don't think that's ideal.
@nikhilo , you are likely experiencing this regression in v1.8.0 of the agent: https://github.com/aws/amazon-ecs-agent/issues/313
We have many ecs instances that seem to disconnect to the ecs agent. This causes us problems when redeploying containers, determining task status, etc. In the web console we see under the "ECS Instances" tab, that a few instances say "Agent Connected" false. And they don't seem to re-connect. What could be the cause of this? Is this a known issue?