• Hrvoje Ribicic's avatar
    Run drbdsetup syncer only on network attach · 1a705513
    Hrvoje Ribicic authored
    
    
    As late as DRBD 8.3.11, the drbdsetup syncer command has a bug causing
    nodes to hang from time to time, requiring manual intervention to fix.
    The use of the command cannot be avoided, but the incidence of use can
    be reduced.
    
    By invoking the command only when the network part of a DRBD device is
    configured, activate-disks and similar commands can avoid invoking the
    troublesome command. This patch does this by moving the invocation from
    Assemble to _AssembleNet.
    
    Works towards fixing issue 650.
    Signed-off-by: default avatarHrvoje Ribicic <riba@google.com>
    Reviewed-by: default avatarThomas Thrainer <thomasth@google.com>
    1a705513
drbd.py 35.8 KB