Closed Tangresh closed 1 year ago
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey. Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. If you have additional questions, email us at saltproject@vmware.com. We’re glad you’ve joined our community and look forward to doing awesome things with you!
https://github.com/docker/docker-py/issues/3113
This is an issue with the docker
library, not Salt.
I had the impression that docker-py was shipped with Salt, since /opt/saltstack/salt/salt-pip list
printed a version for the docker
package. Apparently that is not the case and I don't understand how docker-pip works.
The problem can be avoided by just installing a newer version of docker-py.
Description The docker_container and docker_network state modules encounter an exception in the HTTP library code:
Setup
Ubuntu 22.04 VM in Virtualbox, setup with Vagrant Salt version 3006.4 installed through official Repo
Steps to Reproduce the behavior
Docker version 24.0.7 is installed through their official package repo. The state is executed through
salt-call state.apply
Expected behavior Docker network should be present. No python exceptions.
Versions Report
salt-call --versions-report
```yaml Salt Version: Salt: 3006.4 Python Version: Python: 3.10.13 (main, Oct 4 2023, 21:54:22) [GCC 11.2.0] Dependency Versions: cffi: 1.14.6 cherrypy: 18.6.1 dateutil: 2.8.1 docker-py: 5.0.3 gitdb: Not Installed gitpython: Not Installed Jinja2: 3.1.2 libgit2: Not Installed looseversion: 1.0.2 M2Crypto: Not Installed Mako: Not Installed msgpack: 1.0.2 msgpack-pure: Not Installed mysql-python: Not Installed packaging: 22.0 pycparser: 2.21 pycrypto: Not Installed pycryptodome: 3.9.8 pygit2: Not Installed python-gnupg: 0.4.8 PyYAML: 6.0.1 PyZMQ: 23.2.0 relenv: 0.13.12 smmap: Not Installed timelib: 0.2.4 Tornado: 4.5.3 ZMQ: 4.3.4 System Versions: dist: ubuntu 22.04.2 jammy locale: utf-8 machine: x86_64 release: 5.15.0-88-generic system: Linux version: Ubuntu 22.04.2 jammy ```The salt master is version 3005.3
Additional context
The problem does NOT exist with Salt 3006.3.
The exceptions seem to be related to these issues and changes:
Output of
/opt/saltstack/salt-pip list
: