Skip to content

Error when trying community.windows modules: urllib3 package missing #6

@m-hoskin-unisa

Description

@m-hoskin-unisa

Pulled down the AIO repo and ran ansible-builder without any modifications which successfully created a docker image. Was able to import the image into AWX and run as an Execution Environment, however when trying to run a test playbook using a community.windows module it failed with this error:
"winrm or requests is not installed: No module named 'urllib3.packages.six'"

I can see from the build output that the package was detected as already present:
Requirement already satisfied: urllib3>=1.15 in /usr/lib/python3.8/site-packages (from -r /tmp/src/requirements.txt (line 28)) (1.25.7)

Ansible-builder was run with Python 3.8.11. Does the requirements.txt need to be more explicit when referencing the packages?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions