[DRBD-user] Weird protocol errors

Lars Ellenberg lars.ellenberg at linbit.com
Sun Jul 3 10:14:34 CEST 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Wed, Jun 29, 2011 at 03:20:36PM +0200, Igmar Palsenberg wrote:
> 
> > Somehow by 2 machine drbd setup got screwed (seriously) : 
> > 
> > Jun 29 01:51:48 jdi kernel: block drbd0: Handshake successful: Agreed network protocol version 95
> > Jun 29 01:51:48 jdi kernel: block drbd0: conn( WFConnection -> WFReportParams )
> > Jun 29 01:51:48 jdi kernel: block drbd0: Starting asender thread (from drbd0_receiver [7914])
> > Jun 29 01:51:48 jdi kernel: block drbd0: unknown packet type 16, l: 64!


Packet type 16 (decimal) is P_AUTH_CHALLENGE.
We need to improve that error message ;-)

As you have found out, this is a result of misconfiguration:

It translates into "The peer requests authentication,
but you did not tell me how to authenticate."


> > Jun 29 01:51:48 jdi kernel: block drbd0: conn( WFReportParams -> ProtocolError ) 
> > Jun 29 01:51:48 jdi kernel: block drbd0: asender terminated
> > Jun 29 01:51:48 jdi kernel: block drbd0: Terminating asender thread
> > Jun 29 01:51:48 jdi kernel: block drbd0: Connection closed
> > Jun 29 01:51:48 jdi kernel: block drbd0: conn( ProtocolError -> Unconnected )
> > Jun 29 01:51:48 jdi kernel: block drbd0: receiver terminated
> > Jun 29 01:51:48 jdi kernel: block drbd0: Restarting receiver thread
> > Jun 29 01:51:48 jdi kernel: block drbd0: receiver (re)started
> > Jun 29 01:51:48 jdi kernel: block drbd0: conn( Unconnected -> WFConnection )
> 
> Found it. The installer bluntly overwrote my global config, instead of
> only overwriting the kernel drbd.ko. That results in a mismatch on
> parameters, including authentication and protocol. Making those in
> sync again will probably make things work again.
> 
> 
> Regards,
> 
> 
> 	Igmar
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list