[Debian-ha-maintainers] Bug#857368: Bug#857368: heartbeat: Heartbeat-Package ist missing package "net-tools" as depency due the need of command "ifconfig".

Valentin Vidic Valentin.Vidic at CARNet.hr
Sat Mar 11 16:44:16 UTC 2017


On Fri, Mar 10, 2017 at 04:31:33PM +0100, Ronny Schneider wrote:
> as i installed the heartbeat-package in Debian Stretch, heartbeat failed to
> set the ip adresses, since the command "ifconfig" cannot be run. This command
> is part of the "net-tools"-Package and thus needed until heartbeat is patched
> to use the new "ip" command instead. Until this isn't done, the package
> "net-tools" needs to be referenced as a depency.

I can reproduce the problem, but the error is coming from resource-agents
package (/usr/lib/ocf/resource.d/heartbeat/IPaddr) so I will reassign there. 

Mar 11 16:32:04 sid1 ResourceManager(default)[17494]: info: Acquiring resource group: sid1 192.168.122.200
Mar 11 16:32:04 sid1 /usr/lib/ocf/resource.d//heartbeat/IPaddr(IPaddr_192.168.122.200)[17519]: INFO:  Resource is stopped
Mar 11 16:32:04 sid1 ResourceManager(default)[17494]: info: Running /etc/ha.d//resource.d/IPaddr 192.168.122.200 start
Mar 11 16:32:04 sid1 IPaddr(IPaddr_192.168.122.200)[17573]: ERROR: Setup problem: couldn't find command: ifconfig
Mar 11 16:32:04 sid1 /usr/lib/ocf/resource.d//heartbeat/IPaddr(IPaddr_192.168.122.200)[17561]: ERROR:  Program is not installed
Mar 11 16:32:04 sid1 ResourceManager(default)[17494]: ERROR: Return code 5 from /etc/ha.d//resource.d/IPaddr
Mar 11 16:32:04 sid1 ResourceManager(default)[17494]: CRIT: Giving up resources due to failure of 192.168.122.200
Mar 11 16:32:04 sid1 ResourceManager(default)[17494]: info: Releasing resource group: sid1 192.168.122.200

-- 
Valentin



More information about the Debian-ha-maintainers mailing list