[2.1+] Cannot create a bridge on an interface that also has VLAN interfaces
Bug #1661203 reported by
Hamza
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo | ||
curtin |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi,
Context:
Ubuntu: 16.04.1
MAAS: 2.1.3
After deploying some nodes with the LACP bond i found that the network interfaces that make up the bonding also got the settings of the LACP, like this:
http://
I can provide you with any further details if needed.
Thank you,
Hamza
Related branches
lp:~mpontillo/maas/relax-bridge-restrictions--bug-1661203
- LaMont Jones (community): Approve
-
Diff: 784 lines (+169/-92)2 files modifiedsrc/maasserver/forms/interface.py (+28/-11)
src/maasserver/forms/tests/test_interface.py (+141/-81)
Changed in maas: | |
status: | New → Invalid |
Changed in maas: | |
milestone: | 2.2.0 → 2.2.0rc2 |
Changed in maas: | |
assignee: | nobody → Mike Pontillo (mpontillo) |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi,
Thanks for filing a bug.
Are you experiencing any networking issues with the above configuration or is your question about the format of the output?
If networking isn't functioning, please describe what's not working.
As for the formatting of the stanzas, that is by design. The ifenslave documentation mentions that in the case that if the master interface is not available, the bond will be setup with bond-* options on the slaves; thus to ensure the correct bond configuration, the slaves should include the same bond-options as the master.
From: /usr/share/ doc/ifenslave/ README. Debian. gz
"You can set additional bonding options by adding them to the interface
section:
bond-mode active-backup
This would run the bonding device in active backup mode with eth0 as primary.
If the master interface is not available at the time the first slave is setup,
it will be created and setup according to bond-* options in the *slave* stanza.
For this reason, in order to get consistent results, the values of all the
bond-* options should normally be identical in the master stanza and in all the
possible slave stanzas. However, there exists some good reasons to have
different options in different stanza, for example, to change the primary slave
when hotpluging a new slave.
"