Closed Nickmman closed 3 days ago
Hi, thank you for creating this issue.
Can you access those logs if you manually update the URL with the accesible endpoint?
Can you also try to set the AIRFLOW_BASE_URL
in the worker statefulset? (via worker.extraEnvVars
). Not sure if that env-var will be picked up by the airflow-worker component, but it is worth trying.
Hi @andresbono,
I get a 404 when trying to update the URL with the UI endpoint.
As for the envvar, now I get a 404 in the logs (from within the UI) when accessing a failed task:
*** Could not read served logs: Client error '404 NOT FOUND' for url 'http://airflow-worker-0.airflow-worker-hl.airflow.svc.cluster.local:8793/log/dag_id=sftp_polling_dag/run_id=manual__2024-08-21T18:11:35.564274+00:00/task_id=get_sftp_details/attempt=1.log'
I set the value to be the same as the web container for that variable, which is http://airflow.valid.dns:8080 (as an example).
I'm testing something else out, so I will report back with my findings next week.
Thank you, keep us posted.
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.
Hi @andresbono, completely forgot about this.
The logs are now visible from the UI, the issue is that the run needs to be done completely (without any running retires) in order for the logs to then be visible (Post task execution logs):
Thank you very much for sharing your findings, @Nickmman! ❤️ We proceed to close the issue.
Name and Version
bitnami/airflow 18.3.8
What architecture are you using?
amd64
What steps will reproduce the bug?
Are you using any custom parameters or values?
What is the expected behavior?
The URL presented by the failed logs should point to an accessible URL via the web pod.
What do you see instead?
URL provided points to an internal service:
Additional information
The logs from above are not the logs that the
1.log
link contains. It is the link to the1.log
that should be fixed and reachable from within the UI/ingress