[Bug 1177482] New: openvswitch VLAN ports gone after Leap 15.2 update
https://bugzilla.suse.com/show_bug.cgi?id=1177482 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: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1177482 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |jcaamano@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1177482 https://bugzilla.suse.com/show_bug.cgi?id=1177482#c1 --- Comment #1 from Jaime Caamaño Ruiz <jcaamano@suse.com> --- Hey Martin /var/lib/openvswitch should only be used if there was no previous openvswitch installed. In case of upgrading over a version that is already using the old placement, /etc/openvswitch, then it should keep using that. But I recall that you had a bug previously for which you applied some manual workaround. Would this be the same system? I would try to reproduce on my side anyway. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1177482 https://bugzilla.suse.com/show_bug.cgi?id=1177482#c2 Martin Wilck <martin.wilck@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #2 from Martin Wilck <martin.wilck@suse.com> --- I think we can close this now. I've updated to SP3 in the meantime :-) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com