custom mtu is not propergated correctly in openvswitch environments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-docker |
Fix Committed
|
Undecided
|
zhangguoqing |
Bug Description
When using neutron with the openvswitch network driver and GRE tunneling it is ofter required to reduce the network device MTU to avoid ethernet frames becoming to big because of the GRE tunneling information that are appended.
When setting a network device MTU in nova.conf (option network_device_mtu) - this setting is only propagated to tapXXX device but not to the nsXXX device in the newly created IP Namespace.
We got this problem solved by adding the following lines to vifs.py in the attach function inside the try block:
# Setup MTU on if_remote_name is required if it is a non default value
mtu = CONF.network_
if vif.get('mtu') is not None:
mtu = vif.get('mtu')
if mtu is not None:
Changed in nova-docker: | |
assignee: | nobody → zhangguoqing (474751729-o) |
Fix proposed to branch: master /review. openstack. org/213612
Review: https:/