[DRBD-user] drbd-utils v9.20.2

Roland Kammerer roland.kammerer at linbit.com
Mon Jan 31 08:43:56 CET 2022


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20220131/c1c4a43e/attachment.pgp>


More information about the drbd-user mailing list