run_instance thread may block if exception InstanceNotFound raised
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
MotoKen |
Bug Description
On compute node, before going into run_instance calling path, a lock named with instance’s UUID is acquired firstly.
If exception exception.
def _run_instance(self, context, instance_uuid,
"""Launch a new instance with specified options."""
context = context.elevated()
try:
< code omitted ...>
except exception.
# assuming the instance was already deleted, run "delete" again
# just in case
return
except Exception as e:
with utils.save_
Changed in nova: | |
importance: | Undecided → High |
milestone: | none → folsom-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/6714
Review: https:/