Ansible deployment failed: Check on activemq download async task

cancel
Showing results for 
Search instead for 
Did you mean: 
billydekid
Established Member II

Ansible deployment failed: Check on activemq download async task

Jump to solution

Hi,

I got an failed steps during zip/ansible deployment (many retries) with following error:

<localhost> EXEC /bin/sh -c 'echo ~bayu && sleep 0'
Using module file /home/bayu/.local/share/virtualenvs/alfresco-rpavBw6q/lib/python3.10/site-packages/ansible/modules/async_status.py
Pipelining is enabled.
<localhost> EXEC /bin/sh -c '/usr/bin/python3 && sleep 0'
The full traceback is:
Traceback (most recent call last):
  File "/tmp/ansible_ansible.builtin.get_url_payload_e_xprb7t/ansible_ansible.builtin.get_url_payload.zip/ansible/modules/get_url.py", line 431, in url_get
  File "/usr/lib/python3.10/shutil.py", line 195, in copyfileobj
    buf = fsrc_read(length)
  File "/usr/lib/python3.10/http/client.py", line 466, in read
    s = self.fp.read(amt)
  File "/usr/lib/python3.10/socket.py", line 705, in readinto
    return self._sock.recv_into(b)
  File "/usr/lib/python3.10/ssl.py", line 1303, in recv_into
    return self.read(nbytes, buffer)
  File "/usr/lib/python3.10/ssl.py", line 1159, in read
    return self._sslobj.read(len, buffer)
TimeoutError: The read operation timed out
fatal: [localhost]: FAILED! => {
    "ansible_job_id": "j120374895618.6342",
    "attempts": 22,
    "changed": false,
    "elapsed": 4,
    "finished": 1,
    "invocation": {
        "module_args": {
            "attributes": null,
            "backup": false,
            "checksum": "sha512:https://archive.apache.org/dist/activemq/5.18.4/apache-activemq-5.18.4-bin.tar.gz.sha512",
            "ciphers": null,
            "client_cert": null,
            "client_key": null,
            "decompress": true,
            "dest": "/tmp/ansible_artefacts/apache-activemq-5.18.4-bin.tar.gz",
            "force": false,
            "force_basic_auth": false,
            "group": null,
            "headers": null,
            "http_agent": "ansible-httpget",
            "mode": "0644",
            "owner": null,
            "selevel": null,
            "serole": null,
            "setype": null,
            "seuser": null,
            "timeout": 10,
            "tmp_dest": null,
            "unredirected_headers": [],
            "unsafe_writes": false,
            "url": "https://archive.apache.org/dist/activemq/5.18.4/apache-activemq-5.18.4-bin.tar.gz",
            "url_password": null,
            "url_username": null,
            "use_gssapi": false,
            "use_netrc": true,
            "use_proxy": true,
            "validate_certs": true
        }
    },
    "msg": "failed to create temporary content file: The read operation timed out",
    "results_file": "/home/bayu/.ansible_async/j120374895618.6342",
    "started": 1,
    "stderr": "",
    "stderr_lines": [],
    "stdout": "",
    "stdout_lines": []

Installation of ACS 23.2.1 Community on Ubuntu 22.04.

What's the caused this issue? Thank you.

1 Solution

Accepted Solutions
billydekid
Established Member II

Re: Ansible deployment failed: Check on activemq download async task

Jump to solution

Problem is solved after I changed to other Internet connection.

View solution in original post

2 Replies
billydekid
Established Member II

Re: Ansible deployment failed: Check on activemq download async task

Jump to solution

Problem is solved after I changed to other Internet connection.

billydekid
Established Member II

Re: Ansible deployment failed: Check on activemq download async task

Jump to solution

Hi,

I'm just curious why this task give different result when I change the network. It was actually failed on my home ISP and success on office. Is there any configuration on my ansible or ISP's modem configuration?

Many thanks!