idealista/airflow-role

errors downloading airflow at TASK [airflow-role : Airflow | Installing Airflow]

Closed this issue · 0 comments

I
I'm getting this error on ubuntu 1804 :
At TASK [airflow-role : Airflow | Installing Airflow]

TASK [airflow-role : Airflow | Installing Airflow] ****************************************************************************************************************************************************************
fatal: [192.168.33.13]: FAILED! => {"changed": false, "cmd": ["/usr/bin/pip", "install", "--no-cache-dir", "apache-airflow==1.10.2"], "msg": "stdout: Collecting apache-airflow==1.10.2\n\n:stderr: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f5beffb2f10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/apache-airflow/\n Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f5beffb2b10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/apache-airflow/\n Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f5beffb2d50>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/apache-airflow/\n Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f5bf0a655d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/apache-airflow/\n Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f5bf0a65510>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/apache-airflow/\nException:\nTraceback (most recent call last):\n File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main\n status = self.run(options, args)\n File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 342, in run\n requirement_set.prepare_files(finder)\n File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 380, in prepare_files\n ignore_dependencies=self.ignore_dependencies))\n File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 554, in _prepare_file\n require_hashes\n File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 278, in populate_link\n self.link = finder.find_requirement(self, upgrade)\n File "/usr/lib/python2.7/dist-packages/pip/index.py", line 465, in find_requirement\n all_candidates = self.find_all_candidates(req.name)\n File "/usr/lib/python2.7/dist-packages/pip/index.py", line 423, in find_all_candidates\n for page in self._get_pages(url_locations, project_name):\n File "/usr/lib/python2.7/dist-packages/pip/index.py", line 568, in _get_pages\n page = self._get_page(location)\n File "/usr/lib/python2.7/dist-packages/pip/index.py", line 683, in _get_page\n return HTMLPage.get_page(link, session=self.session)\n File "/usr/lib/python2.7/dist-packages/pip/index.py", line 792, in get_page\n "Cache-Control": "max-age=600",\n File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/sessions.py", line 533, in get\n return self.request('GET', url, **kwargs)\n File "/usr/lib/python2.7/dist-packages/pip/download.py", line 386, in request\n return super(PipSession, self).request(method, url, *args, **kwargs)\n File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/sessions.py", line 520, in request\n resp = self.send(prep, **send_kwargs)\n File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/sessions.py", line 630, in send\n r = adapter.send(request, **kwargs)\n File "/usr/share/python-wheels/requests-2.18.4-py2.py3-none-any.whl/requests/adapters.py", line 508, in send\n raise ConnectionError(e, request=request)\nConnectionError: HTTPSConnectionPool(host='pypi.python.org', port=443): Max retries exceeded with url: /simple/apache-airflow/ (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f5bf0a65710>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))\n"}