Unable to download Oracle Java 1.8.0_202
Closed this issue · 1 comments
mmolinac commented
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Checked that your issue isn't already filled: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aidealista
- Checked that there is not already provided the described functionality
Description
The role is unable to download current Oracle Java versions from their site.
Steps to Reproduce
- Use the role with the following syntax:
- include_role:
name: idealista.java_role
vars:
java_implementation: 'oraclejdk'
You can also use it with the latest version available inside the role:
- include_role:
name: idealista.java_role
vars:
java_implementation: 'oraclejdk'
java_oracle_jdk_version: '1.8.0_202'
- I've run my playbook.
Expected behavior: [What you expect to happen]
Oracle Java downloaded and installed with default values.
Actual behavior: [What actually happens]
I get the following error:
TASK [idealista.java_role : Java | Download .tar.gz file containing binaries from Oracle website] ***
FAILED - RETRYING: Java | Download .tar.gz file containing binaries from Oracle website (3 retries left).
FAILED - RETRYING: Java | Download .tar.gz file containing binaries from Oracle website (2 retries left).
FAILED - RETRYING: Java | Download .tar.gz file containing binaries from Oracle website (1 retries left).
[DEPRECATION WARNING]: Supplying `headers` as a string is deprecated. Please
use dict/hash format for `headers`. This feature will be removed in version
2.10. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
fatal: [tools02-dev]: FAILED! => {"attempts": 3, "changed": false, "dest": "/tmp/jdk-1.8.0_202.tar.gz", "msg": "Connection failure: ('The read operation timed out',)", "state": "absent", "url": "https://download.oracle.com/otn-pub/java/jdk/8u202-b08/1961070e4c9b4e26a04e7f5a083f551e/jdk-8u202-linux-x64.tar.gz"}
Reproduces how often: [What percentage of the time does it reproduce?]
Always
Versions
Current master branch version.
Additional Information
ansible 2.7.10
config file = None
configured module search path = ['/Users/mmolinac/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/local/Cellar/ansible/2.7.10/libexec/lib/python3.7/site-packages/ansible
executable location = /usr/local/bin/ansible
python version = 3.7.3 (default, Mar 27 2019, 09:23:15) [Clang 10.0.1 (clang-1001.0.46.3)]
mmolinac commented
My bad. I was about to try to write a solution for this and sent a solution, but it seems that now it's required a fully working OTN user/password to download everything.