[lxc-users] LXD containers lose outbound network

david.andel at bli.uzh.ch david.andel at bli.uzh.ch
Mon Jun 27 11:53:16 UTC 2016


Brian

Thank you for this link!
I have read through it and it indeed seems related, or maybe the same thing as some of those.
My problem clearly isn't related to DNS, since I cannot ping out by IP as well.
And since I see this exact same behavior on two hosts (one physical, one virtual) on two different networks (one at home, the other at a vServer provider), I highly doubt that the problem is outside LXD (and in the other people's cases, docker) or the Linux kernel.

Also thanks for the idea with traceroute. I will try it as soon as I will run into the problem again. For now I've restarted LXD so everything is fine again.

David

-----brian mullan <bmullan.mail at gmail.com> wrote: -----
To: david.andel at bli.uzh.ch
From: brian mullan <bmullan.mail at gmail.com>
Date: 06/27/2016 13:03
Cc: LXC users mailing-list <lxc-users at lists.linuxcontainers.org>
Subject: Re: [lxc-users] LXD containers lose outbound network

david

rather than using ping what does traceroute show you?

Your problem sounds an awful lot like what many Docker users started reporting in this long thread

https://github.com/docker/docker/issues/13381

If you take the time to read through all of it you will notice several people came up with several different causes ranging from 1 guy's Dlink wireless router having a bug with its internal dns support to another user adding to /etc/resolv.conf the google dns

however... most of the users on that thread report something similar to this guy's statement:

We are having the same issue.  After about 16-19 hours of uptime (longer  on the weekends), the container goes into a state where it cannot talk  to the outside world.  Restarting the container or the docker daemon  (which in turn restarts the container) will bring everything back to  operating properly... for the next 16-19 hours or so. 

I'm only bringing this up because there are a lot of "moving parts" involved and no one but you knows the "big picture" of your complete server/network setup such as what router's you use, what Distro & release, what kernel etc.

I thought the above link might give you some ideas of things to check on your LXD network issue.

Brian

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160627/c0e0e80f/attachment.html>


More information about the lxc-users mailing list