This bug was fixed in the package corosync - 1.2.1-4ubuntu1 --------------- corosync (1.2.1-4ubuntu1) natty; urgency=low
* debian/corosync.init: Ensure that '/var/run/resource-agents' is created; otherwise cluster operations will fail as RA's expect it (LP: #751344). -- Andres Rodriguez <andres...@ubuntu.com> Fri, 15 Apr 2011 13:21:30 -0700 ** Changed in: corosync (Ubuntu) Status: Fix Committed => Fix Released ** Changed in: heartbeat (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu High Availability Team, which is subscribed to heartbeat in Ubuntu. https://bugs.launchpad.net/bugs/751344 Title: Cluster resource agents fail to run because of missing /var/run /resource-agents directory Status in “cluster-agents” package in Ubuntu: Invalid Status in “corosync” package in Ubuntu: Fix Released Status in “heartbeat” package in Ubuntu: Fix Released Bug description: Binary package hint: cluster-agents ## Issue * Cluster IP resource cannot be started * Error messages in /var/log/syslog: Apr 5 13:38:32 natty2 lrmd: [1199]: info: RA output: (virtual-ip:start:stderr) touch: Apr 5 13:38:32 natty2 lrmd: [1199]: info: RA output: (virtual-ip:start:stderr) cannot touch `/var/run/resource-agents/IPaddr-eth0' Apr 5 13:38:32 natty2 lrmd: [1199]: info: RA output: (virtual-ip:start:stderr) : No such file or directory Apr 5 13:38:32 natty2 lrmd: [1199]: info: RA output: (virtual-ip:start:stderr) ## Environment * Natty Narwhale 11.04 (all architectures) ## Resolution * (Workaround) Create /var/run/resource-agents manually ## Root Cause Package does not create directory under /var/run. Some resource agents check it, and will create it if necessary. ## Diagnostic Steps # grep lrmd /var/log/syslog: Apr 5 13:38:25 natty1 lrmd: [1534]: info: RA output: (virtual-ip:start:stderr) touch: Apr 5 13:38:25 natty1 lrmd: [1534]: info: RA output: (virtual-ip:start:stderr) cannot touch `/var/run/resource-agents/IPaddr-eth0' Apr 5 13:38:25 natty1 lrmd: [1534]: info: RA output: (virtual-ip:start:stderr) : No such file or directory Apr 5 13:38:25 natty1 lrmd: [1534]: info: RA output: (virtual-ip:start:stderr) Apr 5 13:38:30 natty1 lrmd: [1534]: info: rsc:virtual-ip:8: stop # crm status [...] Failed actions: virtual-ip_start_0 (node=natty1, call=18, rc=1, status=complete): unknown error # mkdir /var/run/resource-agents/ # (all nodes) # crm cleanup web-1 # crm status Resource Group: web-1 apache (ocf::heartbeat:apache): Started natty1 virtual-ip (ocf::heartbeat:IPaddr): Started natty1 ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: cluster-agents 1:1.0.4-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38 Uname: Linux 2.6.38-7-generic x86_64 Architecture: amd64 Date: Tue Apr 5 13:46:35 2011 ProcEnviron: PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: cluster-agents UpgradeStatus: No upgrade log present (probably fresh install) _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-ha Post to : ubuntu-ha@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-ha More help : https://help.launchpad.net/ListHelp