Cluster resource agents fail to run because of missing /var/run/resource-agents directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cluster-agents (Ubuntu) |
Invalid
|
Low
|
Andres Rodriguez | ||
corosync (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
heartbeat (Ubuntu) |
Fix Released
|
High
|
Unassigned |
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-
Apr 5 13:38:32 natty2 lrmd: [1199]: info: RA output: (virtual-
Apr 5 13:38:32 natty2 lrmd: [1199]: info: RA output: (virtual-
Apr 5 13:38:32 natty2 lrmd: [1199]: info: RA output: (virtual-
## Environment
* Natty Narwhale 11.04 (all architectures)
## Resolution
* (Workaround) Create /var/run/
## 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-
Apr 5 13:38:25 natty1 lrmd: [1534]: info: RA output: (virtual-
Apr 5 13:38:25 natty1 lrmd: [1534]: info: RA output: (virtual-
Apr 5 13:38:25 natty1 lrmd: [1534]: info: RA output: (virtual-
Apr 5 13:38:30 natty1 lrmd: [1534]: info: rsc:virtual-ip:8: stop
# crm status
[...]
Failed actions:
virtual-
# mkdir /var/run/
# crm cleanup web-1
# crm status
Resource Group: web-1
apache (ocf::heartbeat
virtual-ip (ocf::heartbeat
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cluster-agents 1:1.0.4-0ubuntu1
ProcVersionSign
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)
Changed in cluster-agents (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in cluster-agents (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in corosync (Ubuntu): | |
status: | New → Confirmed |
Changed in heartbeat (Ubuntu): | |
status: | New → Confirmed |
Changed in corosync (Ubuntu): | |
importance: | Undecided → High |
Changed in heartbeat (Ubuntu): | |
importance: | Undecided → High |
Changed in corosync (Ubuntu): | |
status: | Confirmed → Fix Committed |
Changed in heartbeat (Ubuntu): | |
status: | Confirmed → Fix Committed |
tags: | added: patch |
Hi Eric,
Thank you for reporting bugs and trying to make Ubuntu Server better.
I'll look into this. It seems that you are using IPaddr RA. Have you tried using the IPaddr2 by any chance and see if you are experiencing something similar?
Thank you!