false-positive monitoring operation result of fence_ipmilan stonith resource
Issue
When fence_ipmilan stonith resource is configured with unreachable IP address the resource starts and reports successful monitoring operation checks:
# ping -w1 -c5 10.10.10.20
PING 10.10.10.20 (10.10.10.20) 56(84) bytes of data.
--- 10.10.10.20 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 999ms
# pcs stonith create fence_test fence_ipmilan ipaddr="10.10.10.20" login="login" passwd="password" verbose=true op monitor interval=5 timeout=20
pcs config:
Resource: fence_test (class=stonith type=fence_ipmilan)
Attributes: ipaddr=10.10.10.20 login=login passwd=password verbose=true
Operations: monitor interval=5 timeout=20 (fence_test-monitor-interval-5)
pcs status:
fence_test (stonith:fence_ipmilan): Started virt-018
Environment
- Red Hat Enterprise Linux 7
- fence-agents-ipmilan-4.0.11-27.el7_2.7.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
