Network related cleanup might fail on instance deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
François Charlier |
Bug Description
When an instance is deleted/destroyed, an async call is sent to nova-network while the nova-compute related deletion continues.
In various places, nova-network fetches data from the db without checking on deleted instances and floating ips, fixed ips, security groups, … might then not be deallocated.
Relevant information from nova-network.log :
2012-02-21 18:57:04,303 DEBUG nova.network.
2012-02-21 18:57:04,359 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: rval = node_func(
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return func(self, context, *args, **kwargs)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: affect_
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return func(self, context, *args, **kwargs)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: instance = self.db.
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return IMPL.instance_
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: return f(*args, **kwargs)
(nova.rpc): TRACE: File "/usr/lib/
(nova.rpc): TRACE: raise exception.
(nova.rpc): TRACE: InstanceNotFound: Instance 86 could not be found.
(nova.rpc): TRACE:
Changed in nova: | |
assignee: | nobody → François Charlier (francois-charlier) |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/4449
Review: https:/