Your message dated Sat, 28 Jan 2023 12:22:48 +0000
with message-id <[email protected]>
and subject line Bug#1029768: fixed in fence-agents 4.12.1-1
has caused the Debian Bug report #1029768,
regarding fence-agents: Broken python library due to incomplete
--plug-separator support
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.)
--
1029768: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029768
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fence-agents
Version: 4.12.0-1
Severity: important
Hi,
the 4.12.0 release includes a broken python library,
caused by an incomplete change in PR
https://github.com/ClusterLabs/fence-agents/pull/514
This causes major problems for any fence users of the python library,
due to:
| def fence_action(connection, options, set_power_fn, get_power_fn,
get_outlet_list=None, reboot_cycle_fn=None, sync_set_power_fn=None):
| result = 0
|
| try:
| if "--plug" in options:
| options["--plugs"] =
options["--plug"].split(options["--plug-separator"])
… resulting in:
| pacemaker-fenced [39541] (log_op_output) […] error output [ Traceback
(most recent call last): ]
| pacemaker-fenced [39541] (log_op_output) […] error output [ File
"/usr/sbin/fence_ngcp", line 56, in <module> ]
| pacemaker-fenced [39541] (log_op_output) […] error output [ main()
]
| pacemaker-fenced [39541] (log_op_output) […] error output [ File
"/usr/sbin/fence_ngcp", line 49, in main ]
| pacemaker-fenced [39541] (log_op_output) […] error output [ result
= fence_action( ]
| pacemaker-fenced [39541] (log_op_output) […] error output [ File
"/usr/share/fence/fencing.py", line 944, in fence_action ]
| pacemaker-fenced [39541] (log_op_output) […] error output [
options["--plugs"] = options["--plug"].split(options["--plug-separator"]) ]
| pacemaker-fenced [39541] (log_op_output) […] error output [ KeyError:
'--plug-separator' ]
The new v4.12.1 release includes the corresponding fix for this:
| commit 0f280ea4a299037a7d4e99d80b0193fd6fcdbd79
| Author: Oyvind Albrigtsen <[email protected]>
| Date: Tue Jan 24 12:19:41 2023 +0100
|
| fencing: add plug_separator to default DEPENDENCY_OPT
|
| diff --git lib/fencing.py.py lib/fencing.py.py
| index cf1c48e7..c5b5e94a 100644
| --- lib/fencing.py.py
| +++ lib/fencing.py.py
| @@ -494,7 +494,7 @@ DEPENDENCY_OPT = {
| "version", "action",
"agent", "power_timeout",
| "shell_timeout",
"login_timeout", "disable_timeout",
| "power_wait",
"stonith_status_sleep", "retry_on", "delay",
| - "quiet"],
| + "plug_separator", "quiet"],
| "passwd" : ["passwd_script"],
| "sudo" : ["sudo_path"],
| "secure" : ["identity_file", "ssh_options",
"ssh_path", "inet4_only", "inet6_only"],
| [...]
Please let's make sure that v4.12.1 ends up in bookworm. :)
regards
-mika-
--- End Message ---
--- Begin Message ---
Source: fence-agents
Source-Version: 4.12.1-1
Done: Valentin Vidic <[email protected]>
We believe that the bug you reported is fixed in the latest version of
fence-agents, 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.
Valentin Vidic <[email protected]> (supplier of updated fence-agents 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: Sat, 28 Jan 2023 09:06:44 +0100
Source: fence-agents
Architecture: source
Version: 4.12.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian HA Maintainers
<[email protected]>
Changed-By: Valentin Vidic <[email protected]>
Closes: 1029768
Changes:
fence-agents (4.12.1-1) unstable; urgency=medium
.
* New upstream version 4.12.1 (Closes: #1029768)
Checksums-Sha1:
245c271d780b3ff5db243f6e0ee2ce31f25e9c6f 2649 fence-agents_4.12.1-1.dsc
62d6a4bbe6cb4b490154f7f47c8975aa97bbbe0b 475073 fence-agents_4.12.1.orig.tar.gz
c9e1ae0a27f8cd84f366a985e4819e6b56da4651 11452
fence-agents_4.12.1-1.debian.tar.xz
57c42874f8ff3b487d9607002fe04364eee65b29 9569
fence-agents_4.12.1-1_source.buildinfo
Checksums-Sha256:
9d720aa31b708e64d0885dcd55f32a2cb12766cd54af1b53cc99a6806a17886f 2649
fence-agents_4.12.1-1.dsc
a30349759931bc19eed100225615215b9c26e005cefa394993b5cbee13b72145 475073
fence-agents_4.12.1.orig.tar.gz
6d9e124e19dfc74d417db7d63ef8c67d70705476d0406b8d0b741b8a1a63dd40 11452
fence-agents_4.12.1-1.debian.tar.xz
bd35d52c6b4f9d40e055f57ea6d165d2de5777ce868b01c25728e28ba25f06c1 9569
fence-agents_4.12.1-1_source.buildinfo
Files:
0ef79728e9aa220a025e68d789ae8185 2649 admin optional fence-agents_4.12.1-1.dsc
f7005de5c4ce356bcaae23ee19529115 475073 admin optional
fence-agents_4.12.1.orig.tar.gz
3af55aa804656e167c8628528b7a7c84 11452 admin optional
fence-agents_4.12.1-1.debian.tar.xz
98da9fb13e15435579dc2a27504fe05b 9569 admin optional
fence-agents_4.12.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEExaW53cM9k/u2PWfIMofYmpfNqHsFAmPVAPYSHHZ2aWRpY0Bk
ZWJpYW4ub3JnAAoJEDKH2JqXzah7MtcP/ROPTEvnNvxYsmEpEYmB/UDkjX8NBXfu
qKEZQMChx+vMM9ZFiE8viwLfACVdL8Oxqi3IUrYsL4SapctPBK44o7wg4WnsbUnB
fEE+6MjrENEScAkW5vt60x3Wmfp+xzGY2PC4k4CsFPp1YadqOsuAJeMcwtJ384Zf
XiHJ30Y8vDtKs41eZJDweNjHgh3ClrcKKRPPdSPNvU3M3GnKqq4KdGr6AK8MF4eh
8D/K4UBqIq0VLAg2kuFaAzMeKlwWmL5tWWPISt95ht4LZ0+HPKnyggH9Ubo2MRjM
9Ppl1uKZNWHnwd62O5rhAtPRGMjyl/zeoOXUynwd9Vx7LziPjyAM7JomPUOXrLrR
sHzKwmqdg6utPRF8qCiK1H3fTfpwtUdgZZTIHfnK7x8Y/wWSjUX+A5ALzTMlDTYT
2p6BHu4O5nis/SPnK5JvJe8X4qWFIMt4YiqoouD6gMm0gHlAlEkm2gPMYxLUzc2O
IbYop3KzVLtkpmfEfFqfNavl8XnXR5X0TF07kQxchRLUy2KOrutzCMvrpIMhwxDk
TFr723C4/DIf3wIdm+DRzPUaAq2adt97aw9C/RJ6vEP9vyAWrE/2a+qDyXUdQ9pD
RXtc3uyTQy9Mbx8A9qQreAQTQVEhpiQLrPubsRho1MkKfrg1HLS+XybP3ObqD4Qm
oTudtZxWGa9f
=CE2Y
-----END PGP SIGNATURE-----
--- End Message ---