dheerajturaga opened a new issue, #42549:
URL: https://github.com/apache/airflow/issues/42549

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### If "Other Airflow 2 version" selected, which one?
   
   2.10.2
   
   ### What happened?
   
   Some tasks in airflow 2.10.2 are being launched with try number 0. However, 
the webserver is looking for logs starting with try number 1. Because of this 
we are having cases where tasks are running and passing however, the server 
throws a "cannot read served logs" error.
   
   Executor=CeleryExecutor
   
   ![try number 
issue](https://github.com/user-attachments/assets/1f6b9ecd-a9a3-4019-a15c-ba8ed56dd9cb)
   
   
   ### What you think should happen instead?
   
   Airflow should start attempt with try number 1 instead.
   
   ### How to reproduce
   
   This is happening intermittently. Not all tasks start with try number 0. I 
have checked to make sure both the webserver and the celery worker are on the 
same version 2.10.2
   
   ### Operating System
   
   SUSE Linux Enterprise Server 12 SP5
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-celery==3.8.1
   celery==5.4.0
   
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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