Comments (1)
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}
from molecule-hetznercloud.
Related Issues (20)
- Add possibility to create and attach volumes HOT 5
- Support latest molecule (3.2.1) HOT 1
- Enable Drone CI for PRs also HOT 1
- Support converge.yml embedding on core side
- Volume clean up does not delete attached volumes HOT 13
- Creating mulitple volumes sometimes fails HOT 2
- Revamp test suite to drop all old molecule core conventions
- Correctly handle ANSIBLE_FILTER_PLUGINS for plugin vendored filter functions HOT 7
- Instance name length limit HOT 5
- Pending removal of driver unless a maintainer step in HOT 7
- molecule_to_yaml filter still present when role init HOT 4
- Setup CI/CD that integrates with GH HOT 2
- Destroy not remove server
- 💖 Project needs maintainers HOT 5
- Configure PyPI package publishing HOT 7
- CRITICAL Failed to find driver molecule_hetznercloud. Please ensure that the driver is correctly installed. HOT 7
- SSH Key Type HOT 1
- Dependency Dashboard
- VM name prefix not matching inventory_hostname causes vars not to be loaded HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from molecule-hetznercloud.