All of lore.kernel.org
 help / color / mirror / Atom feed
* [DRBD-announce] drbd-utils v9.20.2
@ 2022-01-31  7:43 Roland Kammerer
  0 siblings, 0 replies; only message in thread
From: Roland Kammerer @ 2022-01-31  7:43 UTC (permalink / raw)
  To: drbd-announce, drbd-user

[-- Attachment #1: Type: text/plain, Size: 1502 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-31  7:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-31  7:43 [DRBD-announce] drbd-utils v9.20.2 Roland Kammerer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.