CRS520 MLAG pair under a 3-node Proxmox/Ceph cluster – anyone running RouterOS 7.24.x successfully?

I'd be really careful with MLAG under Ceph in production, even on 7.24.5. The issues you might have read about from 7.20 to 7.23 are in the same part of MLAG and not all of them are fixed yet. The fix for a MAC address getting stuck on the wrong port after a Proxmox live migration doesn't seem well enough tested for production either. 7.25rc1 includes a bunch of MLAG fixes, like a peer getting stuck in disabled after config changes and FDB sync when adding VLANs. But an RC from MikroTik is in practice a beta, or early beta as jaclaz puts it in his Mikrotikish dictionary, so I wouldn't consider running 7.25rc in production at all (never ever :).

One key aspect is that Ceph doesn't handle short L2 outages or MAC blackholing very well. OSDs get marked down, PGs re-peer and recovery starts, which puts even more load on the same switches. So MLAG bugs might hit much harder here than in the setup sirbryan describes.

The shakiest part right now is the failover itself and I wouldn't rely on it yet without extensive testing. When the primary MLAG node reboots the LACP system ID changes and the nodes have to renegotiate their bonds, which is exactly the situation MLAG is supposed to protect against. That's probably why the new "mlag-init-delay" and "mlag-lacp-fallback" options were added in 7.25rc, but they're still completely undocumented. There's also a thread where one switch in a CRS518 MLAG pair kept crashing under heavy traffic with 100% CPU and a lot of "no buffer space available for fdb notify". Ceph recovery generates exactly that kind of load.

In your position I'd go with option B, active-backup for the Ceph networks, and have all nodes use the same switch for their primary link so traffic stays off the ISL in normal operation. If you still go with MLAG, make sure the config is identical on both switches, STP included, and test failover in a lab under real Ceph load. Reboot the primary, pull the peer link and a few cables and measure how long the outage lasts. Running Corosync on separate switches is the right call IMO.

One last word of caution. Given all the MLAG issues, it's extremely important that you do proper production testing. It has to be done with exactly (and I mean exactly) the same configuration and ROS version you intend to deploy. Better to have things blow up in the lab than in full production.

Cheers
Larsa