Deadlock creating >5 servers at once using xenapi driver
Bug #924918 reported by
Johannes Erdfelt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Johannes Erdfelt |
Bug Description
A deadlock can occur when a compute node is working on more than 5 servers at once. This only affects systems using the xenapi driver.
The problem is caused by a nested use of _get_session(). If multiple greenthreads are attempting to communicate with dom0 at once, then the outer call to _get_session() can end up with all of the sessions acquired leaving the inner calls to _get_session() waiting for one of the outer calls to release.
Changed in nova: | |
assignee: | nobody → Johannes Erdfelt (johannes.erdfelt) |
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/3631
Review: https:/