On Thu, Jul 01, 2010 at 03:13:22PM +0100, Luca Bigliardi wrote:
> On Thu, Jul 1, 2010 at 2:58 PM, Iustin Pop <[email protected]> wrote:
> 
> > The point is to differentiate between a down node (rpc error), and a
> > node failing to validate the drbd helper. How you do that, and if we
> > really want to do that, is left as an exercise :)
> 
> Well actually from that rpc call a tuple (result,payload) is returned and
> result is set to False if an error (BlockDeviceError) occurs when the node
> checks its helper.
> 
> So fail_msg is set only in case of an rpc-related error.

Incorrect. If you return (False, whatever) from the node, fail_msg will
be set to str(whatever).

iustin

Reply via email to