-
Notifications
You must be signed in to change notification settings - Fork 259
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 lookup occasionally fails immediately after container create #150
Comments
@sesmith177 can you post the output from |
|
@darrenstahlmsft @msabansal @JMesser81 any updates on this? |
@sunjayBhatia. I can repro this aswell. This feels like an issue in DNS cache where it doesn't seem to work immidiatley after starting up. Investigating this. |
@msabansal should we expect the recent |
@JMesser81 PTAL. |
@sunjayBhatia thank you for bringing this to our attention. If these don't work, we do have a possible platform bug we're investigating. |
@sesmith177 How long does the issue persist for you? It looks like it goes away almost immediately when I use the provided Go program. I can also confirm that this issue does not repro in recent Windows Insider Build 17692. |
@daschott we are not sure how long the issue lasts -- it causes problems for us because our containers often perform a DNS lookup immediately on startup. |
@sesmith177 can you add a delay of a few seconds? The issue seems to go away immediately, which sadly makes it difficult to collect traces. The internal bug has been closed as it does not repro on recent builds. On older builds that are affected, it seems like created containers using "docker run" are not affected, even when using scripts to diagnose. |
@daschott we have a workaround for now. Does recent builds where it doesn't reproduce include the released |
Sorry for the ambiguity; any 2019 insider release (onwards from build 17692) should do. |
1803 still has flaky outbound TCP when the container starts. This should be fixed for 2019. microsoft/hcsshim#150 Signed-off-by: Amin Jamali <[email protected]>
We removed the dnscache service because apparently this is fixed in 2019. See issue: microsoft/hcsshim#150. Signed-off-by: Andrew Keesler <[email protected]>
travis: update go version
We have found that DNS lookups occasionally fail when a process is executed in a newly created container. Here is a short go program which can be used to reproduce the issue:
The DNS lookup from inside the container will fail 0-6 times out of 20.
If we use a container image that has the DNSCache service turned off, the DNS lookup always succeeds. The Dockerfile we use for this is:
The text was updated successfully, but these errors were encountered: