[lxc-users] containers loose name resolution after a while

Carmelo INGRAO carmelo at ingrao.fr
Thu Jul 18 07:09:12 UTC 2019


Hello,

I run a few containers.
The containers are using lxdbr0, configured this way :


lxc network list
+--------+----------+---------+-------------+---------+
|  NAME  |   TYPE   | MANAGED | DESCRIPTION | USED BY |
+--------+----------+---------+-------------+---------+
| eth0   | physical | NO      |             | 0       |
+--------+----------+---------+-------------+---------+
| lxdbr0 | bridge   | YES     |             | 13      |
+--------+----------+---------+-------------+---------+



lxc network show lxdbr0
config:
  ipv4.address: 10.208.198.1/24
  ipv4.nat: "true"
  ipv6.address: none
description: ""
name: lxdbr0
type: bridge
used_by:
- /1.0/containers/c1
- /1.0/containers/c2
- /1.0/containers/c3
- /1.0/containers/c4
- /1.0/containers/c5
managed: true
status: Created
locations:
- none


When I start the LXD host, the containers can resolve names :

telnet google.com 443 : ok
ping google.com : ok


After a few hours, the telnet and ping are not usable anymore, until I
restart LXD service on the LXD host.

Have you some idea what happening ? It is not very convenient to restart
LXD every couple hours ;)

Thanks for your help :)

-- 

Carmelo Ingrao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20190718/38bf9a0f/attachment.html>


More information about the lxc-users mailing list