Proxmox cluster and STP on Unifi

fcarucci

New Member
May 13, 2023
26
10
3
Hello,

I have a proxmox cluster with three nodes.
Each node has two NICs.

So, for each node, I have two interfaces (each on its own vlan) and two bridges:
vmbr0 - corosync, admin
vmbr1 - VMs

Periodically two of my nodes get rebooted at different times. After (a lot of) investigation, I found out that the Unifi switch is STP blocking ports of my nodes and, I believe, this is triggering the node reboot, since it can't communicate with the cluster.

What am I doing wrong? How can I prevent the switch from STP blocking the ports and triggering a reboot? What other info would be needed to investigate the issue?

Thanks!
 
Thanks. The bridges have STP disabled, but I'll disable STP on each port the nodes are connected to the switch and monitor.
 
@fcarucci

Hey old thread, but I've ran into this issue and resolved this.

For some odd reason Unifi sees the bridge as a physical network switch with all 4 ports connected (no other switch I've tested does this).

To fix this in the current Unifi network version - move all your ports to a sequence on the switch (ports 1,2,3,4 if 4 physical ports used) per node basis and set the port mode from switching to Aggregate. Once this is done STP/Loop Protection will stop freaking out.

Adding for the next dudes who run into this.