arley-wilches commented on issue #29963:
URL: https://github.com/apache/airflow/issues/29963#issuecomment-1469145085
@potiuk the 404 is because airflow is trying to get the POD from k8s, but
they are deleted
*** Unable to fetch logs from worker pod
awsta-0ddbcfdcda294a08a370507891a1ea09 ***
(404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Audit-Id':
'd1606aa1-d236-411b-9ac8-927ac7c0f311', 'Cache-Control': 'no-cache, private',
'Content-Type': 'application/json', 'Date': 'Tue, 07 Mar 2023 19:17:43 GMT',
'Content-Length': '294'})
HTTP response body:
b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods
\"awsta-0ddbcfdcda294a08a370507891a1ea09\" not
found","reason":"NotFound","details":{"name":"awsta-0ddbcfdcda294a08a370507891a1ea09","kind":"pods"},"code":404}\n'
I am aware that the pod no longer exists, but the logs are in the file
system.
What I am trying to say is that airflow could recover the logs even if the
pod has been deleted.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]