-
Bug
-
Resolution: Done-Errata
-
Major
-
6.14.z, 6.15.z, 6.16.z, 6.17.0
-
Rocket
-
8
-
False
-
foreman-3.14.0.1-1.el9sat
-
Important
-
Enhancement
-
-
Done
-
Automated
-
Yes
Description of problem:
Our kickstart template calls the ansible_provisioning_callback snippet
That ansible_provisioning_callback snippet further calls ansible_tower_callback_service and ansible_tower_callback_script snippets to setup the ansible callback on the deployed systems and perform the callback.
In both of those snippets, we have the `/api/v2/job_templates/` endpoint hardcoded for all satellite\foreman versions.
This used to work fine till AAP 2.4. With AAP 2.5, a gateway was introduced and hence the `/api/v2` endpoints are now `/api/controller/v2` and this will result in failures to complete the ansible callback when end-user uses AAP 2.5.
How reproducible:
Always
Is this issue a regression from an earlier version:
Regression due to change in the dependant product version and API end points
Steps to Reproduce:
1. Install AAP 2.5 and configure it for provisioning callback
2. Install Satellite 6.14\6.15\6.16 ( any of them ) and configure the same for ansible callback
3. Try a deployment from the satellite and trigger the ansible callback .
Actual behavior:
The callback API fails with the following error.
<!doctype html> <html lang="en"> <head> <title>Not Found</title> </head> <body> <h1>Not Found</h1><p>The requested resource was not found on this server.</p> </body> </html>
Expected behavior:
No such errors. Satellite should be able to work with all supported versions of AAP
- Perhaps we can enforce a version validation via host params for AAP and in the template can have conditionals based on it to choose old or new endpoints.
- Or, we can let users pass a host_param for the API endpoint itself and we document the use of the same in our guides.
Business Impact / Additional info:
Unable to build systems and perform ansible callback, when using AAP 2.5 + Satellite 6 ( Blocker )
- is cloned by
-
SAT-32211 Ansible Callback does not work when using AAP 2.5
-
- Closed
-
- relates to
-
SAT-31307 Poc: env-AAP 2.5 deployment
-
- Closed
-
- links to
-
RHEA-2025:148331 Satellite 6.17.0 release