ansible-oracle
ansible-oracle copied to clipboard
Role orasw_download_patches - download of OneOff-patches
Hi!
Seems to be, the patch download doens't work for OneOff-patches.
Example patches:
oracle_sw_patches:
- filename: p36582781_190000_Linux-x86-64.zip
patchid: 36582781
version: 19
patchversion: 19.24.0.0.0.240716
description: DB-RU-July-2024
- patchid: 34774667
filename: p34774667_1924000DBRU_Linux-x86-64.zip
version: 19
patchversion: 19.24.0.0.0
description: OneOff34774667
Output:
ok: [localhost] => (item=p34774667_1924000DBRU_Linux-x86-64.zip ARU=25677714 ) => { "ansible_loop_var": "item", "changed": false, "connection": "close, Transfer-Encoding", ERROR Task exception was never retrieved future: <Task finished name='Task-4' coro=<_read_stream() done, defined at /opt/company/venvs/ansible-9.4-py3/lib/python3.10/site-packages/subprocess_tee/init.py:28> exception=ValueError('Separator is not found, and chunk exceed the limit')> Traceback (most recent call last): File "/usr/lib/python3.10/asyncio/streams.py", line 524, in readline line = await self.readuntil(sep) File "/usr/lib/python3.10/asyncio/streams.py", line 602, in readuntil raise exceptions.LimitOverrunError( asyncio.exceptions.LimitOverrunError: Separator is not found, and chunk exceed the limit
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/company/venvs/ansible-9.4-py3/lib/python3.10/site-packages/subprocess_tee/init.py", line 30, in _read_stream line = await stream.readline() File "/usr/lib/python3.10/asyncio/streams.py", line 533, in readline raise ValueError(e.args[0]) ValueError: Separator is not found, and chunk exceed the limit ERROR Task exception was never retrieved future: <Task finished name='Task-3' coro=<_read_stream() done, defined at /opt/company/venvs/ansible-9.4-py3/lib/python3.10/site-packages/subprocess_tee/init.py:28> exception=ValueError('Separator is not found, and chunk exceed the limit')> Traceback (most recent call last): File "/usr/lib/python3.10/asyncio/streams.py", line 524, in readline line = await self.readuntil(sep) File "/usr/lib/python3.10/asyncio/streams.py", line 602, in readuntil raise exceptions.LimitOverrunError( asyncio.exceptions.LimitOverrunError: Separator is not found, and chunk exceed the limit
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/opt/company/venvs/ansible-9.4-py3/lib/python3.10/site-packages/subprocess_tee/init.py", line 30, in _read_stream line = await stream.readline() File "/usr/lib/python3.10/asyncio/streams.py", line 533, in readline raise ValueError(e.args[0]) ValueError: Separator is not found, and chunk exceed the limit CRITICAL Ansible return code was 2, command was: ansible-playbook --extra-vars '{'"'"'awx_mos_password'"'"': '"'"'secret'"'"', '"'"'awx_mos_login'"'"': '"'"'[email protected]'"'"' } ' --inventory /home/domain/osuser/.cache/molecule/patch_download/default/inventory --skip-tags molecule-notest,notest /home/domain/osuser/gitrepos/oracle_col/roles/patch_download/molecule/default/converge.yml
Oracle seems to use another site for OneOff-patches then for patches applying to base-release.