The response contract for the /v1/tasks endpoint appears to have recently changed. In 1.18.0 the contract followed this schema:
Tasks[].Containers[].DockerId
In 1.19.0 the following schema is being returned:
Tasks[].Containers[].DockerID
I would expect the same contract to be returned between minor versions of the agent. I would also expect the endpoints to be versioned if the contract is going to change.
Documentation for this endpoint:
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-introspection.html
It looks like this might have been fixed with https://github.com/aws/amazon-ecs-agent/pull/1473
Is there a plan to push the fix to 1.19?
Thanks!
I would expect the same contract to be returned between minor versions of the agent. I would also expect the endpoints to be versioned if the contract is going to change.
As you should! We're doing a 1.19.1 release with the fix. Hold tight! Thank you.
I've been affected by this too. The Datadog agent fails to export any metrics for Docker containers when using 1.19 of the ECS agent: https://github.com/DataDog/dd-agent/blob/46961dddbe700f6f0cf8f66b59ed7215de9f5f47/utils/orchestrator/ecsutil.py#L84
I'm downgrading to 1.18 for now. What's the ETA on release?
@jcbowman, @grahamlyons: The 1.19.1 ECS agent has been released along with the amzn-ami-2018.03.c-amazon-ecs-optimized AMI.
Wunderbar. Thank you for that.
closing issue since 1.19.1 has been released with the fix for this breaking contract.
Thanks! It works as expected for us.