Created attachment 402780 [details, diff] Patch against the init.d script that solved the problem for me The DRBD init script does not work with IPv6 addresses, because the square bracket used to separate IPv6 addresses from ports is fed into the shell command to execute in quoted form (as seen below). -----8<----- dirk@xen-host ~ $ sudo /etc/init.d/drbd restart DRBD module version: 8.4.5 userland version: 8.4.3 you should upgrade your drbd tools! * Starting DRBD resources: * Setting drbd parameters DRBD module version: 8.4.5 userland version: 8.4.3 you should upgrade your drbd tools! [ echo -n .. interpreting ipv6:\[fe80::be5f:f4ff:fe0d:34e\]:1234 as ipv6:[\[fe80::be5f:f4ff:fe0d:34e\]]:1234 getaddrinfo \[fe80::be5f:f4ff:fe0d:34e\]: Name or service not known * cmd /sbin/drbdsetup connect amristar ipv6:\[fe80::be5f:f4ff:fe0d:34e\]:1234 ipv6:\[fe80::6203:8ff:fe8e:c09e\]:1234 --csums-alg=sha256 --data-integrity-alg=sha256 --shared-secret=secret --cram-hmac-alg=sha256 --verify-alg=sha256 --protocol=A failed! [ !! ] * ERROR: drbd failed to start -----8<----- It can be fixed by modifying the init.d script using the patch supplied.
Created attachment 402782 [details, diff] Patch against the init.d script that solved the problem for me
I've been using this since I posted it and it has been working like a charm. :-)
InGit, because infra needed it :-)