Comment 6 for bug 369124

Revision history for this message
Duncan Sands (baldrick-free) wrote : Re: [Bug 369124] Re: heartbeat incompatible with drbd8-utils in jaunty

Hi, I am now trying to come up with a simple recipe that
will enable you to reproduce the problem. However, let
me just point out that the current jaunty heartbeat sources
has

./resources/OCF/drbd: DRBD_STATE=$(do_drbdadm state $RESOURCE)

which results in the mentioned problematic output using jaunty drbdadm:

$ sudo drbdadm state r0
'drbdadm state' is deprecated, use 'drbdadm role' instead.
Primary/Unknown

For the heartbeat developers it seems that the tricky question
is how to use "state" or "role" depending on the installed drbd
version.

Ciao,

Duncan.