You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "arjunanan6 (via GitHub)" <gi...@apache.org> on 2023/06/20 11:43:55 UTC

[GitHub] [airflow] arjunanan6 opened a new issue, #32026: WARNING - Model file does not exist

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

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### What happened
   
   Airflow v2.6.0 w/KubernetesExecutor
   
   At this point, it is just a cosmetic issue since everything works as expected. I'm seeing this warning on all of my tasks:
   
   `[2023-06-20, 11:40:18 UTC] {pod_generator.py:529} WARNING - Model file /opt/airflow/pod_templates/pod_template_file.yaml does not exist`
   
   But the file does exist, and I can use yaml.safe_load on it if I were to shell into the pod, or import deserialize_model_file from pod_generator.py. What could be going on here? 
   
   ### What you think should happen instead
   
   The warning should not be printed as the file does exist.
   
   ### How to reproduce
   
   Just execute any task.
   
   ### Operating System
   
   Debian GNU/Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   Deployed on AKS with official helm chart.
   
   ### 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] hussein-awala commented on issue #32026: WARNING - Model file does not exist

Posted by "hussein-awala (via GitHub)" <gi...@apache.org>.
hussein-awala commented on issue #32026:
URL: https://github.com/apache/airflow/issues/32026#issuecomment-1599668561

   > since everything works as expected
   
   What do you mean by works as expected? does it load the configurations from the `pod_template_file`?


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


[GitHub] [airflow] potiuk closed issue #32026: WARNING - Model file does not exist

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #32026: WARNING - Model file does not exist
URL: https://github.com/apache/airflow/issues/32026


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


[GitHub] [airflow] arjunanan6 commented on issue #32026: WARNING - Model file does not exist

Posted by "arjunanan6 (via GitHub)" <gi...@apache.org>.
arjunanan6 commented on issue #32026:
URL: https://github.com/apache/airflow/issues/32026#issuecomment-1600119225

   I mean that the pods do get spun up anyway, and tasks are executed as expected. It's just that this warning appears first and doesn't make sense. 
   
   I think despite the warning it works because of:
   https://github.com/apache/airflow/blob/8f65aee8f3c4dfdd6c4195d97f57f4267d37c209/airflow/kubernetes/pod_generator.py#LL131C1-L134C30


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