All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roland Kammerer <roland.kammerer@linbit.com>
To: drbd-announce@lists.linbit.com, drbd-user@lists.linbit.com
Subject: [DRBD-announce] drbd-utils v9.20.2
Date: Mon, 31 Jan 2022 08:43:56 +0100	[thread overview]
Message-ID: <YfeTPJd2RHKE9kZk@rck.sh> (raw)

[-- 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 --]

                 reply	other threads:[~2022-01-31  7:43 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YfeTPJd2RHKE9kZk@rck.sh \
    --to=roland.kammerer@linbit.com \
    --cc=drbd-announce@lists.linbit.com \
    --cc=drbd-user@lists.linbit.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.