cancel
Showing results for 
Search instead for 
Did you mean: 
DeepakRamanath
Flight Engineer
Flight Engineer
  • 1,582 Views

Issue with pulling images from registry.redhat.io

Jump to solution

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?

Labels (2)
1 Solution

Accepted Solutions
takuji
Mission Specialist
Mission Specialist
  • 1,542 Views

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,

View solution in original post

2 Replies
takuji
Mission Specialist
Mission Specialist
  • 1,543 Views

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,

DeepakRamanath
Flight Engineer
Flight Engineer
  • 1,489 Views

That worked like a charm. Thanks.

Now I understand what I was missing, the path to the container.

Join the discussion
You must log in to join this conversation.