wongelz opened a new issue #15399:
URL: https://github.com/apache/airflow/issues/15399


   **Apache Airflow version**: 2.0.1
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl 
version`): 1.16
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release):
   - **Kernel** (e.g. `uname -a`):
   - **Install tools**:
   - **Others**:
   
   **What happened**:
   
   Airflow fails to schedule any tasks after some time. The "Task Instance 
Details" tab of some of the failed tasks show the following: 
   
   ```
   ('Not scheduling since there are %s open slots in pool %s and require %s 
pool slots', -3, 'transformation', 3)
   ```
   
   Admin > Pools tab shows 0 Running Slots but 9 Queued Slots. Gets stuck in 
this state until airflow is restarted.
   
   **What you expected to happen**:
   
   Number of "open slots in pool" should never be negative! 
   
   **How to reproduce it**:
   - Create/configure a pool with a small size (eg. 6)
   - DAG with multiple tasks occupying multiple pool_slots (eg. pool_slots=3)
   
   
   **Anything else we need to know**:
   


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to