Applying Netplan with OVS other-config Failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Netplan |
New
|
Undecided
|
Unassigned |
Bug Description
I have a link which is an OVS bridge that has the other-config:hwaddr applied. When applying this the first time, all works as expected.
However, when running "Netplan apply" the second time, a "remove" command is attempted on the old configuration and ovs-vsctl errors on the command.
This is the YAML file for the port:
network:
version: 2
renderer: networkd
ethernets:
ens3: {}
bridges:
wan1:
dhcp4: true
mtu: 1450
This is seen in syslog when attempting to run it again when new configuration for other ports are added:
Mar 8 20:55:59 pod-focal-1 ovs-vsctl: ovs|00001|
Mar 8 20:55:59 pod-focal-1 ovs-vsctl: ovs|00002|
root@pod-focal-1:~# netplan apply
ovs-vsctl: fa:16:3e:4b:19:3a: unexpected ":" parsing set of 1 or more strings
Traceback (most recent call last):
File "/usr/sbin/
netplan.main()
File "/usr/share/
self.
File "/usr/share/
self.func()
File "/usr/share/
self.
File "/usr/share/
self.func()
File "/usr/share/
NetplanAppl
File "/usr/share/
apply_
File "/usr/share/
clear_
File "/usr/share/
_del_dict(type, iface, split[1], split[2], value)
File "/usr/share/
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
OVS:
root@pod-focal-1:~# ovs-vsctl --version
ovs-vsctl (Open vSwitch) 2.14.2
DB Schema 8.2.0
Ubuntu 20.04:
root@pod-focal-1:~# netplan info
netplan.io:
features:
- generate-
- generated-
- dbus-config
- auth-phase2
- dhcp-use-domains
- ipv6-mtu
- modems
- sriov
- openvswitch
website: https:/
root@pod-focal-1:~# dpkg -l | grep netplan
ii libnetplan0:amd64 0.101-0ubuntu3~
ii netplan.io 0.101-0ubuntu3~
root@pod-focal-1:~# uname -a
Linux pod-focal-1 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
This appears to be a duplicate of "1913906" ...