Open
Description
Describe the bug
Since the latest update to some Python packages it is not possible anymore to access the Docker API via unix://var/run/docker.sock
. All connection attempts fail with Not supported URL scheme http+docker
universally on all Photon OS servers. This entirely breaks monitoring with all Python based monitoring solutions (like Check_MK) and likely much more.
The bug is in one of those packages:
python3-jinja2-3.1.2-5.ph5.noarch
python3-requests-2.28.1-6.ph5.noarch
python3-xml-3.11.9-7.ph5.x86_64
python3-libs-3.11.9-7.ph5.x86_64
python3-3.11.9-7.ph5.x86_64
expat-2.6.0-6.ph5.x86_64
expat-libs-2.6.0-6.ph5.x86_64
Reproduction steps
- run Photon OS with all updates installed
- enable and start Docker
- install package
python3-pip
- run
pip install docker==7.0.0
(with latest version 7.1.0 the library is broken as well) - run this script: https://gist.github.com/felixlabrot/c96a6d2018b7ee7dcb004a032f5c323a
Expected behavior
It should be possible to connect to the Docker API like it was before.
Additional context
No response