You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Scope0910 (via GitHub)" <gi...@apache.org> on 2023/06/19 13:24:10 UTC
[GitHub] [airflow] Scope0910 commented on issue #31733: after upgrade 2.6.0 from 2.3.4, task can't show log in webui
Scope0910 commented on issue #31733:
URL: https://github.com/apache/airflow/issues/31733#issuecomment-1597188372
Hey,
i have exactly the same issue. I came from v2.3.3 - but without an upgrade. - we installed v2.6.0 on a new system with new metadb etc. Im not sure if it helps - If i run the following code within webserver the logs are requested correctly - were using airflow on kubernetes
`from airflow.providers.cncf.kubernetes.hooks.kubernetes import KubernetesHook `
`hook = KubernetesHook(conn_id="kubernetes_default")
log = ""
for line in hook.get_pod_logs("<insert podname here>", namespace="<your namespace>"):
log += line.decode()
print(log)
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org