Utils.is_neutron can create race conditions
Bug #1274992 reported by
Sean M. Collins
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OpenStack Compute (nova) |
Fix Released
|
Low
|
Russell Bryant | ||
Bug Description
It appears that using the utils.is_neutron() function can create race conditions, if not used carefully. Review #56381 was attempting to check the presence of Neutron, in order to determine if hairpinning should be enabled on the bridge that Nova creates. Only after creating a new configuration flag in Nova.conf and checking the setting, were the unit tests passing and the race condition resolved.
My hunch is that the global variable that utils.is_neutron( ) creates is the root cause of the issue.
| Changed in nova: | |
| status: | New → Confirmed |
| assignee: | nobody → Russell Bryant (russellb) |
| importance: | Undecided → Medium |
| Changed in nova: | |
| milestone: | none → icehouse-3 |
| Changed in nova: | |
| status: | Fix Committed → Fix Released |
| Changed in nova: | |
| milestone: | icehouse-3 → 2014.1 |
To post a comment you must log in.

Remember that the tests are run in parallel, so that could have something to do with it.