Your message dated Sun, 07 Jul 2024 19:51:24 +0000
with message-id <[email protected]>
and subject line Bug#1073592: fixed in pacemaker 2.1.8~rc3-1
has caused the Debian Bug report #1073592,
regarding pacemaker: Incorrect non-spacing of attrd_updater output
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1073592: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1073592
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pacemaker
Version: 2.1.8~rc-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I'm running a pacemaker cluster on several Debian trixie hosts, including 4
postgresql instances managed by pgsqlms (a resource agent from the
resource-agents-paf package) and running on guest nodes.
Pacemaker and pacemaker-remote are all version 2.1.8~rc1-1 and
resource-agents-paf is 2.3.0-2.

When I recently upgraded the nodes, including guest nodes, to 2.1.8~rc1-1, I
found
that pacemaker would still start up the pgsqlms resources in standby mode as
expected, but would no longer promote one into master mode, which it should do
automatically. The pgsqlms pre promote notify operation would print
a message of the form "INFO: Current node TL#LSN: 1#721420288" to the pacemaker
logs which is normally done along with successfully setting the attribute.
However the notify would then timeout rather than succeed, and the
subsequent attempted promotion would log "Can not find LSN Location".

Investigating, I found that the _get_priv_attr function on line 298 of pgsqlms
uses the regular expression

$ans =~ m/^name=".*" host=".*" value="(.*)"$/;

to extract the value of an attribute from attrd_updater's output. This regex
expects that the name, host, and value components of the output will be space
separated. However, when I manually performed a similar attrd_updater query,
I got output of the form

name="lsn_location-pgtest"host="pgtest"value=""

which is not space-separated.

I believe the promotion failure was because although attribute setting was in
fact
successful, the pgsqlms resource agent was failing to extract the attribute
value since attrd_updater was responding in an unexpected format.

I've checked pacemaker's upstream source code, and it seems that the lack of
spacing is an anomaly specific to 2.1.8-rc1; the spaces come back in 2.1.8-rc2.
I think the responsible function in pacemaker's source code is
"attribute_default",
in the file lib/pacemaker/pcmk_output.c


-- System Information:
Debian Release: trixie/sid
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.8.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_AU.UTF8, LC_CTYPE=en_AU.UTF8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages resource-agents-paf depends on:
pn  corosync                                <none>
pn  pacemaker | pacemaker-remote            <none>
ii  perl                                    5.38.2-5
pn  resource-agents                         <none>
pn  resource-agents | resource-agents-base  <none>

resource-agents-paf recommends no packages.

resource-agents-paf suggests no packages.

--- End Message ---
--- Begin Message ---
Source: pacemaker
Source-Version: 2.1.8~rc3-1
Done: Ferenc Wágner <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pacemaker, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ferenc Wágner <[email protected]> (supplier of updated pacemaker package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 07 Jul 2024 17:58:01 +0200
Source: pacemaker
Architecture: source
Version: 2.1.8~rc3-1
Distribution: unstable
Urgency: medium
Maintainer: Debian HA Maintainers 
<[email protected]>
Changed-By: Ferenc Wágner <[email protected]>
Closes: 1073592
Changes:
 pacemaker (2.1.8~rc3-1) unstable; urgency=medium
 .
   * [13118a0] New upstream pre-release (2.1.8~rc1) (Closes: #1073592)
   * [627228b] Refresh our patches
Checksums-Sha1:
 5256673422fe0ea7028f57fb269ce3026cae3c30 3657 pacemaker_2.1.8~rc3-1.dsc
 c82777e50bf7f643b9c9b3aa6141027bc5e0150b 6207531 
pacemaker_2.1.8~rc3.orig.tar.gz
 25d2943d8fffe1dd530f3214e29ba89e87c7369f 52076 
pacemaker_2.1.8~rc3-1.debian.tar.xz
 41c7a929b5895e3199e5b3c87dc0fb8fce40504f 25107 
pacemaker_2.1.8~rc3-1_amd64.buildinfo
Checksums-Sha256:
 22ccb12e4e570247050934857a271589a4b456907a8d42040f3e6d50649eac66 3657 
pacemaker_2.1.8~rc3-1.dsc
 d30c932feda54cd1060dc424cbc874013b349ad94c73a68ddf7931b7d582d525 6207531 
pacemaker_2.1.8~rc3.orig.tar.gz
 af0e7c35ac7a9f42e08c64f6dba8a6107b931224dacd54cd749ae6a663444c08 52076 
pacemaker_2.1.8~rc3-1.debian.tar.xz
 849b284f0ef4ab68ecbd8c48755e43beb762524762cf59b58f6be65cf88be24c 25107 
pacemaker_2.1.8~rc3-1_amd64.buildinfo
Files:
 8626609cff96e85b9a0575ef46f83aab 3657 admin optional pacemaker_2.1.8~rc3-1.dsc
 ebd2fa72d6323cef3c0f066bdf74c148 6207531 admin optional 
pacemaker_2.1.8~rc3.orig.tar.gz
 d0dcc37456fb55dbfcdcf54b27ec98e2 52076 admin optional 
pacemaker_2.1.8~rc3-1.debian.tar.xz
 67d5cf27ed4ed028701c3eb81bd6a229 25107 admin optional 
pacemaker_2.1.8~rc3-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEwddEx0RNIUL7eugtOsj3Fkd+2yMFAmaK7gAACgkQOsj3Fkd+
2yMm3w//SaMS2PAJBEi6sfSBNLm/sdjAi5qaXALLbdcwn8vmg6GIwECGq6ErmtrT
Jb8Ehz98Y7WeDSn6Uwwgb4RBn02Qd+yDeELT/E96rU92w2b/Vmb1FaaOPJBLoNbA
4vzEpnLyGYB4ubrUQJQnHqBGB/6FcZLSv9tM7Jl6/SZrSg/2ubAcxfytgY+aD5mK
yiZgk7ljj184tPYTBhXnto1l1NA5Jtt75r77W5znGjkNo3SM9Z1Y+AZ2t2ru6QTS
R2dn8qyRpY7ezXCNvcYxnpZ8cV2QmkMoziNZVxT4F/QYWPLWtyEwRkUOdc+k684q
/54ArP8AuVOcmF9IGH0/1qy/ht4YyHO1KC3f+AFXjQtO6cYPh23skJDp621bWyUY
qP+MXn2KZj5+fWq90b/gu2987hbbBGZXGOsltKx3HOmuwowhuBvOxueksKZiEZf1
Y2yvUb64eON4QwlSVBNYxogY5rUH1P8XUAh8bbxRmNhymuUpcCrtkXD4MRBliXZy
xMhWj6femU7Eb0LpnwLkN1ksNUOMf+FN9yDiAJ8ymD/kUFjnpUEyqdXHP8sQya4P
yeuqRAQT3wKaMlrb8y+cock/f5wKm/Oq3tKqTNbgSl/Sj1XzR07XHjLPVgwvnnoQ
f0sVNptvXPUVOcEwZ/jEwWTi4/T1FG7BhCT5uwUNwl9lBNPyaCs=
=HzzC
-----END PGP SIGNATURE-----

Attachment: pgpd2L1joeZDR.pgp
Description: PGP signature


--- End Message ---

Reply via email to