-
Notifications
You must be signed in to change notification settings - Fork 618
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECS Cluster metric reporting does not work with Docker 1.11 #387
Comments
@ryanwalls Can you provide the following information?
|
Docker version is probably where we need to stop looking. We use the https://get.docker.com script to install our docker engine... which grabs the latest version all the time. They released 1.11 on 4/12, https://github.com/docker/docker/wiki/Engine-1.11.0. So I would say that's more than a coincidence. Sorry for bad description... we did update our architecture. I'll update the title. |
Agent version: 1.8.1 I can provide the other log files if wanted. I imagine the Docker 1.11 thing is a known issue. |
Docker 1.11.0 breaks our CloudWatch metrics feature as the |
@samuelkarp Great. Thanks for the quick response. |
@ryanwalls There is a workaround that appears to work for me, but it's still not ideal. You'll want to verify on your system that these are the right settings. In Docker versions prior to 1.11, Docker would maintain state information about containers in a directory like |
@samuelkarp Thanks for the workaround! It worked for us on our Ubuntu instances. Metrics are coming in again. |
We have the same problem since upgrading from Docker 1.9 on Ubuntu 14.04 to Docker 1.11 on Ubuntu 16.04 but the workaround doesn't work for us.
The ECS log (attached) contains a lot of:
and
|
Same here. The workaround doesn't work for us either. |
Confirmed the following mounts fixed the issue for ECS-Agent 1.9.0 running on Docker 1.11.1:
|
@djenriquez That's the same mounts we have also using ECS-Agent 1.9.0 on Docker 1.11.1 but it doesn't work for us. Could the host OS be playing a role here? We're running Ubuntu 16.04. What did you test on? |
Metric reporting is also not working on Ubuntu 16.04 with Docker 1.10.3 and ECS Agent 1.9.0 despite The following message shows up in the logs:
Looking at the code it seems this could be fixed by #400. |
@asmarques As you correctly pointed out, #400 should fix the issue as it removes the need for mounting any of the |
This should be fixed in ECS Agent v1.10.0 release. I'm closing this issue for now, please let us know if you have any issues. |
@aaithal Just to make sure got this right, the following lines are not needed in the run command for v1.10.0 anymore?
|
@vladgh Yes, that's correct. |
Feature/ecs exec
As soon as we updated to Docker 1.11, our ECS cluster stopped reporting metrics.
The text was updated successfully, but these errors were encountered: