Bug ID 1177482
Summary openvswitch VLAN ports gone after Leap 15.2 update
Classification openSUSE
Product openSUSE Distribution
Version Leap 15.2
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee screening-team-bugs@suse.de
Reporter martin.wilck@suse.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

I have an ovs bridge with a physical interface and 3 vlan interfaces.

 # ovs-vsctl show
474e96b9-515c-4da5-81f7-62ec7d7e8c7c
    Bridge obr0
        Port obr0
            Interface obr0
                type: internal
        Port eth0
            Interface eth0
        Port vlan10
            tag: 10
            Interface vlan10
                type: internal
        Port vlan30
            tag: 30
            Interface vlan30
                type: internal
        Port vlan20
            tag: 20
            Interface vlan20
                type: internal
    ovs_version: "2.13.0"


After update from Leap 15.1 to 15.2, and reboot, the vlan interfaces were gone.

I think this has something to do with the fact that the OVS db is now under
/var/lib/openvswitch, which didn't exist before. 

I worked around the issue by simply recreating the ports. 

> ovs-vsctl add-port obr0 vlan10 tag=10 -- set Interface vlan10 type=internal

Now they're back, and are recreated after boot as usual.

zeus:~ # cat /etc/sysconfig/network/ifcfg-obr0
BOOTPROTO='static'
OVS_BRIDGE='yes'
OVS_BRIDGE_PORT_DEVICE='eth0'
MTU=9000
STARTMODE=nfsroot
ZONE=public
POST_UP_SCRIPT="wicked:post-up.obr"

 # cat /etc/sysconfig/network/ifcfg-vlan10
BOOTPROTO='static'
IPADDR='192.168.10.20/24'
STARTMODE='hotplug'
#VLAN_ID='10'
MTU=9000

ZONE=storage


You are receiving this mail because: