all tasks stuck in 'pending' when running under uwsgi
Bug #1742813 reported by
Brian Rosmaita
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Triaged
|
Undecided
|
Unassigned |
Bug Description
The Pike devstack runs Glance using the wsgi configuration. All created tasks are stuck in 'pending'. This doesn't happen in Ocata devstack.
tags: | added: uwsgi |
To post a comment you must log in.
In the Tasks and Images controllers, when an API request comes in, a task is created and a spawn_n is called on the 'tasks_ eventlet_ pool'. In the pike devstack, these tasks remain stuck in pending. I added a waitall() right after the spawn_n() call, and the tasks run to completion. This happens whether the taskflow engine is being run in serial or parallel mode. It does not occur when glance is run in the screen-based devstack.