InstanceInfoCache should be availible for deleted instances
Bug #948586 reported by
Jason Kölker
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Trey Morris |
Bug Description
The relationship for instance in the InstanceInfoCache only allows undeleted cache entries. So if you have a reference to a deleted instance, the it will never have that deleted instance's network info, nor will calling out to the network api help ;(.
This breaks usage reporting very badly.
Changed in nova: | |
assignee: | nobody → Trey Morris (tr3buchet) |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/5067 github. com/openstack/ nova/commit/ 24f4e093b6c7290 de06b7aaaa1e4dd a96e17e5f9
Committed: http://
Submitter: Jenkins
Branch: master
commit 24f4e093b6c7290 de06b7aaaa1e4dd a96e17e5f9
Author: Trey Morris <email address hidden>
Date: Wed Mar 7 22:22:16 2012 -0600
info_cache is related to deleted instance
fixes lp948586
what is now possible: pastie. org/3546474
http://
the problem was there were entities hitting the api to get network data 'info_cache' ].
for instances that were deleted. Deleted instances did not have the
backref to info_cache available. The api would then go to network to get
the info, but since the network structures had already been torn down,
there was nothing to return. The bug then is that network_info at time
of instance deletion was expected to be accessible through the
instance[
Change-Id: I8ce6ce92e2abe6 241d408192ced95 26562e978db