You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was not already reported in the past (duplicate check)
It does reproduce it with code from main branch (latest unreleased version)
I include a minimal example for reproducing the bug
The bug is not trivial, as for those a direct pull-request is preferred
Running pip check does not report any conflicts
I was able to reproduce the issue on a different machine
The issue is not specific to any driver other than 'default' one
Environment
molecule 24.2.2.dev15 using python 3.12
ansible:2.16.7
azure:23.5.3 from molecule_plugins
containers:23.5.3 from molecule_plugins requiring collections: ansible.posix>=1.3.0 community.docker>=1.9.1 containers.podman>=1.8.1
default:24.2.2.dev15 from molecule
docker:23.5.3 from molecule_plugins requiring collections: community.docker>=3.4.11 ansible.posix>=1.4.0
ec2:23.5.3 from molecule_plugins
gce:23.5.3 from molecule_plugins requiring collections: google.cloud>=1.0.2 community.crypto>=1.8.0
openstack:23.5.3 from molecule_plugins requiring collections: openstack.cloud>=2.1.0
podman:23.5.3 from molecule_plugins requiring collections: containers.podman>=1.7.0 ansible.posix>=1.3.0
vagrant:23.5.3 from molecule_plugins
What happened
The molecule with docker driver doesn't work with requests lib => 32.x.x
make sure requests lib is requests = "2.31.0"molecule = "24.2.1"molecule-plugins = "23.5.3"docker = "7.0.0"
molecule -v test -s role.dotfiles.default
DEBUG Validating schema /home/arpan/workspace/arpanrec.nebula/molecule/role.dotfiles.default/molecule.yml.
WARNING Driver docker does not provide a schema.
INFO role.dotfiles.default scenario test matrix: syntax, destroy, dependency, create, converge, idempotence, destroy
INFO Performing prerun with role_name_check=0...
INFO Running role.dotfiles.default > syntax
INFO Sanity checks: 'docker'
CRITICAL Unable to contact the Docker daemon. Please refer to https://docs.docker.com/config/daemon/ for managing the daemon
WARNING An error occurred during the test sequence action: 'syntax'. Cleaning up.
INFO Running role.dotfiles.default > cleanup
WARNING Skipping, cleanup playbook not configured.
INFO Running role.dotfiles.default > destroy
INFO Sanity checks: 'docker'
CRITICAL Unable to contact the Docker daemon. Please refer to https://docs.docker.com/config/daemon/ for managing the daemon
Reproducing example
make sure requests lib is `requests = "2.31.0"` `molecule = "24.2.1"` `molecule-plugins = "23.5.3"` `docker = "7.0.0"`Please make sure that the user is in the docker group and Molecule drive is set to docker.Tested with pip install git+https://github.com/ansible-community/molecule-plugins.gitpip install git+https://github.com/ansible/molecule.gitReproducible with molecule 24.2.1
The text was updated successfully, but these errors were encountered:
arpanrec
changed the title
Molecule docker driver error with: Unable to contact the Docker daemon.
The molecule with docker driver doesn't work with requests lib => 32.x.x
May 29, 2024
Prerequisites
pip check
does not report any conflictsEnvironment
molecule 24.2.2.dev15 using python 3.12
ansible:2.16.7
azure:23.5.3 from molecule_plugins
containers:23.5.3 from molecule_plugins requiring collections: ansible.posix>=1.3.0 community.docker>=1.9.1 containers.podman>=1.8.1
default:24.2.2.dev15 from molecule
docker:23.5.3 from molecule_plugins requiring collections: community.docker>=3.4.11 ansible.posix>=1.4.0
ec2:23.5.3 from molecule_plugins
gce:23.5.3 from molecule_plugins requiring collections: google.cloud>=1.0.2 community.crypto>=1.8.0
openstack:23.5.3 from molecule_plugins requiring collections: openstack.cloud>=2.1.0
podman:23.5.3 from molecule_plugins requiring collections: containers.podman>=1.7.0 ansible.posix>=1.3.0
vagrant:23.5.3 from molecule_plugins
What happened
The molecule with docker driver doesn't work with requests lib => 32.x.x
make sure requests lib is
requests = "2.31.0"
molecule = "24.2.1"
molecule-plugins = "23.5.3"
docker = "7.0.0"
Reproducing example
The text was updated successfully, but these errors were encountered: