Migrate networks with MTU = 0 to a more reasonable value (1500?)
Bug #1556182 reported by
Ihar Hrachyshka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Ihar Hrachyshka |
Bug Description
In Mitaka, new networks are now created with default 1500 mtu (minus tunneling overhead). But for old networks, mtu value is left intact, meaning they are still affected by MTU mismatch issues. We should migrate those resources to use a saner value for the attribute.
Changed in neutron: | |
assignee: | nobody → Ihar Hrachyshka (ihar-hrachyshka) |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: linuxbridge ovs |
Changed in neutron: | |
status: | Confirmed → In Progress |
Changed in neutron: | |
milestone: | newton-2 → newton-3 |
tags: | added: neutron-proactive-backport-potential |
tags: | removed: neutron-proactive-backport-potential |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/336805 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=a984f9554cd cbe93c840a1d8f5 c04302e9331e79
Committed: https:/
Submitter: Jenkins
Branch: master
commit a984f9554cdcbe9 3c840a1d8f5c043 02e9331e79
Author: Ihar Hrachyshka <email address hidden>
Date: Sat Jul 2 17:30:21 2016 +0200
Calculate MTU on every network fetch instead of on create
Today, existing networks may not reflect MTU configured for
neutron-server, if they were created when neutron-server was using
different MTU setup for its infrastructure, or when it was using bad
default values for network MTUs (specifically, before Mitaka, all networks
were getting MTU = 0 by default, disabling both advertisement and data
path MTU size enforcement).
This patch stops persisting MTU in the database on network create and
instead calculate it on every network resource fetch.
DocImpact Now changes to MTU configuration options immediately affect
existing network MTUs, not just new networks.
UpgradeImpact Existing networks with invalid MTU persisted in database
may change their MTU values to reflect configuration.
Change-Id: Iee4f5037bf10b7 3ba98464143b183 aacb59c22f2
Closes-Bug: #1556182