I'm currently in Chapter 1, section 3 and thought of setting up my own lab environment. Strated with the RHEL 8.10 based server and was able get the subscription for ansible automation platform. Subsequently, I was able to successfully authenticate using my redhat associate credentials with podman as follows
podman login registry.redhat.io
Now, when I try running the below, I get an error
ansible-navigator config --eei ee-supported-rhel8:latest
------------------------------------------------------------
Execution environment image and pull policy overview
------------------------------------------------------------
Execution environment image name: ee-supported-rhel8:latest
Execution environment image tag: latest
Execution environment pull arguments: None
Execution environment pull policy: tag
Execution environment pull needed: True
------------------------------------------------------------
Updating the execution environment
------------------------------------------------------------
Running the command: podman pull ee-supported-rhel8:latest
✔ registry.redhat.io/ee-supported-rhel8:latest
Trying to pull registry.redhat.io/ee-supported-rhel8:latest...
Error: initializing source docker://registry.redhat.io/ee-supported-rhel8:latest: reading manifest latest in registry.redhat.io/ee-supported-rhel8: unauthorized: access to the requested resource is not authorized
Error: Execution environment pull failed
Hint: Check the execution environment image name, connectivity to and permissions for the registry, and try again
Any idea why podman is failing to pull the image from the repository despite podman login being successful?
Hello DeepakRamanath,
How about searching the exact image location at catalog.redhat.com before running ansible-navigator command? According to my quick research, you might be able to adjust your ansible-navigator command as below:
# ansible-navigator config list --eei registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest
Thank you,
Hello DeepakRamanath,
How about searching the exact image location at catalog.redhat.com before running ansible-navigator command? According to my quick research, you might be able to adjust your ansible-navigator command as below:
# ansible-navigator config list --eei registry.redhat.io/ansible-automation-platform-24/ee-supported-rhel8:latest
Thank you,
That worked like a charm. Thanks.
Now I understand what I was missing, the path to the container.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.