Your message dated Thu, 03 Aug 2017 13:04:43 +0000
with message-id <[email protected]>
and subject line Bug#854276: fixed in resource-agents 1:4.0.1-1
has caused the Debian Bug report #854276,
regarding resource-agents: Broken XEN toolstack detection in agent 'Xen'
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.)
--
854276: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854276
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: resource-agents
Version: 1:3.9.7-1~bpo8+1
Severity: normal
Tags: upstream patch
The 'Xen' agent /usr/lib/ocf/resource.d/heartbeat/Xen attempts to detect if the
'xm' toolset is being used
instead of the newer 'xl', but it doesn't work. Simply because 'xl' command
exists, doesn't mean it actually works.
On my system, it exits with "ERROR: A different toolstack (xm) have been
selected!".
This completely breaks the resource agent when 'xm' is being used. Here's a
workin, though not very pretty, way to detect it:
--- Xen.orig 2017-02-05 19:11:03.802980009 +0200
+++ Xen 2017-02-05 19:16:54.558646403 +0200
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
#
#
# Support: [email protected]
@@ -45,7 +45,7 @@
: ${OCF_RESKEY_reserved_Dom0_memory=512}
# prefer xl
-xentool=$(which xl 2> /dev/null || which xm)
+xentool=$(((xl |& grep -q -v "ERROR") && which xl 2> /dev/null)|| which xm)
meta_data() {
cat <<END
-- System Information:
Debian Release: 8.7
APT prefers stable
APT policy: (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages resource-agents depends on:
ii cluster-glue 1.0.12~rc1+hg2777-1.2
ii libc6 2.21-6
ii libglib2.0-0 2.48.0-1~bpo8+1
ii libnet1 1.1.6+dfsg-3
ii libplumb2 1.0.12~rc1+hg2777-1.2
ii libplumbgpl2 1.0.12~rc1+hg2777-1.2
ii python 2.7.9-1
resource-agents recommends no packages.
resource-agents suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: resource-agents
Source-Version: 1:4.0.1-1
We believe that the bug you reported is fixed in the latest version of
resource-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 resource-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: Thu, 03 Aug 2017 13:47:13 +0200
Source: resource-agents
Binary: resource-agents ldirectord
Architecture: source
Version: 1:4.0.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian HA Maintainers
<[email protected]>
Changed-By: Valentin Vidic <[email protected]>
Description:
ldirectord - Monitors virtual services provided by LVS
resource-agents - Cluster Resource Agents
Closes: 854276
Changes:
resource-agents (1:4.0.1-1) unstable; urgency=medium
.
* New upstream release
* Remove patches applied upstream
* Xen: use the toolstack selected in /etc/default/xen (Closes: #854276)
* debian/patches: make .gitignore work with quilt
* debian/control: update Standards-Version to 4.0.0
* debian/control: use debhelper v10
Checksums-Sha1:
b7c8c2d1939e3a3b8dac89a22961cafc2093f063 2726 resource-agents_4.0.1-1.dsc
453e3e4624ae96a886bdf8b5730295a9274d66fe 659123
resource-agents_4.0.1.orig.tar.gz
fd9770312b905cc66bf3b40d5406f65009f49f5a 18948
resource-agents_4.0.1-1.debian.tar.xz
e6205c79e74dd882f69e3c1cc56bb27e59fbbedb 8376
resource-agents_4.0.1-1_source.buildinfo
Checksums-Sha256:
d5ff2fe4234c28700236c2caea89c9b19aa2546e11dcd26f981d70629c72ed8a 2726
resource-agents_4.0.1-1.dsc
863f83c724bad3a8bcff12b9c8712406c43e010041868826cad7b78fd8cfb9fb 659123
resource-agents_4.0.1.orig.tar.gz
ffe66aa5fff7c47d7151a36bdb1059f1d36f40413b0e19ec51854e75b86f623a 18948
resource-agents_4.0.1-1.debian.tar.xz
aaa0534dbbcc361c398111339817bacf46f6317e9be368811a29504818de570f 8376
resource-agents_4.0.1-1_source.buildinfo
Files:
d6f53057f0519f0c4079ae00e1074bfe 2726 admin optional
resource-agents_4.0.1-1.dsc
8530431861e659d4ce2f04afcc4efc03 659123 admin optional
resource-agents_4.0.1.orig.tar.gz
251f7b28e453cfb1c270e098e9f694f9 18948 admin optional
resource-agents_4.0.1-1.debian.tar.xz
5de67b50112cf8599b8026cec0aae81e 8376 admin optional
resource-agents_4.0.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJNBAEBCgA3FiEExaW53cM9k/u2PWfIMofYmpfNqHsFAlmDGGUZHHZhbGVudGlu
LnZpZGljQGNhcm5ldC5ocgAKCRAyh9ial82oe1dsD/47eScRUBXrF+HaZ2D1GkFZ
yu0EKP9C/yeO8jI/1sytUEUmqBIkERqro1lWwC5kl6Uf6Beg4grMCYAVkzXXn8Tp
gzA8t8ehkCfY1X9kXNNo0f2BgzRu1yJ8AyQc186OCBl1cxvzl5n9j4628w2+GStx
P8d/mWYVFdBo9XjvJDSBnyJgmNJXn+quoTBnirZQgJPtN7d6mNfzkXVlepLivh1J
eI1LLgUhxtPOTWlS8BI9DEqxYwBj3fCSACNSwHTPv5SjS9NzTrbBCWOkwQ22IvFH
xpTWdr82mGGxyssV2BvKiiB4CAokWfwSjRML5IKhQr4AsETELOykiTZ6XLxTv+aZ
KYqWoZeE/NzJMRQAVylGrma6yDzN2jINhPUUEJo9k4fTswl2rHash1bJb8dYlIWB
aNFnVBpLFhM4pmZvbLRRcMBW/j9bwMQkfpkxvcaAiZGFyvhfRgE3WVVb6OaikbF0
6nATsmiBDNTMRzhILtjkoWYX3rkEVDTIObxUfE+axUZoKc4EtaNxPI2f7dqRrs05
QfREv2YN5SsaSKGpnc1G0a5hCoPbwVwwR5SKWroBjAanoHdG1ZACY2CDHCwVs1AV
7mPXMOSBOgvHfzYgqWCfUatj9BVgMYVUHpqstJVLj+p45BrbNjTrqcrbc82L6mD2
ieChmAKJBEhkIALKbZL/Ow==
=4zMn
-----END PGP SIGNATURE-----
--- End Message ---