-
Notifications
You must be signed in to change notification settings - Fork 88
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
DNS resolution fails after 20 hours uptime #70
Comments
One more comment. This seems to be occurring across all instance types and is not specific to a specific image (which is good news). $ |
I had a similar issue, but for me it was because I updated the image causing the original container to resolv to an unnamed image hence resulting in not being able to resolve that container which got it's image updated. So to check whether you have the same image run docker ps and make sure that in the image column the image actually has a name instead of a hex code. If the original image name can't be seen in docker ps command then this may be the reason. |
What's so special about the 20 hours?
|
In my case is not 20 hours, but few hours. What is interesting is that this was working for few months now and now it started failing every few hours (after restart). |
So what changed?
|
Nothing. That's the problem. And there are no logs. |
Those should be relatively easy to add though.
|
So, how should I debug this? |
Sprinkle the code with some logging and hope it will tell you something.
|
SkyDNS works well. I don't have to restart it. Just SkyDock. |
Ah. OK. That narrows it down a bit, so yeah, I don't know anything better
|
we have the same issue... some indeterminate time, approx between 2 and 24 hours, skydock just dies... |
Has there been anything learned regarding this? I'm finding that I have the same issue; I constantly have to restart my containers to get this to work. |
I started using https://github.com/blalor/docker-hosts instead. |
Just to pull a shameless self plug I recently put together https://github.com/asbjornenge/rainbow-dock 🌈 🚀 |
We migrated away from SkyDock, but one theory we had was that putting a laptop to sleep would skew the clocks enough for this issue to occur. using a tool like sleep watcher helped us keep clocks aligned after wakeup. It's a little brute force but did help us. |
I have just set this up for a development environment and have ran into a problem after 20 hours.
I grabbed specific logs for the skydock service and it shows a stop and die message for the not running redis instance. restarting redis instance fixes the issue.
skydock is not usable in this condition.
Somehow instances are failing TTL and not being put back into DNS.
The text was updated successfully, but these errors were encountered: