Your message dated Tue, 23 Mar 2021 20:48:26 +0000
with message-id <[email protected]>
and subject line Bug#983140: fixed in ansible-base 2.10.5+dfsg-2
has caused the Debian Bug report #983140,
regarding ansible: Does not detect correct python interpreter on bullseye target
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.)
--
983140: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983140
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ansible
Version: 2.9.16+dfsg-1.1
Severity: important
I set up a fresh bullseye host (upgraded from a base buster
installation) and it has python3.7 and python3.9 installed. I think that
python3.7 is left over from buster and should probably be removed from
the host (apt-get autoremove does so). However, I expect this is a common
scenario after an upgrade.
if I run my base playbook in check mode it tells me to install
python3-apt, but that is already installed on the target. The reason is
that python3-apt in bullseye only provides the module for python3.9,
but ansible tries to run python3.7.
The following patch fixes this:
--- /usr/lib/python3/dist-packages/ansible/config/base.yml.bak 2021-02-19
22:34:00.363529032 +0000
+++ /usr/lib/python3/dist-packages/ansible/config/base.yml 2021-02-19
22:34:08.987398189 +0000
@@ -1462,6 +1462,7 @@
name: Ordered list of Python interpreters to check for in discovery
default:
- /usr/bin/python
+ - python3.9
- python3.7
- python3.6
- python3.5
Something similar is available upstream:
<https://github.com/ansible/ansible/commit/c986cbb9961bfaedf1a6ae7f0c2e34be26d9ab12>
Please consider applying this fix in the version of ansible shipped
with bullseye so that bullseye hosts can manage bullseye hosts out of the
box.
(I'd also suggest moving /usr/bin/python3 up that list so that this
doesn't recur for future python 3 releases.)
-- System Information:
Debian Release: bullseye/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-3-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ansible depends on:
ii openssh-client 1:8.4p1-3
ii python3 3.9.1-1
ii python3-cryptography 3.3.1-1
ii python3-distutils 3.9.1-2
ii python3-dnspython 2.0.0-1
ii python3-httplib2 0.18.1-3
ii python3-jinja2 2.11.2-1
ii python3-netaddr 0.7.19-4
ii python3-paramiko 2.7.2-1
ii python3-yaml 5.3.1-3+b1
Versions of packages ansible recommends:
pn python3-argcomplete <none>
pn python3-jmespath <none>
pn python3-kerberos <none>
pn python3-libcloud <none>
pn python3-selinux <none>
pn python3-winrm <none>
pn python3-xmltodict <none>
Versions of packages ansible suggests:
pn cowsay <none>
ii sshpass 1.09-1+b1
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: ansible-base
Source-Version: 2.10.5+dfsg-2
Done: Lee Garrett <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ansible-base, 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.
Lee Garrett <[email protected]> (supplier of updated ansible-base 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: Mon, 22 Mar 2021 22:41:46 +0100
Source: ansible-base
Architecture: source
Version: 2.10.5+dfsg-2
Distribution: experimental
Urgency: medium
Maintainer: Lee Garrett <[email protected]>
Changed-By: Lee Garrett <[email protected]>
Closes: 983140
Changes:
ansible-base (2.10.5+dfsg-2) experimental; urgency=medium
.
* Enable autopkgtests.
* Fix python interpreter detection (Closes: #983140)
Checksums-Sha1:
73c4947add909ab40eaa3938d31c8c594c31666f 3026 ansible-base_2.10.5+dfsg-2.dsc
4b1619a6bcf04502b1d3cbfd217a98d150bae1c9 20432
ansible-base_2.10.5+dfsg-2.debian.tar.xz
0f8971f7fabe125d8bb6424cbf924fa26158d38b 7497
ansible-base_2.10.5+dfsg-2_amd64.buildinfo
Checksums-Sha256:
66be8f8597b67fd25889ab7a69b2065db1334f4662c539c4143d65dfb6488f17 3026
ansible-base_2.10.5+dfsg-2.dsc
0608d31840a835ee63426f8aa2fbfe6b7c8f3da2a868643098804dcb080d75fa 20432
ansible-base_2.10.5+dfsg-2.debian.tar.xz
27c092e48ae5ddb6eb61e84cb27cdca4603a4f37a10a3a045fb358379e5b2ea1 7497
ansible-base_2.10.5+dfsg-2_amd64.buildinfo
Files:
38ed740e1f9bbc16040b3506b69ce59c 3026 admin optional
ansible-base_2.10.5+dfsg-2.dsc
eb8f03c48fd8313139129c387fd5f2cc 20432 admin optional
ansible-base_2.10.5+dfsg-2.debian.tar.xz
cc60c0f8c631903df87723ceba83b64a 7497 admin optional
ansible-base_2.10.5+dfsg-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQQzBAEBCgAdFiEE2EfGJRCpwv8kLOAs1gShxII+4PgFAmBaUUYACgkQ1gShxII+
4Pjk+R//eFPaf9wqOoxdZjWEfUCDppcWFdAIO2FQD0CaNYeEJ2JYJPDtldCnUedf
xjEFvvy9IqzbAOLqqy8WaG/lLZzVbglcDx2w5/9plKDYNbFB+uW/KrJ3cUpRuXiq
u+Jsmh6g5U5bdtMvgiZBRmdW8Ugn8agFDVxtz7SXdLdo5y+zvAB12Fei5YHwPgGq
MfLzlAGUaRiiM3NM6/UXqjyTb2JS7ZbaxbEqaCtp3B+uFDcDShOUc/lJhl48Wd7L
cdss1SN1t6dT5nPxPpf+0NxC8B4rkViFqKhlvOlhWEJKR5ZCHXEiI1hjF1oPO5ZS
NesY2PWT8950f4KJXtqyTXUh7DYeU1PXWEJHYT69F339maHuFU2AU1onTblUYx0Q
COs2g3MChu8OPI4MZJLyjdbDoA4oH72572oMIGhvqWSr1OrEGAU2Sb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