Scenario 4: Execution Environment credentials

Difficulty Components Break Type

Easy

Automation Controller

Execution Environment / Credentials

Objectives

  • Log in to the AAP Gateway UI successfully.

  • Launch the available job templates and identify the one that fails.

  • Diagnose the root cause.

  • Resolve the underlying issue.

Troubleshooting

Step 1: Run the Break Scenario job

Log into AAP using the Ansible Automation Platform tab. Navigate to Automation Execution → Templates and launch the Break Scenario job template. Wait for it to complete before proceeding.

Step 2: Launch job templates and identify the failure

In the AAP UI, navigate to Automation Execution → Templates. Launch the available job templates one by one and observe which one fails.

Review the job output to understand the error message.

Step 3: Inspect the failed job

Click into the failed job run and review its output in detail. The error will indicate what is wrong with the Execution Environment or credentials configuration.

You can also check the OpenShift Console → Workloads → Pods to find the automation job pod and review its logs.

Step 4: Fix the issue

Edit the failing job template in the AAP UI to correct the configuration.

Refer to the solution page if needed: Solution: Execution Environment Credentials

Step 5: Verify

Re-launch the previously failing job template and confirm it now runs successfully.

Hint

The failure is in how the job template is configured, specifically something related to the Execution Environment or its associated credentials. The job output will give you a clear error message to work from.