Random Project

Checking for local Role failes

The comparison of the local role and the expected role, with parameter “-r”, doesn’t work for me. It doesn’t matter, which role were set with “-r”, the result is always the same:

DRBD OK: Device 1 Connected UpToDate

The “–debug”-parameter shows maybe the bug. The expected role, set with “-r”, were set in variable “DRBD Role”, not in “DRBD Expect”. The variable “DRBD Role” should contain the local Role and the Variable “DRBD Expect” the expected one, right?

So, is there a correction needed? Has someone another result?