Setting mtu of phy NICs and veth devices to support configuring VM's MTU>=1500

Bug #1401904 reported by Hua Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron-api (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
neutron-openvswitch (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
nova-compute (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley
quantum-gateway (Juju Charms Collection)
Fix Released
Medium
Edward Hope-Morley

Bug Description

Sometimes the customer wants to keep VM's mtu=1500 to promote the performance, so we need:
1, setting mtu for phy nic which is used for the purpose of passing the VM's flow.
2, setting mtu for peer devices between br-phy and br-int.
Thus mtu inside VM can be set as 1500 via dhcp by configuring neutron's instance-mtu parameter.

huge frame (mtu > 1500) also require set mtu for tap device associated that VM, this effort doesn't include this aspect of the content. also:
1, only support ovs bridge
2, only support configuring the same mtu for all VMs, don't support mtu per network function.

Tags: openstack cts

Related branches

Revision history for this message
Hua Zhang (zhhuabj) wrote :

https://code.launchpad.net/~zhhuabj/charm-helpers/lp74646
https://code.launchpad.net/~zhhuabj/charms/trusty/quantum-gateway/lp74646
https://code.launchpad.net/~zhhuabj/charms/trusty/nova-compute/lp74646
https://code.launchpad.net/~zhhuabj/charms/trusty/neutron-api/lp74646
https://code.launchpad.net/~zhhuabj/charms/trusty/neutron-openvswitch/lp74646

1, setting mtu for phy nic
   a, charm-helpers has the common method to set mtu for phy nic
   b, both quantum-gateway and nova-compute need to set mtu for phy nic
2, setting mtu for veth devices by adding 'network-device-mtu' parameter into /etc/neutron/neutron.conf
   a, neutron-api config parameter 'network-device-mtu'
   b, quantum-gateway and neutron-openvswitch reads the parameter 'network-device-mtu' from the relation, then write the template /etc/neutron/neturon.conf, so this story only supports ovs plugin as well at this stage.

affects: charms → quantum-gateway (Juju Charms Collection)
Changed in quantum-gateway (Juju Charms Collection):
importance: Undecided → Medium
milestone: none → 15.04
Changed in nova-compute (Juju Charms Collection):
milestone: none → 15.04
Changed in neutron-openvswitch (Juju Charms Collection):
milestone: none → 15.04
tags: added: cts openstack
summary: Setting mtu of phy NICs and veth devices to support configuring VM's
- MTU<=1500
+ MTU>=1500
Changed in neutron-api (Juju Charms Collection):
milestone: none → 15.04
importance: Undecided → Medium
Changed in neutron-openvswitch (Juju Charms Collection):
importance: Undecided → Medium
Changed in nova-compute (Juju Charms Collection):
importance: Undecided → Medium
Changed in neutron-api (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in neutron-openvswitch (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in nova-compute (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in quantum-gateway (Juju Charms Collection):
assignee: nobody → Edward Hope-Morley (hopem)
Changed in neutron-api (Juju Charms Collection):
status: New → In Progress
Changed in neutron-openvswitch (Juju Charms Collection):
status: New → In Progress
Changed in nova-compute (Juju Charms Collection):
status: New → In Progress
Changed in quantum-gateway (Juju Charms Collection):
status: New → In Progress
James Page (james-page)
Changed in quantum-gateway (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in neutron-openvswitch (Juju Charms Collection):
status: In Progress → Fix Committed
Changed in neutron-api (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in nova-compute (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in quantum-gateway (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in nova-compute (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in neutron-openvswitch (Juju Charms Collection):
status: Fix Committed → Fix Released
Changed in neutron-api (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.