Package: ansible
Version: 7.7.0+dfsg-3
Severity: important
X-Debbugs-Cc: [email protected]
Control: tags -1 + bookworm patch fixed-upstream

The community.docker collection of the bin:ansible package embeds
a courtesy copy of docker-py.

The module fails to connect to servers when the managed node has
a python3-requests version of 1.32 or up (such as trixie).

{"changed": false, "msg": "Error connecting: Error while fetching server API 
version: Not supported URL scheme http+docker"}

This is https://github.com/docker/docker-py/pull/3257 which also
contains a fix that needs to be applied to ansible in, at least,
oldstable (didn’t check stable), to be able to manage trixie hosts.

The fix is two lines plus a comment.


(installed is 7.7.0+dfsg-3+deb12u1 but I dropped the + to not
confuse bts version tracking)

-- System Information:
Debian Release: 12.12
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 
'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-39-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=UTF-8) (ignored: LC_ALL set to C.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 ansible depends on:
ii  ansible-core       2.14.18-0+deb12u2
ii  openssh-client     1:9.2p1-2+deb12u7
ii  python3            3.11.2-1+b1
ii  python3-distutils  3.11.2-3
ii  python3-dnspython  2.3.0-1
ii  python3-httplib2   0.20.4-3
ii  python3-jinja2     3.1.2-1+deb12u3
ii  python3-netaddr    0.8.0-2
ii  python3-yaml       6.0-3+b2

Versions of packages ansible recommends:
ii  python3-argcomplete   2.0.0-1
ii  python3-cryptography  38.0.4-3+deb12u1
ii  python3-jmespath      1.0.1-1
ii  python3-kerberos      1.1.14-3.1+b7
ii  python3-libcloud      3.4.1-5
ii  python3-selinux       3.4-1+b6
ii  python3-winrm         0.3.0-4+deb12u1
ii  python3-xmltodict     0.13.0-1

Versions of packages ansible suggests:
pn  cowsay   <none>
ii  sshpass  1.09-1+b1

-- no debconf information

Reply via email to