TASK [Wait for instance(s) creation to complete] *******************************
FAILED - RETRYING: Wait for instance(s) creation to complete (300 retries left).
FAILED - RETRYING: Wait for instance(s) creation to complete (299 retries left).
FAILED - RETRYING: Wait for instance(s) creation to complete (298 retries left).
failed: [localhost] (item={'started': 1, 'finished': 0, 'ansible_job_id': '563148533006.16193', 'results_file': '/home/spham/.ansible_async/563148533006.16193', 'changed': True, 'failed': False, 'item': {'image': 'debian-10', 'name': 's2', 'server_type': 'cx11'}, 'ansible_loop_var': 'item'}) => {"ansible_job_id": "563148533006.16193", "ansible_loop_var": "item", "attempts": 4, "changed": false, "cmd": "/home/spham/.ansible/tmp/ansible-tmp-1637197060.3134565-16174-162800436823256/AnsiballZ_hcloud_server.py", "data": "", "finished": 1, "item": {"ansible_job_id": "563148533006.16193", "ansible_loop_var": "item", "changed": true, "failed": false, "finished": 0, "item": {"image": "debian-10", "name": "s2", "server_type": "cx11"}, "results_file": "/home/spham/.ansible_async/563148533006.16193", "started": 1}, "msg": "Traceback (most recent call last):\n File \"/tmp/ansible_ansible.legacy.async_wrapper_payload_o6_p3ip2/ansible_ansible.legacy.async_wrapper_payload.zip/ansible/modules/async_wrapper.py\", line 162, in _run_module\n File \"/tmp/ansible_ansible.legacy.async_wrapper_payload_o6_p3ip2/ansible_ansible.legacy.async_wrapper_payload.zip/ansible/modules/async_wrapper.py\", line 90, in _filter_non_json_lines\nValueError: No start of json char found\n", "stderr": "Traceback (most recent call last):\n File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 699, in urlopen\n httplib_response = self._make_request(\n File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 445, in _make_request\n six.raise_from(e, None)\n File \"<string>\", line 3, in raise_from\n File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 440, in _make_request\n httplib_response = conn.getresponse()\n File \"/usr/local/lib/python3.9/http/client.py\", line 1347, in getresponse\n response.begin()\n File \"/usr/local/lib/python3.9/http/client.py\", line 307, in begin\n version, status, reason = self._read_status()\n File \"/usr/local/lib/python3.9/http/client.py\", line 268, in _read_status\n line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n File \"/usr/local/lib/python3.9/socket.py\", line 704, in readinto\n return self._sock.recv_into(b)\n File \"/usr/local/lib/python3.9/ssl.py\", line 1241, in recv_into\n return self.read(nbytes, buffer)\n File \"/usr/local/lib/python3.9/ssl.py\", line 1099, in read\n return self._sslobj.read(len, buffer)\nConnectionResetError: [Errno 104] Connection reset by peer\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/spham/.env/lib/python3.9/site-packages/requests/adapters.py\", line 439, in send\n resp = conn.urlopen(\n File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 755, in urlopen\n retries = retries.increment(\n File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/util/retry.py\", line 532, in increment\n raise six.reraise(type(error), error, _stacktrace)\n File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/packages/six.py\", line 769, in reraise\n raise value.with_traceback(tb)\n File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 699, in urlopen\n httplib_response = self._make_request(\n File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 445, in _make_request\n six.raise_from(e, None)\n File \"<string>\", line 3, in raise_from\n File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 440, in _make_request\n httplib_response = conn.getresponse()\n File \"/usr/local/lib/python3.9/http/client.py\", line 1347, in getresponse\n response.begin()\n File \"/usr/local/lib/python3.9/http/client.py\", line 307, in begin\n version, status, reason = self._read_status()\n File \"/usr/local/lib/python3.9/http/client.py\", line 268, in _read_status\n line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")\n File \"/usr/local/lib/python3.9/socket.py\", line 704, in readinto\n return self._sock.recv_into(b)\n File \"/usr/local/lib/python3.9/ssl.py\", line 1241, in recv_into\n return self.read(nbytes, buffer)\n File \"/usr/local/lib/python3.9/ssl.py\", line 1099, in read\n return self._sslobj.read(len, buffer)\nurllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 366, in _create_server\n File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/actions/client.py\", line 21, in wait_until_finished\n self.reload()\n File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/core/client.py\", line 125, in reload\n bound_model = self._client.get_by_id(self.data_model.id)\n File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/actions/client.py\", line 42, in get_by_id\n response = self._client.request(\n File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/hcloud.py\", line 219, in request\n response = self._requests_session.request(\n File \"/home/spham/.env/lib/python3.9/site-packages/requests/sessions.py\", line 542, in request\n resp = self.send(prep, **send_kwargs)\n File \"/home/spham/.env/lib/python3.9/site-packages/requests/sessions.py\", line 655, in send\n r = adapter.send(request, **kwargs)\n File \"/home/spham/.env/lib/python3.9/site-packages/requests/adapters.py\", line 498, in send\n raise ConnectionError(err, request=request)\nrequests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/spham/.ansible/tmp/ansible-tmp-1637197060.3134565-16174-162800436823256/AnsiballZ_hcloud_server.py\", line 100, in <module>\n _ansiballz_main()\n File \"/home/spham/.ansible/tmp/ansible-tmp-1637197060.3134565-16174-162800436823256/AnsiballZ_hcloud_server.py\", line 92, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/home/spham/.ansible/tmp/ansible-tmp-1637197060.3134565-16174-162800436823256/AnsiballZ_hcloud_server.py\", line 40, in invoke_module\n runpy.run_module(mod_name='ansible_collections.hetzner.hcloud.plugins.modules.hcloud_server', init_globals=dict(_module_fqn='ansible_collections.hetzner.hcloud.plugins.modules.hcloud_server', _modlib_path=modlib_path),\n File \"/usr/local/lib/python3.9/runpy.py\", line 210, in run_module\n return _run_module_code(code, init_globals, run_name, mod_spec)\n File \"/usr/local/lib/python3.9/runpy.py\", line 97, in _run_module_code\n _run_code(code, mod_globals, init_globals,\n File \"/usr/local/lib/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 654, in <module>\n File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 635, in main\n File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 577, in present_server\n File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 386, in _create_server\nAttributeError: 'ConnectionError' object has no attribute 'message'\n", "stderr_lines": ["Traceback (most recent call last):", " File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 699, in urlopen", " httplib_response = self._make_request(", " File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 445, in _make_request", " six.raise_from(e, None)", " File \"<string>\", line 3, in raise_from", " File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 440, in _make_request", " httplib_response = conn.getresponse()", " File \"/usr/local/lib/python3.9/http/client.py\", line 1347, in getresponse", " response.begin()", " File \"/usr/local/lib/python3.9/http/client.py\", line 307, in begin", " version, status, reason = self._read_status()", " File \"/usr/local/lib/python3.9/http/client.py\", line 268, in _read_status", " line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")", " File \"/usr/local/lib/python3.9/socket.py\", line 704, in readinto", " return self._sock.recv_into(b)", " File \"/usr/local/lib/python3.9/ssl.py\", line 1241, in recv_into", " return self.read(nbytes, buffer)", " File \"/usr/local/lib/python3.9/ssl.py\", line 1099, in read", " return self._sslobj.read(len, buffer)", "ConnectionResetError: [Errno 104] Connection reset by peer", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", " File \"/home/spham/.env/lib/python3.9/site-packages/requests/adapters.py\", line 439, in send", " resp = conn.urlopen(", " File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 755, in urlopen", " retries = retries.increment(", " File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/util/retry.py\", line 532, in increment", " raise six.reraise(type(error), error, _stacktrace)", " File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/packages/six.py\", line 769, in reraise", " raise value.with_traceback(tb)", " File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 699, in urlopen", " httplib_response = self._make_request(", " File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 445, in _make_request", " six.raise_from(e, None)", " File \"<string>\", line 3, in raise_from", " File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 440, in _make_request", " httplib_response = conn.getresponse()", " File \"/usr/local/lib/python3.9/http/client.py\", line 1347, in getresponse", " response.begin()", " File \"/usr/local/lib/python3.9/http/client.py\", line 307, in begin", " version, status, reason = self._read_status()", " File \"/usr/local/lib/python3.9/http/client.py\", line 268, in _read_status", " line = str(self.fp.readline(_MAXLINE + 1), \"iso-8859-1\")", " File \"/usr/local/lib/python3.9/socket.py\", line 704, in readinto", " return self._sock.recv_into(b)", " File \"/usr/local/lib/python3.9/ssl.py\", line 1241, in recv_into", " return self.read(nbytes, buffer)", " File \"/usr/local/lib/python3.9/ssl.py\", line 1099, in read", " return self._sslobj.read(len, buffer)", "urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", " File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 366, in _create_server", " File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/actions/client.py\", line 21, in wait_until_finished", " self.reload()", " File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/core/client.py\", line 125, in reload", " bound_model = self._client.get_by_id(self.data_model.id)", " File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/actions/client.py\", line 42, in get_by_id", " response = self._client.request(", " File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/hcloud.py\", line 219, in request", " response = self._requests_session.request(", " File \"/home/spham/.env/lib/python3.9/site-packages/requests/sessions.py\", line 542, in request", " resp = self.send(prep, **send_kwargs)", " File \"/home/spham/.env/lib/python3.9/site-packages/requests/sessions.py\", line 655, in send", " r = adapter.send(request, **kwargs)", " File \"/home/spham/.env/lib/python3.9/site-packages/requests/adapters.py\", line 498, in send", " raise ConnectionError(err, request=request)", "requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))", "", "During handling of the above exception, another exception occurred:", "", "Traceback (most recent call last):", " File \"/home/spham/.ansible/tmp/ansible-tmp-1637197060.3134565-16174-162800436823256/AnsiballZ_hcloud_server.py\", line 100, in <module>", " _ansiballz_main()", " File \"/home/spham/.ansible/tmp/ansible-tmp-1637197060.3134565-16174-162800436823256/AnsiballZ_hcloud_server.py\", line 92, in _ansiballz_main", " invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)", " File \"/home/spham/.ansible/tmp/ansible-tmp-1637197060.3134565-16174-162800436823256/AnsiballZ_hcloud_server.py\", line 40, in invoke_module", " runpy.run_module(mod_name='ansible_collections.hetzner.hcloud.plugins.modules.hcloud_server', init_globals=dict(_module_fqn='ansible_collections.hetzner.hcloud.plugins.modules.hcloud_server', _modlib_path=modlib_path),", " File \"/usr/local/lib/python3.9/runpy.py\", line 210, in run_module", " return _run_module_code(code, init_globals, run_name, mod_spec)", " File \"/usr/local/lib/python3.9/runpy.py\", line 97, in _run_module_code", " _run_code(code, mod_globals, init_globals,", " File \"/usr/local/lib/python3.9/runpy.py\", line 87, in _run_code", " exec(code, run_globals)", " File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 654, in <module>", " File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 635, in main", " File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 577, in present_server", " File \"/tmp/ansible_hcloud_server_payload_cb98r1vw/ansible_hcloud_server_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_server.py\", line 386, in _create_server", "AttributeError: 'ConnectionError' object has no attribute 'message'"]}