[Debian-ha-maintainers] Bug#927311: resource-agents: ethmonitor does not list interfaces without assigned IP address

Heitor Alves de Siqueira halves at canonical.com
Wed Apr 17 22:54:11 BST 2019


Package: resource-agents
Severity: normal

Dear Maintainer,

The is_interface() function in heartbeat/ethmonitor tries to match an
interface to a list obtained from the 'ip' tool. It lists interfaces
using the 'inet' family, which omits interfaces that don't have an IP
address assigned.

If the interface that we're looking for is e.g. a VLAN bridge that does
not have an IP address, it won't show up in the listing and
is_interface() will return false. ethmonitor will miss that interface,
and it won't be available for monitoring.

Upstream commits:
- https://github.com/ClusterLabs/resource-agents/commit/40d05029ce0b
- https://github.com/ClusterLabs/resource-agents/commit/c0ac191c73f1



More information about the Debian-ha-maintainers mailing list