I am getting the following error *** Could not read served logs: [Errno -3] Temporary failure in name resolution
due to I cannot read logs shown in airflow host
from airflow worker slave
in another server, How could I fix this?
Docker-compose airflow worker:
....
airflow-worker:
<<: *airflow-common
command: >
bash -c "airflow celery worker -q myqueue --pid=/opt/airflow/airflow-worker.pid"
healthcheck:
test:
- "CMD-SHELL"
- 'celery --app airflow.executors.celery_executor.app inspect ping -d "celery@$${HOSTNAME}"'
interval: 10s
timeout: 10s
retries: 5
Maybe I need some env-vars, but after all I’ve tried, still remains the error, thank you!