[DRBD-announce] drbd-utils v9.20.2

Roland Kammerer <[email protected]> Mon, 31 Jan 2022 08:43:56 +0100
Newsgroups dev.linux.lists.drbd-announce
Message-ID <[email protected]>
Dear DRBD users,

this is drbd-utils v9.20.2. It it is a minor bugfix release for
Pacemaker/crm-fence-peer users. If you don't use Pacemaker, or you have
a Pacemaker version that works with 9.20.1, you don't need to upgrade.

As this is a single commit bugfix release let's just quote Lars:

> crm-fence-peer: fix timeout with Pacemaker 2.0.5: milli seconds vs seconds
>
> Addendum to 8a28be74bc6efa93931c957e54c01abb18b984fe
> Commit message of the above cited here:
> 
> > crmadmin timeout was in milli seconds for <= 2.0.x,
> > but became a TIMESPEC with default seconds in >= 2.1.
> >
> > Up to 2.0.4, atoi() was used, which effectively ignores "trailing garbage",
> > so we could get away with always appending "ms".
> > But with 2.0.5, it became g_option_context_parse G_OPTION_ARG_INT, which
> > "Cannot parse integer value “200ms” for --timeout" :-|
> >
> > So grep the help message for "timeout.*milliseconds",
> > and if not present, append an explicit "ms" unit.
> 
> And this is where I got it wrong :-(
> somewhere later they re-organised the help text
> so now I would need to parse --help-all.
> 
> Instead try to actually call "crmadmin -t 100ms --version".
> If that works, it apparently understands (or ignores)
> the "ms" unit.

Regards, rck

GIT: https://github.com/LINBIT/drbd-utils/tree/9.20.2
TGZ: https://pkg.linbit.com//downloads/drbd/utils/drbd-utils-9.20.2.tar.gz
PPA: https://launchpad.net/~linbit/+archive/ubuntu/linbit-drbd9-stack
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEdesqw/S/2vE9wNKDRgmezyI6myIFAmH3kzgACgkQRgmezyI6
myIYpAf9ErvLrhE4+BOg6j/aRmoxlmLjyvdVgwcpRAkcj6X6CiUEBI3GU78KbqlS
w4abSrBzs8SJom1pCYM5cN+zdSsnMWLKMZVj9lN2scSVpwWomW/zrEdpsMDqQnW3
JhAyvg7BbShq/MBivqFE31bbvB0KbDQCZu7R+etfiwVxZyfbROZwE0bcaWxSpyo/
ExuWkXBEhEx+AxwgycFcHNzmn05iaedmejukoUv++MEj4DbKRTFNHBNYyqiaGN+i
KxywV56TBc0wYbmy6JiKaJ1/aylxEy/NBK43z22g/bZWQMIYiiXatrwFNu5iJ1v4
oESXVRdNK0uqUFUcIPp9E5vyiJ3TdQ==
=ZAAF
-----END PGP SIGNATURE-----