/usr/lib/stonith/plugins/external/sbd works uses wrong shell commands
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cluster-glue (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: cluster-glue
/usr/lib/
uses ha_log as shell command which is now ha_logger
also the
nodes=$(
if is_heartbeat; then
crm_node -H -p
else
crm_node -p
fi)
lines are nor working.
fix is:
if is_heartbeat; then
else
fi
source: http://
patch:
28c28
< ha_log err "sbd could not list nodes from $sbd_device"
---
> ha_logger err "sbd could not list nodes from $sbd_device"
31d30
< nodes=$(
33c32
< crm_node -H -p
---
> nodes=$(crm_node -H -p)
35,36c34,36
< crm_node -p
< fi)
---
> nodes=$(crm_node -p)
> fi
>
39c39
< ha_log warn "no active nodes reported by the CRM"
---
> ha_logger warn "no active nodes reported by the CRM"
44c44
< ha_log err "node $N not accessible through $sbd_device"
---
> ha_logger err "node $N not accessible through $sbd_device"
TEST CASE:
1) Run the sbd daemon with the sbd command in a terminal
VERIFICATION DONE:
Check if the sbd daemon logs something in the /var/log/ha-log file.
Related branches
Changed in cluster-glue (Ubuntu Lucid): | |
assignee: | nobody → Bilal Akhtar (bilalakhtar) |
status: | Triaged → In Progress |
description: | updated |
Changed in cluster-glue (Ubuntu Lucid): | |
status: | In Progress → Fix Committed |
tags: | added: verification-needed |
Changed in cluster-glue (Ubuntu Lucid): | |
assignee: | Bilal Akhtar (bilalakhtar) → nobody |
Changed in cluster-glue (Ubuntu Lucid): | |
milestone: | none → lucid-updates |
description: | updated |
tags: | added: testcase |
cluster-glue version 1.0.5-1 of Ubuntu 10.04 LTS is affected