Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=585120
Upstream: http://hg.linux-ha.org/glue/rev/1be1b01ddd1c

-- 
/usr/lib/stonith/plugins/external/sbd works uses wrong shell commands
https://bugs.launchpad.net/bugs/585468
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to cluster-glue in ubuntu.

Status in “cluster-glue” package in Ubuntu: Fix Released
Status in “cluster-glue” source package in Lucid: Fix Committed

Bug description:
Binary package hint: cluster-glue

/usr/lib/stonith/plugins/external/sbd
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
        nodes=$(crm_node -H -p)
    else
        nodes=$(crm_node -p)
    fi

source: http://www.gossamer-threads.com/lists/linuxha/pacemaker/63969

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.




_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help   : https://help.launchpad.net/ListHelp

Reply via email to