Skip to content

Can't see logs while task running (apache/airflow helm chart and CeleryExecutor) #13590

Answered by dstandish
dstandish asked this question in Q&A
Discussion options

You must be logged in to vote

Ultimately there were two issues:

The logging path was unspecified:

ENV AIRFLOW__LOGGING__BASE_LOG_FOLDER /opt/airflow/logs

Return IP for hostname callable

For whatever reason, dns does not seem to resolve properly. Using this resolved issue:

def get_hostname():
    return socket.gethostbyname(socket.gethostname())
ENV AIRFLOW__CORE__HOSTNAME_CALLABLE airflow_extension.hostname.get_hostname

Replies: 1 comment

Comment options

dstandish
Jan 9, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by dstandish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant