datsabk opened a new issue #18239:
URL: https://github.com/apache/airflow/issues/18239


   ### Apache Airflow version
   
   2.1.3 (latest released)
   
   ### Operating System
   
   Python 3.6 Apache Airflow Docker
   
   ### Versions of Apache Airflow Providers
   
   2.1.3
   
   ### Deployment
   
   Other Docker-based deployment
   
   ### Deployment details
   
   Kubernetes based deployment - Workers and Master in Kubernetes as pods. Logs 
accessed via NodePort Service
   
   ### What happened
   
   *** Log file does not exist: 
/xxx/airflow/home/logs/xxxx/2021-09-14T12:13:32.383510+00:00/1.log
   *** Fetching from: 
http://tsc-aflow-orca:8793/log/xxxx/2021-09-14T12:13:32.383510+00:00/1.log
   *** Failed to fetch log file from worker. 503 Server Error: Service 
Unavailable for url: 
http://tsc-aflow-orca:8793/log/xxxx/2021-09-14T12:13:32.383510+00:00/1.log
   For more information check: https://httpstatuses.com/503
   
   Checked the Worker pod - Logs exist. However, it seems like the Worker web 
service is unable to access the logs. 
   
   ### What you expected to happen
   
   Worker logs worked fine with the same setup but older version v1.10.12
   
   ### How to reproduce
   
   Run a sample Dag with Webserver, Scheduler and one Worker running in 
Kubernetes - No custom setup. 
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]


Reply via email to