Package: openvswitch-common
Version: 2.10.6+ds1-0+deb10u1
Severity: important

Dear Maintainer,

We run some VM's under kvm/libvirt/virsh with openvswitch for networking.

The ovs bridge is configured by /etc/network/interfaces.d/br0, which contains:

# Ansible managed

# one of the physical interfaces
allow-bond0 eno1
iface eno1 inet manual
    ovs_type OVSPort
    ovs_bonds bond0

# the other one
allow-bond0 eno2
iface eno2 inet manual
    ovs_type OVSPort
    ovs_bonds bond0

# bond them together with LACP
# XXX the old config had "bond-xmit-hash-policy layer2", needed?
auto bond0
allow-br0 bond0
iface bond0 inet manual
    ovs_bridge br0
    ovs_type OVSBond
    ovs_bonds eno1 eno2
    ovs_options bond_mode=balance-tcp lacp=active other_config:lacp-time=fast
    up ifup eno1
    up ifup eno2

# and add the bond to the bridge
# XXX the old config might of had spanning tree on
# but I don't think we need it really.
auto br0
allow-ovs br0
iface br0 inet static
    address 192.168.7.41/24
    gateway 192.168.7.1
    ovs_type OVSBridge
    ovs_ports bond0

Then when the libvirt/kvm VM's are created there ports get added to br0.

After the security upgrade of ovs on the 23rd the switch was
re-created but all the ports connected to the vm's where lost.

I'm not sure how to resolve this situtaion other then rebooting the
machine - is there some way make the OVS DB be persist over restarts?

Should we be configuring OVS some other way?

Thanks,

Jasper

-- System Information:
Debian Release: 10.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-13-amd64 (SMP w/12 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE,
TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages openvswitch-common depends on:
ii  iproute2     4.20.0-2
ii  libatomic1   8.3.0-6
ii  libc6        2.28-10
ii  libssl1.1    1.1.1d-0+deb10u4
ii  openssl      1.1.1d-0+deb10u4
ii  python3      3.7.3-1
ii  python3-six  1.12.0-1

openvswitch-common recommends no packages.

Versions of packages openvswitch-common suggests:
pn  ethtool  <none>

-- no debconf information

-- 
Your hydrogen & fuel cell partner
Arcola Energy Ltd, 24 Ashwin Street, 
London E8 3DL. www.arcolaenergy.com <https://www.arcolaenergy.com/> / +44 
20 7503 1386
Registered in England and Wales, Company Number 7257863, VAT 
Number 110085273. Copyright 2020. Confidential and Proprietary. Not to be 
disseminated or copied in full or in part.

Reply via email to