multiple type networks with different mtu cause vm connectivity problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In my environment, vlan and vxlan are both exist, and their mtu is 1500 and 1450.
I use vlan network to create a instance-A, and use vxlan network to create a instance-B, the instance-A and instance-B are in the same compute nodes.
Then I found the mtu of br-int is 1450, this will cause instance-A'iperf result is 0 in , because instance-A's mtu 1500 is large than 1450.
I did some investigation, found that the ovs bridge's mtu is decided by the minimum mtu tap device which belong to ovs bridge, for example, the instance-A's tap mtu is 1500, the instance-B's mtu is 1450, then br-int's mtu will be set to 1450 automatically.
Seems the neutron doesn't support this scenario which vlan and vxlan both exist in ovs environment, I'm not sure if it's a bug.
I have a workaround to solve this problem, use command "ovs-vsctl set int br-int mtu_request=1500", then the br-int will be always 1500, the instance-A's iperf program worked fine.
summary: |
- multiple networks with different mtu cause network connectivity problem + multiple type networks with different mtu cause vm connectivity problem |
description: | updated |
description: | updated |
Changed in neutron: | |
status: | Incomplete → Invalid |
Thank you for your bug report!
Could you please describe exactly what you're doing that leads to packet loss? The configuration and the commands issued (where, what). The OpenStack version you use. While Neutron is far from bug-free, using vlans and tunneled networks together is such a basic use case it's hard to believe we could have broken it without the CI catching it. So I suspect some missing configuration or maybe a usage misunderstanding. But of course it can be a real bug - in that case please let us know how to reproduce it.
Also are you familiar with these configuration settings?
https:/ /docs.openstack .org/neutron/ stein/admin/ config- mtu.html