Hi, in my setup I have two nodes in a cluster (and a Qdevice witness), and from what I understand, I need to have spanning tree protocol enabled on the bridge to be able to use a redundant managed switch setup.
So I have a vmbr0 configured with openvswitch and spanning tree protocol enabled
Code:
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports eno1 eno2 lan
ovs_options stp_enable=true
and then I just attach the VM network interfaces to this bridge and use the VLAN tag to put them on different network segments.
Then the proxmox nodes are attached to two managed switches in parallel, one port goes to each switch (both switches have the same configuration)
So far so good. It's been fine for many months in this way.
If I try to use the the beta sdn module to set up interfaces as VLANs I get intermittent network outage (after a while I can't ping a VM in the cluster anymore, then after a bit more time it becomes available again, and this is the case for all VMs, not just one).
this is for example what is created in /etc/network/interfaces.d/sdn if I add a new VLAN-based VNET called "albylan", to the same vmbr0
Code:
auto albylan
iface albylan
bridge_ports ln_albylan
bridge_stp off
bridge_fd 0
auto ln_albylan
iface ln_albylan
ovs_type OVSIntPort
ovs_bridge vmbr0
ovs_options tag=10
auto vmbr0
iface vmbr0
ovs_ports ln_albylan
Now, I see that you are turning off spanning tree protocol in the bridge ports in the config generated with this plugin. I'm not an expert here, but can that be the cause of the issues I'm getting? Would enabling spanning tree protocol on all these vnet bridges help in my case?
Can I just edit the file manually to have
bridge_stp on and then do a
Code:
systemctl networking restart
Or is there more to change?
Or am I completely off track and my issue is not related to spanning tree protocol?