![]() ![]() Return self.get(url, **self._set_request_timeout(kwargs))įile "/home/airflow/.local/lib/python3.8/site-packages/requests/sessions.py", line 543, in get Return self._result(self._get(url), json=True)įile "/home/airflow/.local/lib/python3.8/site-packages/docker/utils/decorators.py", line 46, in innerįile "/home/airflow/.local/lib/python3.8/site-packages/docker/api/client.py", line 237, in _get Return self.version(api_version=False)įile "/home/airflow/.local/lib/python3.8/site-packages/docker/api/daemon.py", line 181, in version : ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))įile "/home/airflow/.local/lib/python3.8/site-packages/docker/api/client.py", line 214, in _retrieve_server_version Raise six.reraise(type(error), error, _stacktrace)įile "/home/airflow/.local/lib/python3.8/site-packages/urllib3/packages/six.py", line 734, in reraise Self._send_output(message_body, encode_chunked=encode_chunked)įile "/usr/local/lib/python3.8/http/client.py", line 1010, in _send_outputįile "/usr/local/lib/python3.8/http/client.py", line 950, in sendįile "/home/airflow/.local/lib/python3.8/site-packages/docker/transport/unixconn.py", line 43, in connectįileNotFoundError: No such file or directoryĭuring handling of the above exception, another exception occurred:įile "/home/airflow/.local/lib/python3.8/site-packages/requests/adapters.py", line 439, in sendįile "/home/airflow/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopenįile "/home/airflow/.local/lib/python3.8/site-packages/urllib3/util/retry.py", line 410, in increment Self.endheaders(body, encode_chunked=encode_chunked)įile "/usr/local/lib/python3.8/http/client.py", line 1250, in endheaders Self._send_request(method, url, body, headers, encode_chunked)įile "/usr/local/lib/python3.8/http/client.py", line 1301, in _send_request This is the stack trace of the error I am getting: ERROR - Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))įile "/home/airflow/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopenįile "/home/airflow/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_requestĬonn.request(method, url, **httplib_request_kw)įile "/usr/local/lib/python3.8/http/client.py", line 1255, in request This is how the dag I am trying to run looks like: RUN pip install -no-cache-dir -r /tmp/requirements.txt Thi is how my airflow Dockerfile looks like:įROM apache/airflow:1.10.14-python3.8 Use airflow user for pip installs and other things.ĬOPY requirements.txt /tmp/requirements.txt Installing requirements. The error happens both on docker-compose as well as EKS (kubernetes). Whenever I run my task, I am receiving the Error: ERROR - Error while fetching server API version. Given that I am running pods, by using the DockerOperator I will be running (to my understanding) Docker in Docker. I am deploying to Kubernetes (EKS), but not using Kubernetes Executor yet. I am running Airflow, and trying to run a proof of concept for a Docker container using Airflow's DockerOperator. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |