[ClusterLabs] ocf:heartbeat:IPsrcaddr generated failed probe "[findif] failed" on inactive nodes

Adam Cecile acecile at le-vert.net
Wed Feb 7 03:35:12 EST 2024


Hello,


Crm_mon show these errors on my cluster, while everything is working as 
expected:

Failed Resource Actions:
   * Default-Public-IPv4-Is-Default-Src probe on gw-3.domain returned 
'error' ([findif] failed) at Wed Feb  7 08:00:22 2024 after 49ms
   * Default-Public-IPv4-Is-Default-Src probe on gw-1.domain returned 
'error' ([findif] failed) at Wed Feb  7 08:00:22 2024 after 48ms
   * Default-Public-IPv4-Is-Default-Src probe on gw-2.domain returned 
'error' ([findif] failed) at Wed Feb  7 08:02:31 2024 after 64ms

I think pacemaker is unable to check default source address on node 
which are not currently owning the IP addresses, which is expected. 
However Default-Public-IPv4-Is-Default-Src is +INF colocated with public 
IP addresses, so I do not understand why such errors are generated on 
inactive nodes.

Here are some config extracts:

primitive Default-Public-IPv4 IPaddr2 \
         params cidr_netmask=24 ip=1.1.1.1 nic=eth1 \
         op monitor interval=30 \
         op start interval=0s timeout=20s \
         op stop interval=0s timeout=20s

primitive IPSEC-Public-IPv4 IPaddr2 \
         params cidr_netmask=24 ip=1.1.1.2 nic=eth1 \
         op monitor interval=30 \
         op start interval=0s timeout=20s \
         op stop interval=0s timeout=20s \
         meta target-role=Started

primitive Public-IPv4-Gateway Route \
         params destination="0.0.0.0/0" device=eth1 gateway=1.1.1.254 \
         op monitor interval=30 \
         op reload interval=0s timeout=20s \
         op start interval=0s timeout=20s \
         op stop interval=0s timeout=20s

primitive Default-Public-IPv4-Is-Default-Src IPsrcaddr \
         params cidr_netmask=24 ipaddress=1.1.1.1 \
         op monitor interval=30 \
         op start interval=0s timeout=20s \
         op stop interval=0s timeout=20s \
         meta target-role=Started

colocation 
colocation-Default-Public-IPv4-Is-Default-Src-Default-Public-IPv4-INFINITY 
+inf: Default-Public-IPv4-Is-Default-Src Default-Public-IPv4
colocation colocation-Default-Public-IPv4-Public-IPv4-Gateway-INFINITY 
+inf: Default-Public-IPv4 Public-IPv4-Gateway
colocation colocation-IPSEC-Public-IPv4-Public-IPv4-Gateway-INFINITY 
+inf: IPSEC-Public-IPv4 Public-IPv4-Gateway

order 
order-Default-Public-IPv4-Default-Public-IPv4-Is-Default-Src-mandatory 
Default-Public-IPv4:start Default-Public-IPv4-Is-Default-Src:start
order order-Default-Public-IPv4-IPSEC-Public-IPv4-mandatory 
Default-Public-IPv4:start IPSEC-Public-IPv4:start
order order-Default-Public-IPv4-Public-IPv4-Gateway-mandatory 
Default-Public-IPv4:start Public-IPv4-Gateway:start


Any hint would be greatly appreciated !

Best regards, Adam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20240207/c3985fd4/attachment.htm>


More information about the Users mailing list