ansible-community / molecule-hetznercloud

A molecule driver for Hetzner Cloud
https://ansible.readthedocs.io/projects/molecule/
GNU Lesser General Public License v3.0
27 stars 14 forks source link

Wait for instance(s) creation to complete FAILED #bug #41

Closed spham closed 11 months ago

spham commented 2 years ago

on deploy with molecule

this task failed

it seems happen when user testinfra verifier

molecule 3.4.0 using python 3.9 
    ansible:2.11.3
    delegated:3.4.0 from molecule
    docker:0.2.4 from molecule_docker
    hetznercloud:1.3.0 from molecule_hetznercloud
    vagrant:0.6.3 from molecule_vagrant

molecule.yml
    dependency:
      name: galaxy
    driver:
      name: hetznercloud
    platforms:
      - name: "s2"
        server_type: cx11
        image: debian-10
    provisioner:
      name: ansible
    verifier:
      name: testinfra

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'"]}

other issue, it not remove ssh key on destroy

spham commented 2 years ago

and now restart another issue

TASK [Register SSH key for test instance(s)] ***********************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: AttributeError: 'ConnectionError' object has no attribute 'message'
fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connection.py\", line 169, in _new_conn\n    conn = connection.create_connection(\n  File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/util/connection.py\", line 73, in create_connection\n    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):\n  File \"/usr/local/lib/python3.9/socket.py\", line 953, in getaddrinfo\n    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):\nsocket.gaierror: [Errno -2] Name or service not known\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/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 382, in _make_request\n    self._validate_conn(conn)\n  File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connectionpool.py\", line 1010, in _validate_conn\n    conn.connect()\n  File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connection.py\", line 353, in connect\n    conn = self._new_conn()\n  File \"/home/spham/.env/lib/python3.9/site-packages/urllib3/connection.py\", line 181, in _new_conn\n    raise NewConnectionError(\nurllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f3b965aba60>: Failed to establish a new connection: [Errno -2] Name or service not known\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 574, in increment\n    raise MaxRetryError(_pool, url, error or ResponseError(cause))\nurllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.hetzner.cloud', port=443): Max retries exceeded with url: /v1/ssh_keys?name=molecule-generated-d3ef0e5a-996a-5139-b921-339c1e3ca7ac (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3b965aba60>: Failed to establish a new connection: [Errno -2] Name or service not known'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/tmp/ansible_hcloud_ssh_key_payload_hvvnb3yt/ansible_hcloud_ssh_key_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_ssh_key.py\", line 155, in _get_ssh_key\n  File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/ssh_keys/client.py\", line 111, in get_by_name\n    return super(SSHKeysClient, self).get_by_name(name)\n  File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/core/client.py\", line 88, in get_by_name\n    response = self.get_list(name=name)\n  File \"/home/spham/.env/lib/python3.9/site-packages/hcloud/ssh_keys/client.py\", line 80, in get_list\n    response = self._client.request(url=\"/ssh_keys\", method=\"GET\", params=params)\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 516, in send\n    raise ConnectionError(e, request=request)\nrequests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.hetzner.cloud', port=443): Max retries exceeded with url: /v1/ssh_keys?name=molecule-generated-d3ef0e5a-996a-5139-b921-339c1e3ca7ac (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f3b965aba60>: Failed to establish a new connection: [Errno -2] Name or service not known'))\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/home/spham/.ansible/tmp/ansible-tmp-1637218956.961949-31464-266328750322359/AnsiballZ_hcloud_ssh_key.py\", line 100, in <module>\n    _ansiballz_main()\n  File \"/home/spham/.ansible/tmp/ansible-tmp-1637218956.961949-31464-266328750322359/AnsiballZ_hcloud_ssh_key.py\", line 92, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/home/spham/.ansible/tmp/ansible-tmp-1637218956.961949-31464-266328750322359/AnsiballZ_hcloud_ssh_key.py\", line 40, in invoke_module\n    runpy.run_module(mod_name='ansible_collections.hetzner.hcloud.plugins.modules.hcloud_ssh_key', init_globals=dict(_module_fqn='ansible_collections.hetzner.hcloud.plugins.modules.hcloud_ssh_key', _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_ssh_key_payload_hvvnb3yt/ansible_hcloud_ssh_key_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_ssh_key.py\", line 251, in <module>\n  File \"/tmp/ansible_hcloud_ssh_key_payload_hvvnb3yt/ansible_hcloud_ssh_key_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_ssh_key.py\", line 245, in main\n  File \"/tmp/ansible_hcloud_ssh_key_payload_hvvnb3yt/ansible_hcloud_ssh_key_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_ssh_key.py\", line 199, in present_ssh_key\n  File \"/tmp/ansible_hcloud_ssh_key_payload_hvvnb3yt/ansible_hcloud_ssh_key_payload.zip/ansible_collections/hetzner/hcloud/plugins/modules/hcloud_ssh_key.py\", line 160, in _get_ssh_key\nAttributeError: 'ConnectionError' object has no attribute 'message'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}