ansible-navigator
ansible-navigator copied to clipboard
navigator fails to list collections on macos
ISSUE TYPE
- Bug Report
SUMMARY
Apparently navigator does not work on macos and we do not have any CI pipeline that checks even the most basic functionality on macos, even if GHA does provide macos workers.
ANSIBLE-NAVIGATOR VERSION
current master branch
CONFIGURATION
LOG FILE
STEPS TO REPRODUCE
EXPECTED RESULTS
Executions success
ACTUAL RESULTS
$ ansible-navigator collections
----------------------------------------------------------------------------------
Execution environment image and pull policy overview
----------------------------------------------------------------------------------
Execution environment image name: quay.io/ansible/ansible-navigator-demo-ee:0.6.0
Execution environment image tag: 0.6.0
Execution environment pull policy: tag
Execution environment pull needed: True
----------------------------------------------------------------------------------
Updating the execution environment
----------------------------------------------------------------------------------
Error: failed to parse "X-Registry-Auth" header for /v3.2.3/libpod/images/pull?alltags=false&arch=&authfile=&os=&password=&policy=always&quiet=false&reference=quay.io%2Fansible%2Fansible-navigator-demo-ee%3A0.6.0&username=&variant=: error storing credentials in temporary auth file (server: "https://index.docker.io/v1/", user: ""): key https://index.docker.io/v1/ contains http[s]:// prefix
[ERROR]: Execution environment pull failed
[HINT]: Check the execution environment image name, connectivity to and permissions for the registry, and try again
FAIL: 1
ADDITIONAL INFORMATION
I mention that both podman and docker are installed and working on my macos machine. The only gotcha is that DOCKER_HOST points to a remote linux host, thus docker commands will use that.
@ssbarnea Have you done anymore research here to see what changes may be required? Does setting the pull-policy to never help at all?