Reactor on Ubuntu 24

Hello,

I try to use reactor on Ubuntu 24.04 after a successful test with Ubuntu 22.04
My test consist to create 2 nodes + arbitrer (diskelss) and a NFS Server in HA Mode.

I used NFS High Availability Clustering Using DRBD and DRBD Reactor on RHEL 9 Guide.

Everything is working as expected, when i reboot the primary node, the seconday goes primary, except the “unblock port”, iptables always keep rules.

I compare resources agents scripts and there is some difference between ubuntu 22.04 and ubuntu 24.04 …

Do you have any ideas?

Thanks

Yathus

i found the bug : [ClusterLabs] About RA ocf💓portblock

I have to fix the chain_isactive() from portblock script.

Now when i reboot the primary, the iptables chains are cleared when secondary comes up.

2 Likes

Hi @Yathus,

Have you tried simply overwriting the portblock resource agent from upstream?

See the section “Portblock Resource Agent Workaround” in our blog post Highly Available NFS for Proxmox With LINSTOR Gateway - LINBIT

Most notably the section:

wget -O /usr/lib/ocf/resource.d/heartbeat/portblock \
https://raw.githubusercontent.com/ClusterLabs/resource-agents/main/heartbeat/portblock

Long story short, the combination of the specific versions of iptables and resource-agents shipped in Debian 12 will lead to issues. A quick workaround is to use a newer version of the portlblock resource agent.