-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to init swarm #695
Comments
Traceback in readable form:
|
Did you run |
Hi, thanks for checking my issue. Debian GNU/Linux 10 (buster) x86_64 Linux 4.19.0-21-amd64
|
Hmm, Docker SDK for Python 3.4.1 supports only very few options for It looks like the module incorrectly assumes that In any case, this should be pretty straightforward to fix, by handling it optionally (and adding it to |
(According to the changelog, |
Many thanks for pointing out, I've installed
This fixed the issue and I'm able to initiate swarm with community.docker.docker_swarm module. |
SUMMARY
Unable to init swarm with docker_swarm module:
TypeError: init_swarm() got an unexpected keyword argument 'data_path_addr'
ISSUE TYPE
COMPONENT NAME
community.docker.docker_swarm
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Local Debian GNU/Linux 11 (bullseye) x86_64 Linux 5.10.0-26-amd64
Remote Debian GNU/Linux 10 (buster) x86_64 Linux 4.19.0-21-amd64
containerd --version
containerd containerd.io 1.6.24 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523
pip3 show docker
Name: docker
Version: 3.4.1
docker -v
Docker version 24.0.6, build ed223bc
STEPS TO REPRODUCE
Run a minimal playbook with the task as described
EXPECTED RESULTS
ACTUAL RESULTS
ansible-playbook swarm.yml
does not initialize swarm on target machine (but I'm able to do so manually)The text was updated successfully, but these errors were encountered: