Comment 13 for bug 1592811

Revision history for this message
Larry Michel (lmic) wrote : Re: 2.0 beta8: networking issues for dense deployment and vsphere as provider

Spoke to Ryan Harper about this issue. These address are from LXD and per my observation and my conversation with Ryan, it looks like juju is not briding the "lxd containers with the base network adapter".

I will attach in next comment /etc/network/interfaces* from the host and one of the LXD containers that were started.

Here's ifconfig -a output from host:

ubuntu@ubuntuguest:~$ ifconfig -a
br-int Link encap:Ethernet HWaddr 2a:f6:42:ab:29:4c
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 00:50:56:87:7f:00
          inet addr:10.245.61.59 Bcast:10.245.63.255 Mask:255.255.192.0
          inet6 addr: fe80::250:56ff:fe87:7f00/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:905460 errors:0 dropped:0 overruns:0 frame:0
          TX packets:575091 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:494370660 (494.3 MB) TX bytes:161798787 (161.7 MB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:23855 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23855 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2082356 (2.0 MB) TX bytes:2082356 (2.0 MB)

lxdbr0 Link encap:Ethernet HWaddr fe:68:f0:04:3b:3e
          inet addr:10.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.0
          inet6 addr: fe80::8876:28ff:fe0c:38de/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:171738 errors:0 dropped:0 overruns:0 frame:0
          TX packets:147601 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:42889954 (42.8 MB) TX bytes:123654711 (123.6 MB)

ovs-system Link encap:Ethernet HWaddr 06:dc:bb:54:d2:db
          BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

veth2EFDMX Link encap:Ethernet HWaddr fe:68:f0:04:3b:3e
          inet6 addr: fe80::fc68:f0ff:fe04:3b3e/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:171738 errors:0 dropped:0 overruns:0 frame:0
          TX packets:147602 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:45294286 (45.2 MB) TX bytes:123654789 (123.6 MB)

and from container:

ubuntu@ubuntuguest:~$ ssh 10.0.0.137
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-93-generic x86_64)

 * Documentation: https://help.ubuntu.com/

 System information disabled due to load higher than 2.0

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

19 packages can be updated.
0 updates are security updates.

Last login: Fri Sep 16 14:04:26 2016 from 10.0.0.1
ubuntu@juju-facfb5-1-lxd-0:~$ ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:16:3e:c5:0d:77
          inet addr:10.0.0.137 Bcast:10.0.0.255 Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fec5:d77/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:147685 errors:0 dropped:0 overruns:0 frame:0
          TX packets:171811 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:123664550 (123.6 MB) TX bytes:45305980 (45.3 MB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:49756 errors:0 dropped:0 overruns:0 frame:0
          TX packets:49756 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2629504 (2.6 MB) TX bytes:2629504 (2.6 MB)

ubuntu@juju-facfb5-1-lxd-0:~$