Order of Netplan YAML definitions for OVS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical SSO provider |
Invalid
|
Undecided
|
Unassigned | ||
Netplan |
Triaged
|
Medium
|
Unassigned |
Bug Description
I am reporting this bug at the recommendation of Lukas Märdian.
While attempting to apply the configuration of an Open vSwitch bridge including a fake bridge and a bond with 2 physical interfaces, I encountered the following error:
/etc/netplan/
^
The associated YAML file “ovsbr0_
Lukas reproduced the bug in his test environment, as well as provided a work-around.
According to Lukas, there appears to be a bug in the multi-pass processing of the input file “ovsbr0_
The work-around is represented by the re-ordering in “ovsbr0_
Thanks in advance for your assistance in following-up with a permanent fix.
This is a multipass processing issue. "lacp-time" is added to the GHashTable on the first pass. If a 2nd pass is required (due to unknown interface definitions, caused by the YAML ordering) it will try to add "lacp-time" (or any other value) again to the HashTable, throwing this error.
A work around is, as described above, to have all interface definitions defined before/above the interface defining the "other-config".