Public bug reported:
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)
** Affects: cluster-agents (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug natty
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/751344
Title:
Cluster resource agents fail to run because of missing /var/run
/resource-agents directory
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs