john-westcott-iv / ansible-tower-plugin

Jenkins ansible tower plugin
MIT License
4 stars 42 forks source link

This plugin is not supporting the ansible controller #14

Open rameshkadali opened 1 week ago

rameshkadali commented 1 week ago

With Redhat stopped support for Ansible tower and introduced Ansible Controller, the API calls got changed. Due to this the plugin fails to work with new Controller.

Old API: /api/v2/ping/ New API : /api/controller/v2/ping/

Can we have support for new Ansible Controller?

Rushireddym commented 1 week ago

supporting logs for above comment: we got below logs from jenkins logs

[Ansible-Tower] Starting to test connection with (ansible.com) and (AnsibleAAPToken) and (true) with debugging (true)

[Ansible-Tower] Forcing cert trust

[Ansible-Tower] Building GET request to ansible.com

[Ansible-Tower] Forcing cert trust

[Ansible-Tower] Adding oauth bearer token from Jenkins

[Ansible-Tower] Determining authorization headers

[Ansible-Tower] Building GET request to ansible.com/api/v2/jobs/

[Ansible-Tower] Testing authentication

[Ansible-Tower] Created a connector with null@ansible.com

[Ansible-Tower] Failed to get connection to get version; auth errors may ensue org.jenkinsci.plugins.ansible_tower.exceptions.AnsibleTowerItemDoesNotExist: The item does not exist

[Ansible-Tower] Request completed with (404)