Omar Suárez created AIRFLOW-6968:
------------------------------------
Summary: Failing when executing a dag: 'log file does not exist'
Key: AIRFLOW-6968
URL: https://issues.apache.org/jira/browse/AIRFLOW-6968
Project: Apache Airflow
Issue Type: Bug
Components: logging
Affects Versions: 1.10.2
Reporter: Omar Suárez
Attachments: airflow_log_config.png
I am facing this error:
{{*** Log file does not exist:
/usr/local/airflow/logs/example_python_operator_virtualenv/virtualenv_python/2020-03-01T19:08:54.619529+00:00/1.log
*** Fetching from:
http://894194e3daed:8793/log/example_python_operator_virtualenv/virtualenv_python/2020-03-01T19:08:54.619529+00:00/1.log
*** Failed to fetch log file from worker.
HTTPConnectionPool(host='894194e3daed', port=8793): Max retries exceeded with
url:
/log/example_python_operator_virtualenv/virtualenv_python/2020-03-01T19:08:54.619529+00:00/1.log
(Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at
0x7f1d0966c6d8>: Failed to establish a new connection: [Errno 111] Connection
refused',))}}
when trying to execute a DAG using the PythonVirtualenvOperator.
Attached is the configuration of the logs inside the 'airflow.cfg' file.
I am using the Airflow Docker image from puckel.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)