Periodic thread lockup
Bug #1363231 reported by
Brian Elliott
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Brian Elliott |
Bug Description
The instance locking introduced in
cc5388bbe81aba6
between stop and the periodic task power sync. However, locking on
an instance in the periodic task thread can potentially lock
that thread for a long time.
Example:
1) User boots an instance. The instance gets locked by uuid.
2) Driver spawn begins and the image starts downloading from glance.
3) During spawn, periodic tasks run. Sync power states tries to grab
the same instance lock by uuid.
4) Periodic task thread hangs until the driver spawn completes in
another greenthread.
This scenario results in nova-compute appearing unresponsive for
a long time.
Changed in nova: | |
assignee: | nobody → Brian Elliott (belliott) |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
To post a comment you must log in.
https:/ /review. openstack. org/#/c/ 117817/ (not sure why review wasn't linking up)