caichenghao1991 opened a new issue, #40305:
URL: https://github.com/apache/airflow/issues/40305
### Description
find this log message
[2024-06-18T12:18:13.280+0000] {scheduler_job_runner.py:442} INFO - Not
scheduling since there are 0 open slots in pool default_pool
A simple fix will be
https://github.com/apache/airflow/blob/f5d2745909780b9483f457a973382371ed33ad32/airflow/jobs/scheduler_job_runner.py#442
change to
self.log.info("Dag: %s, Task: %s, Run: %s is not scheduling since there are
%s open slots in pool %s", task_instance.dag_id, task_instance.task_id,
task_instance.run_id, open_slots, pool_name)
### Use case/motivation
include dag_id, task id, run_id will provide more information for
identifying where the issue is located and tell what's not getting scheduled.
### Related issues
_No response_
### Are you willing to submit a 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]