Steps:

 - nova boot daily xenial cloud image 
(ubuntu/ubuntu-xenial-daily-amd64-server-20160418-disk1.img), ssh in
 - set up proxy in /etc/environment and  restart lxd
 - ip a says

2: ens2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1400 qdisc pfifo_fast state UP 
group default qlen 1000
3: lxdbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UNKNOWN group default qlen 1000

 - sudo lxd init; configure bridge for 10.0.8.1/24, IPv4 NAT, no IPv6

 - Now lxdbr0 does not exist at all any more (?? → bug?), but "sudo
service lxd-bridge restart" brings it up:

4: lxdbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UNKNOWN group default qlen 1000
    link/ether 52:4c:fa:1a:a8:84 brd ff:ff:ff:ff:ff:ff
    inet 10.0.8.1/24 scope global lxdbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::504c:faff:fe1a:a884/64 scope link 
       valid_lft forever preferred_lft forever

 - lxc launch images:ubuntu/xenial/amd64 x1

 - $ lxc exec x1 apt update
   Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
   0% [Waiting for headers]

   This hangs eternally.

 - Temporarily lower MTU to 1400 to be able to install iputils-
tracepath, then crank it back to 1500

 - root@x1:~# tracepath security.ubuntu.com
 1?: [LOCALHOST]                                         pmtu 1500
 1:  10.0.8.1                                              0.072ms 
 1:  10.0.8.1                                              0.060ms 
 2:  10.0.8.1                                              0.173ms pmtu 1400
 2:  10.220.40.1                                           0.620ms 
 3:  10.220.0.1                                            1.021ms 
 4:  gooseberry-eth1.internal                              1.964ms 
 5:  no reply
 6:  no reply
 7:  no reply
 8:  no reply
 9:  no reply

(one more "no reply" about every second)

  However, "ifconfig eth0 mtu 1400" doesn't change tracepath, but it
makes "apt update" work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1572026

Title:
  be more clever about MTU of lxdbr0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1572026/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to