# NOTE
Due to bug 1826045, I've done the test below with a patched version of pcs to 
work around the pacemaker/pcs version problems. The pcs package does not affect 
the resource-agents SRU, and is only used for an easy, straightforward 
reproducer.
#

Verified resource-agents from disco-proposed according to test case from
description. The WARNING messages about monitoring failure are fine, as
long as we don't get "WARNING: Interface virbr0-nic does not exist".

root@disco:~# dpkg -l | grep resource-agents
ii  resource-agents                      1:4.2.0-1ubuntu1.1                  
amd64        Cluster Resource Agents

root@disco:~# ip addr show dev virbr0-nic
3: virbr0-nic: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state 
UNKNOWN group default qlen 1000
    link/ether 02:c1:6a:4e:09:ea brd ff:ff:ff:ff:ff:ff

root@disco:~# pcs resource create p_nic ocf:heartbeat:ethmonitor
interface=virbr0-nic op monitor timeout="10s"

root@disco:~# pcs resource debug-start p_nic
Operation start for p_nic (ocf:heartbeat:ethmonitor) returned: 'ok' (0)
 >  stderr: May 14 19:01:41 INFO: No ARP cache entries found to arping
 >  stderr: May 14 19:01:41 WARNING: Monitoring of p_nic failed, 4 retries left.
 >  stderr: May 14 19:01:51 INFO: No ARP cache entries found to arping
 >  stderr: May 14 19:01:51 WARNING: Monitoring of p_nic failed, 3 retries left.


** Tags removed: verification-needed-disco
** Tags added: verification-done-disco

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825250

Title:
  ethmonitor does not list interfaces without assigned IP address

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resource-agents/+bug/1825250/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to