[DRBD-user] [BUG] drbdmanage 0.98 :: cannot add nodes

Toni Bolduan toni.bolduan at googlemail.com
Sat Oct 29 20:55:45 CEST 2016

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


Hi list,

Today I've updated to drbdmanage 0.98 on my 2 ubuntu server nodes.
After setting up the volume group on both nodes I started and the
initialization on node 1. That worked fine.


Then I tried to add the second node to my cluster with "drbdmanage add-node
node2 10.0.0.12" and drbdmanage get stuck after confirmation.

On the second node dmesg shows the following:


[...]
[ 1103.413457] drbd .drbdctrl: Terminating worker thread
[ 1386.430669] drbd .drbdctrl: Starting worker thread (from drbdsetup
[2142])
[ 1386.437482] drbd .drbdctrl node1: Starting sender thread (from drbdsetup
[2155])
[ 1386.445330] drbd .drbdctrl/0 drbd0: disk( Diskless -> Attaching )
[ 1386.445340] drbd .drbdctrl/0 drbd0: Maximum number of peer devices = 31
[ 1386.445425] drbd .drbdctrl: Method to ensure write ordering: flush
[ 1386.445427] drbd .drbdctrl/0 drbd0 node1: node_id: 0 idx: 0 bm-uuid: 0x0
flags: 0x10 max_size: 0 (DUnknown)
[ 1386.445428] drbd .drbdctrl/0 drbd0: my node_id: 1
[ 1386.445433] drbd .drbdctrl/0 drbd0 node1: node_id: 0 idx: 0 bm-uuid: 0x0
flags: 0x10 max_size: 0 (DUnknown)
[ 1386.445434] drbd .drbdctrl/0 drbd0: my node_id: 1
[ 1386.445435] drbd .drbdctrl/0 drbd0: drbd_bm_resize called with capacity
== 8112
[ 1386.445441] drbd .drbdctrl/0 drbd0: resync bitmap: bits=1014 words=496
pages=1
[ 1386.445442] drbd .drbdctrl/0 drbd0: size = 4056 KB (4056 KB)
[ 1386.446431] drbd .drbdctrl/0 drbd0: recounting of set bits took
additional 0ms
[ 1386.446440] drbd .drbdctrl/0 drbd0: disk( Attaching -> Outdated )
[ 1386.446443] drbd .drbdctrl/0 drbd0: attached to current UUID:
120FE59FE04690DE
[ 1411.289042] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1411.289066] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1434.136862] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1434.136884] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1461.408584] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1461.408606] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1483.970886] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1483.970909] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1504.158408] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1504.158431] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1527.479232] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1527.479254] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1549.449977] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1549.449999] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1570.909686] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1570.909709] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1597.309820] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1597.309843] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1620.234678] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1620.234733] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1642.122887] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1642.122909] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1665.516233] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1665.516256] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1686.519812] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1686.519835] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1711.879702] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1711.879724] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1734.505502] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1734.505524] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1754.495728] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1754.495752] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1777.315153] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1777.315176] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1800.333431] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1800.333454] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1826.508508] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1826.508532] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1852.101997] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1852.102020] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1875.050573] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1875.050596] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1894.245084] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1894.245106] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1917.242144] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1917.242167] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1942.439012] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1942.439035] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1967.712966] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1967.712988] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 1990.539970] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 1990.539993] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 2011.062156] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 2011.062178] drbd .drbdctrl: Failed: role( Secondary -> Primary )
[ 2033.117680] drbd .drbdctrl: State change failed: Need access to UpToDate
data
[ 2033.117704] drbd .drbdctrl: Failed: role( Secondary -> Primary )

How can I figure what happened here and why?


Best Regards,

Toni
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20161029/6ea6ce04/attachment.htm>


More information about the drbd-user mailing list