Setting mtu of phy NICs and veth devices to support configuring VM's MTU>=1500
Bug #1401904 reported by
Hua Zhang
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.
Related branches
lp:~cts-engineering/charm-helpers/neutron-mtu
- James Page: Pending requested
- OpenStack Charmers: Pending requested
-
Diff: 188 lines (+137/-0)3 files modifiedcharmhelpers/contrib/openstack/context.py (+47/-0)
charmhelpers/contrib/openstack/neutron.py (+69/-0)
tests/contrib/openstack/test_neutron_utils.py (+21/-0)
lp:~cts-engineering/charms/trusty/nova-compute/neutron-mtu
- OpenStack Charmers: Pending requested
- James Page: Pending requested
-
Diff: 447 lines (+284/-16)10 files modifiedconfig.yaml (+8/-0)
hooks/charmhelpers/contrib/openstack/context.py (+47/-0)
hooks/charmhelpers/contrib/openstack/neutron.py (+69/-0)
hooks/charmhelpers/contrib/openstack/templates/zeromq (+0/-14)
hooks/charmhelpers/contrib/python/debug.py (+56/-0)
hooks/charmhelpers/contrib/python/rpdb.py (+58/-0)
hooks/charmhelpers/contrib/python/version.py (+34/-0)
hooks/nova_compute_context.py (+4/-0)
hooks/nova_compute_utils.py (+4/-2)
templates/havana/nova.conf (+4/-0)
lp:~cts-engineering/charms/trusty/quantum-gateway/neutron-mtu
- Ante Karamatić: Pending requested
- OpenStack Charmers: Pending requested
- James Page: Pending requested
-
Diff: 1154 lines (+597/-170)17 files modifiedcharm-helpers-hooks.yaml (+1/-0)
config.yaml (+16/-4)
hooks/charmhelpers/contrib/openstack/context.py (+47/-0)
hooks/charmhelpers/contrib/openstack/neutron.py (+69/-0)
hooks/charmhelpers/contrib/python/debug.py (+56/-0)
hooks/charmhelpers/contrib/python/rpdb.py (+58/-0)
hooks/charmhelpers/contrib/python/version.py (+34/-0)
hooks/quantum_contexts.py (+79/-57)
hooks/quantum_utils.py (+28/-8)
templates/ext-port.conf (+9/-2)
templates/havana/ovs_neutron_plugin.ini (+5/-0)
templates/icehouse/ml2_conf.ini (+6/-3)
templates/icehouse/neutron.conf (+1/-0)
templates/os-charm-phy-nic-mtu.conf (+22/-0)
unit_tests/test_quantum_contexts.py (+130/-77)
unit_tests/test_quantum_hooks.py (+1/-1)
unit_tests/test_quantum_utils.py (+35/-18)
lp:~cts-engineering/charms/trusty/neutron-api/neutron-mtu
- James Page: Approve
- OpenStack Charmers: Pending requested
-
Diff: 137 lines (+69/-0)4 files modifiedconfig.yaml (+7/-0)
hooks/charmhelpers/contrib/openstack/context.py (+39/-0)
hooks/neutron_api_hooks.py (+7/-0)
unit_tests/test_neutron_api_hooks.py (+16/-0)
lp:~cts-engineering/charms/trusty/neutron-openvswitch/neutron-mtu
- James Page: Approve
- OpenStack Charmers: Pending requested
-
Diff: 637 lines (+305/-62)10 files modifiedconfig.yaml (+15/-2)
hooks/charmhelpers/contrib/openstack/context.py (+47/-0)
hooks/charmhelpers/contrib/openstack/neutron.py (+69/-0)
hooks/neutron_ovs_context.py (+95/-36)
hooks/neutron_ovs_utils.py (+6/-1)
templates/icehouse/ml2_conf.ini (+6/-3)
templates/icehouse/neutron.conf (+2/-1)
templates/os-charm-phy-nic-mtu.conf (+22/-0)
unit_tests/test_neutron_ovs_context.py (+39/-17)
unit_tests/test_neutron_ovs_utils.py (+4/-2)
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 |
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 |
Changed in nova-compute (Juju Charms Collection): | |
status: | In Progress → Fix Committed |
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.
https:/ /code.launchpad .net/~zhhuabj/ charm-helpers/ lp74646 /code.launchpad .net/~zhhuabj/ charms/ trusty/ quantum- gateway/ lp74646 /code.launchpad .net/~zhhuabj/ charms/ trusty/ nova-compute/ lp74646 /code.launchpad .net/~zhhuabj/ charms/ trusty/ neutron- api/lp74646 /code.launchpad .net/~zhhuabj/ charms/ trusty/ neutron- openvswitch/ lp74646
https:/
https:/
https:/
https:/
1, setting mtu for phy nic device- mtu' parameter into /etc/neutron/ neutron. conf device- mtu' 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.
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-
a, neutron-api config parameter 'network-
b, quantum-gateway and neutron-openvswitch reads the parameter 'network-