-
Notifications
You must be signed in to change notification settings - Fork 813
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
Problem with Docker 1.2.0 and agent 5.0.0 #1104
Comments
I was able to confirm it has something to do with Datadog and the Docker 1.2.0 upgrade. Here are some steps to reproduce on Ubuntu 14.04 (reproduced in EC2):
if [ ! -e /usr/lib/apt/methods/https ]; then
sudo apt-get update
sudo apt-get install -y apt-transport-https
fi
echo deb https://get.docker.io/ubuntu docker main sudo tee -a /etc/apt/sources.list.d/docker.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo apt-get update
Now we upgrade Docker to 1.2.0 and do the same test.
|
Thanks for all your work @andyshinn ! I managed to reproduce this same issue on both CoreOS 427 and Debian 7.
In my case, it works. |
I just tested this some more. It still hangs even using the agent outside of a container (on the Ubuntu 14.04 host directly). I performed the steps you outlined on a fresh Ubuntu 14.04 EC2 instance. Let me know what other debug information you need. It looks like this could also be related to bad Docker behavior in moby/moby#7905 and moby/moby#8010. So even if there is a workaround in Datadog, the ultimate fix might be from Docker. |
I'm having a problem with
docker ps
hanging after starting the Docker agent on Ubuntu 14.04 and Docker 1.2.0. I'm not sure if this is a Docker 1.2.0 problem or a Datadog problem. But I'm only able to produce it with the Datadog agent.After starting the agent with the Docker plugin enabled, the
/containers/json
endpoint stops responding:$ echo -e "GET /containers/json HTTP/1.0\r\n" | nc -U /var/run/docker.sock
If I stop the Datadog agent and restart Docker, the endpoint starts working again:
Any ideas?
The text was updated successfully, but these errors were encountered: