Presian1
Mission Specialist
Mission Specialist
  • 215 Views

CH02S08 Error/Problem

Jump to solution

Hello,

When I try to run the playbook in CH02S08 i get the following error that is in the screenshot, any ideas why this happens? Tried re-creating the workstation by deletion and creation again- it did not helped.

 

Screenshot_7.png

1 Solution

Accepted Solutions
Travis
Moderator
Moderator
  • 197 Views

You most likely deleted the ansible-navigator.yml file by accident. I didn't see if you ran the "lab start XXX" command for this exercise, but I'm assuming you did and it didn't create or specify the correct EEI. 

The workstation system should already have the appropriate execution environment downloaded, so you might be able to type "podman images" and look for the correct execution environment image. It should be something like below. If the tag isn't latest, it might be 2.0 or 2.2, but you need the :tag when you specify the image.

utility.lab.example.com/ee-supported-rhel8:latest

I can't see above what is in your screenshot, but always check to ensure that you run the lab start commands. If you have verified that and it still isn't working, use the podman command above to see the execution environment images that are available to you. Then you can append the following to the ansible-navigator run command.

 

ansible-navigator run <playbook.yml> --eei utility.lab.example.com/ee-supported-rhel8:latest

Currently the reason it isn't working is it can't find a configuration file or a default execution environment so it is falling back to the "default" product execution environment which is hosted on redhat.com and requires a login.

 

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training

View solution in original post

2 Replies
Travis
Moderator
Moderator
  • 198 Views

You most likely deleted the ansible-navigator.yml file by accident. I didn't see if you ran the "lab start XXX" command for this exercise, but I'm assuming you did and it didn't create or specify the correct EEI. 

The workstation system should already have the appropriate execution environment downloaded, so you might be able to type "podman images" and look for the correct execution environment image. It should be something like below. If the tag isn't latest, it might be 2.0 or 2.2, but you need the :tag when you specify the image.

utility.lab.example.com/ee-supported-rhel8:latest

I can't see above what is in your screenshot, but always check to ensure that you run the lab start commands. If you have verified that and it still isn't working, use the podman command above to see the execution environment images that are available to you. Then you can append the following to the ansible-navigator run command.

 

ansible-navigator run <playbook.yml> --eei utility.lab.example.com/ee-supported-rhel8:latest

Currently the reason it isn't working is it can't find a configuration file or a default execution environment so it is falling back to the "default" product execution environment which is hosted on redhat.com and requires a login.

 

Travis Michette, RHCA XIII
https://rhtapps.redhat.com/verify?certId=111-134-086
SENIOR TECHNICAL INSTRUCTOR / CERTIFIED INSTRUCTOR AND EXAMINER
Red Hat Certification + Training
Presian1
Mission Specialist
Mission Specialist
  • 195 Views

Hi,

Thanks for your help. What you are saying is correct.

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