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.

-- 
heartbeat incompatible with drbd8-utils in jaunty
https://bugs.launchpad.net/bugs/369124
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is a bug assignee.

Status in “heartbeat” source package in Ubuntu: Incomplete

Bug description:
Binary package hint: heartbeat

The version of drbd shipped with jaunty now outputs a warning when using 
"state" with drbdadm:
  'drbdadm state' is deprecated, use 'drbdadm role' instead.
Unfortunately when heartbeat sees this warning it thinks drbdadm has failed.
The result is that heartbeat cannot be used with drbd in jaunty.
There is a discussion on the heartbeat users list:
http://www.gossamer-threads.com/lists/linuxha/users/54352

_______________________________________________
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