Hello,
I know OVS support in wickedd is limited, and I might have some setup
that is more than supported, but I hope we can get somewhere with
this. I am still running the 42.1 wicked version 0.6.31.
I have two OVS bridges, I'll skip the 'tunnels' bridge, as I don't
configure any interfaces on it through wickedd. It's just for
reference, if wicked behaves differently if it has more than one
bridge.
Then, I have the 'vms' OVS bridge that I use for KVM - I specify the
VLANs the VMs are to join. The VMs connect fine, so also out of scope.
I configure the 'vms' bridge:
ovs-vsctl add-br vms
On the host side, I only want connect to one of these VLANs - vlan100,
so I configure only that:
# cat /etc/sysconfig/network/ifcfg-vlan100
MTU='1394'
STARTMODE='auto'
BOOTPROTO='static'
OVS_BRIDGE='yes'
OVS_BRIDGE_VLAN_PARENT='vms'
OVS_BRIDGE_VLAN_TAG='100'
BROADCAST='10.100.0.255'
IPADDR='10.100.0.4'
NETMASK='255.255.255.0'
NETWORK='10.100.0.0'
Then, I run an ifup vlan100 and everything seems fine... but.
After reboot I get (I am skipping most logs for now, there's nothing
interesting in them but this):
vlan100: <parent> element references unknown device vms
vlan100: cannot resolve reference ovs-bridge/vlan/parent to
subordinate device yet
... and it seems the vms bridge disappeared! The 'tunnels' bridge is
there after a reboot, they are persistently stored in OVS's DB, so it
must have been removed by... wicked! Unfortunately, although I set
journald.conf's Storage=persistent, I wasn't able to get logs from
before a reboot. I don't see why wicked would remove any bridges, but
well... that reproduces on every reboot. I found some code that
removes OVS bridges in the wicked code... Why is that there? And even
so, I did not tell wicked to configure 'vms' interface nor bridge,
just a vlan100 port inside it, so it being removed is somewhat
unexpected.
Another pecularity: After the boot I re-create the vms bridge, ifup
vlan100. Then I remove the bridge and re-create it yet again, without
doing an ifdown vlan100 first.
Then:
# ifup vlan100
vlan100 no-device
# ifdown vlan100
wicked: ifdown: no matching interfaces
Subsequent bringup of the interface works:
# ifup vlan100
vlan100 up
Best regards,
Bolesław Tokarski
--
To unsubscribe, e-mail: wicked-devel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: wicked-devel+owner(a)opensuse.org