[2.1, 2.2] MTU of parent device is sometimes set incorrectly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo | ||
2.1 |
Won't Fix
|
Medium
|
Unassigned | ||
curtin |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With bonding, when setting an MTU of 1500 on bond1.10 and an MTU on 9000 on bond1.20, the result vary. Some times it is set correctly and some times both are at 1500. N.B. bond1 is not configured, there are no networks on bond1.
It seems possibly related to the following bug : https:/
Which seem to imply that raw device MTU should be set first.
Tried to set the lowest VLAN(10) at 9000 and others(20) to 1500 but the issue is still seen.
This was seen in an OpenStack deployment with Juju as well as a manual deployment from MAAS GUI.
It is always possible to fix manually :
"ifconfig bond1 mtu 9000"
"ifconfig bond1.20 mtu 9000"
The deployed image is Ubuntu 16.04 with kernel 4.4.0-62-generic
The version of the package "vlan" is 1.9-3.2
Related branches
- Lee Trager (community): Approve
-
Diff: 159 lines (+81/-43)2 files modifiedsrc/maasserver/models/interface.py (+7/-0)
src/maasserver/models/tests/test_interface.py (+74/-43)
tags: | added: sts |
summary: |
- MTU is not set correctly on VLAN if raw device is unconfigured + [2.1, 2.2] MTU of parent device is sometimes set incorrectly |
Changed in maas: | |
importance: | Undecided → Medium |
milestone: | none → 2.2.0 |
Changed in maas: | |
importance: | Medium → High |
status: | Confirmed → Triaged |
assignee: | nobody → Mike Pontillo (mpontillo) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.2.0 → 2.2.0rc1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Thanks for attaching all your logs. In this case we need more information about the deploying node.
Can you please attach the output of:
maas machine get-curtin-config {system_id}
Along with the output of the deployed network configuration:
cat /etc/network/ interfaces