[Debian-ha-maintainers] Bug#711634: heartbeat: Cluster resource agents fail to run because of missing /var/run/resource-agents directory
Kai Hildebrandt
kai.hildebrandt at web.de
Sat Jun 8 11:50:02 UTC 2013
Package: heartbeat
Version: 1:3.0.5-3.1
Severity: normal
Dear Maintainer,
The bug was already reported for Ubuntu here ny Eric Williams:
https://bugs.launchpad.net/ubuntu/+source/cluster-agents/+bug/751344
(Cluster resource agents fail to run because of missing /var/run/resource-agents directory)
A patch is also submitted there.
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
Setup an HA cluster between to DNS-servers node1 and node2.
node2 uses tmpfs as /run => empty on reboot.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Tried a Failover by taking one heartbeat offline:
node1# /etc/init.d/heartbeat stop
* What was the outcome of this action?
node2 did not take over the cluster IP, logfile contained error:
ERROR: Return code 1 from /etc/ha.d/resource.d/IPaddr
Running manually revealed the problem:
/etc/ha.d/resource.d/IPaddr 192.168.1.250/24 start
IPaddr[12318]: INFO: Using calculated nic for 192.168.1.250: eth0
IPaddr[12318]: INFO: Using calculated netmask for 192.168.1.250: 255.255.255.0
IPaddr[12318]: DEBUG: Using calculated broadcast for 192.168.1.250: 192.168.1.255
touch: cannot touch `/var/run/resource-agents/IPaddr-eth0': No such file or directory
* What outcome did you expect instead?
A correct failover of the IP to node2.
*** End of the template - remove these lines ***
-- System Information:
Debian Release: 7.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages heartbeat depends on:
ii adduser 3.113+nmu3
ii cluster-glue 1.0.10+hg2722-1+b1
ii gawk 1:4.0.1+dfsg-2.1
ii iproute 20120521-3+b3
ii iputils-ping 3:20101006-1+b1
ii libbz2-1.0 1.0.6-4
ii libc6 2.17-5
ii libglib2.0-0 2.33.12+really2.32.4-5
ii libgnutls26 2.12.20-7
ii libheartbeat2 1:3.0.5-3
ii libltdl7 2.4.2-1.1
ii libpam-runtime 1.1.3-7.1
ii libpils2 1.0.10+hg2722-1+b1
ii libplumb2 1.0.10+hg2722-1+b1
ii libplumbgpl2 1.0.10+hg2722-1+b1
ii libstonith1 1.0.10+hg2722-1+b1
ii libuuid1 2.20.1-5.3
ii libxml2-utils 2.8.0+dfsg1-7+nmu1
ii mawk 1.3.3-17
ii psmisc 22.19-1+deb7u1
ii python 2.7.3-4
ii resource-agents 1:3.9.2-5+deb7u1
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages heartbeat recommends:
ii iptables 1.4.14-3.1
ii logrotate 3.8.1-4
pn pacemaker <none>
ii rsyslog [system-log-daemon] 5.8.11-3
heartbeat suggests no packages.
-- no debconf information
More information about the Debian-ha-maintainers
mailing list