No such file or directory: 'nova.compute.manager'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Johannes Erdfelt |
Bug Description
Since bug #1035426 was fixed, the CacheConcurrenc
Traceback (most recent call last):
File "/home/
timer()
File "/home/
cb(*args, **kw)
File "/home/
result = function(*args, **kwargs)
File "/home/
*args, **kwargs)
File "/home/
prepare_
File "/home/
ensure_
File "/home/
os.
File "/home/
makedirs(head, mode)
File "/home/
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: 'nova.compute.
It can also fail with similar exceptions in shutil.rmtree().
This is caused by a race condition in the unit test. Two greenthreads are spawned, and the changes to fix bug #1035426 will cause a race between the two threads either creating or deleting the tree.
An unrelated bug will cause the unit test to pass even if the above race condition and exception occur. This is because the greenthreads being tested are never waited on, causing the exceptions to be ignored.
description: | updated |
Changed in nova: | |
milestone: | none → folsom-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/13226
Review: https:/