Linux Bridge: can't change the VM's bridge and tap interface MTU at Compute node.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-cisco |
New
|
Undecided
|
Unassigned | ||
neutron |
Fix Released
|
Undecided
|
Darragh O'Reilly | ||
Kilo |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I use DevStack to deploy OpenStack with Linux Bridge instead of OVS in a multi-node set up.
I¹m testing jumbo frames and want to set MTU to 9000.
At the Network node, the bridges and tap interfaces are created with MTU = 9000:
localadmin@
bridge name bridge id STP enabled interfaces
brq09047ecb-1c 8000.7c69f62c4f2f no eth1
brq319688ab-93 8000.3234d6ee3a18 no bond0.300
virbr0 8000.000000000000 yes
localadmin@
brq09047ecb-1c Link encap:Ethernet HWaddr 7c:69:f6:2c:4f:2f
inet6 addr: fe80::3c79:
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:696 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:30617 (30.6 KB) TX bytes:648 (648.0 B)
localadmin@
brq319688ab-93 Link encap:Ethernet HWaddr 32:34:d6:ee:3a:18
inet6 addr: fe80::e0ec:
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:30 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:4236 (4.2 KB) TX bytes:648 (648.0 B)
localadmin@
tapedbcd5b1-a6 Link encap:Ethernet HWaddr ae:fb:64:53:f7:2d
inet6 addr: fe80::acfb:
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:65 errors:0 dropped:0 overruns:0 frame:0
TX packets:947 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:10223 (10.2 KB) TX bytes:80510 (80.5 KB)
localadmin@
tap4e230a86-cb Link encap:Ethernet HWaddr 32:34:d6:ee:3a:18
inet6 addr: fe80::3034:
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:2073 errors:0 dropped:0 overruns:0 frame:0
TX packets:2229 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:8878139 (8.8 MB) TX bytes:8914532 (8.9 MB)
localadmin@
tapfddaf12e-85 Link encap:Ethernet HWaddr d2:33:29:9b:2c:e8
inet6 addr: fe80::d033:
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:152 errors:0 dropped:0 overruns:0 frame:0
TX packets:295 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:15237 (15.2 KB) TX bytes:51849 (51.8 KB)
The instance launched at the Compute node has interface eth0 MTU = 9000:
ubuntu@qa5-vm2:~$ ifconfig
eth0 Link encap:Ethernet HWaddr fa:16:3e:05:36:58
inet addr:10.0.0.4 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::f816:
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:1169 errors:0 dropped:0 overruns:0 frame:0
TX packets:384 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1408206 (1.4 MB) TX bytes:1336535 (1.3 MB)
However, the associated bridge and tap interface MTU is set to default 1500:
localadmin@
bridge name bridge id STP enabled interfaces
brq319688ab-93 8000.6805ca302558 no bond0.300
virbr08000.
localadmin@
brq319688ab-93 Link encap:Ethernet HWaddr 68:05:ca:30:25:58
inet6 addr: fe80::a8ef:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:162 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:910353 (910.3 KB) TX bytes:648 (648.0 B)
localadmin@
tapa7acee8a-54 Link encap:Ethernet HWaddr fe:16:3e:05:36:58
inet6 addr: fe80::fc16:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:395 errors:0 dropped:0 overruns:0 frame:0
TX packets:1180 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1338757 (1.3 MB) TX bytes:1408932 (1.4 MB)
localadmin@
bond0.300 Link encap:Ethernet HWaddr 68:05:ca:30:25:58
inet6 addr: fe80::6a05:
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:11507 errors:0 dropped:0 overruns:0 frame:0
TX packets:11590 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:14831272 (14.8 MB) TX bytes:14943870 (14.9 MB)
As a result, jumbo frames are fragmented coming out from the Compute node.
Changed in neutron: | |
status: | New → Confirmed |
assignee: | nobody → Darragh O'Reilly (darragh-oreilly) |
tags: | added: lb linuxbridge |
tags: | added: juno--backport-potential |
tags: |
added: juno-backport-potential removed: juno--backport-potential |
tags: | added: mtu |
Changed in neutron: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
tags: | added: kilo-backport-potential |
Changed in neutron: | |
milestone: | liberty-1 → 7.0.0 |
Fix proposed to branch: master /review. openstack. org/174558
Review: https:/