Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible-role-for-splunk doesn't work with linux x86.64 platform on the newest version 9.4.0 #230

Closed
Xathviar opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Xathviar
Copy link

Hello everyone,

I manage my infrastracture with ansible-role-for-splunk. I recently wanted to upgrade the servers to 9.4.0 and noticed that the download is failing.

TASK [splunk.splunk : Download Splunk full package] ***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************** FAILED - RETRYING: [ansible -> localhost]: Download Splunk full package (3 retries left). FAILED - RETRYING: [ansible -> localhost]: Download Splunk full package (2 retries left). FAILED - RETRYING: [ansible -> localhost]: Download Splunk full package (1 retries left). fatal: [ansible -> localhost]: FAILED! => {"attempts": 3, "changed": false, "dest": "/root//splunk-9.4.0-6b4ebe426ca6-Linux-x86_64.tgz", "elapsed": 0, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "https://download.splunk.com/products/splunk/releases/9.4.0/linux/splunk-9.4.0-6b4ebe426ca6-Linux-x86_64.tgz"}

This is due to the 9.4.0 heavy forwarder package not being provided with x86_64 as a tgz but only as rpm.
Is there some way so that I can use the rpm package instead of the tgz or that the x86_64 package will be also provided as a tgz.

Thx and BR
Andreas

@dtwersky
Copy link
Collaborator

dtwersky commented Jan 10, 2025

The 9.4.0 version is set to the linux-amd64 architecture, which should be the same as Linux-x86_64.
Till there is a permanent fix, you can try to set the variable manually like this:

splunk_package_url_full: "https://download.splunk.com/products/splunk/releases/{{ splunk_package_version }}/linux/splunk-{{ splunk_package_version }}-{{ build_id }}-linux-amd64.tgz"

splunk_package_url_uf: "https://download.splunk.com/products/universalforwarder/releases/{{ splunk_package_version }}/linux/splunkforwarder-{{ splunk_package_version }}-{{ build_id }}-linux-amd64.tgz"

@dtwersky dtwersky added the bug Something isn't working label Jan 10, 2025
jewnix pushed a commit to jewnix/ansible-role-for-splunk that referenced this issue Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants