nova/nova
Chris Behrens 8c136a8ee4 Don't delete sys_meta on instance delete
Unfortunately, we require to access instance_system_metadata to get
data (specifically at least instance_type data) for instances that have
been deleted.

There's 2 cases where this is true:

1) nova-api supports showing deleting instances when you specify a
'changes-since' param.
2) The _usage_audit_log periodic task pulls all instances during the
audit period, which includes instances that have been deleted during
that period.

This reverts commit 17bca43895, which was
attempting to fix a bug where we leave instance_system_metadata entries
undeleted from the DB.  There's not an easy way to query for the deleted
sys_meta data in an efficient manner, and leaving the entries undeleted is
the lesser of the 2 evils for now.

Fixes bug 1185190

Change-Id: I898f0546c49126dcc56a4237120082f95dc82304
(cherry picked from commit 4885aa2870)
2013-06-01 06:01:35 +00:00
..
CA
api Merge "Disallow resize if image not available" into stable/grizzly 2013-05-31 05:02:06 +00:00
cells Fix console support with cells 2013-03-19 21:54:00 +00:00
cert Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
cloudpipe Use oslo-config-2013.1b4 2013-02-19 21:16:32 -08:00
common Switch to using memorycache from oslo. 2013-03-01 10:24:00 -08:00
compute Merge "set bdm['volume_id'] to None rather than delete it" into stable/grizzly 2013-05-31 04:59:33 +00:00
conductor Make compute/manager use conductor for unrescue() 2013-04-22 10:31:13 -07:00
console Revert changing to FQDN for hostnames. 2013-03-12 03:15:25 +11:00
consoleauth Encode consoleauth token in utf-8 to make it a str 2013-04-23 12:49:41 -07:00
db Don't delete sys_meta on instance delete 2013-06-01 06:01:35 +00:00
image Catch glance image create exceptions 2013-05-01 16:07:36 -04:00
ipv6 Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
locale Imported Translations from Transifex 2013-03-20 00:03:06 +00:00
network get_instance_security_groups() fails if no name on security group 2013-05-26 19:18:46 -07:00
objectstore Return XML message with objectserver 404. 2013-03-12 06:04:25 +11:00
openstack Merge "Update latest oslo.setup." into stable/grizzly 2013-04-27 00:19:55 +00:00
scheduler Pass None to image if booted from volume in live migration 2013-05-15 10:27:09 +02:00
servicegroup Fix zookeeper import and tests 2013-05-09 22:14:43 -04:00
spice Wrong proxy port in nova.conf for Spice proxy 2013-05-02 10:28:12 +02:00
storage Fix for missing multipath device name 2013-05-16 16:36:11 -04:00
tests Don't delete sys_meta on instance delete 2013-06-01 06:01:35 +00:00
virt Merge "Make sure that hypervisor nodename is set correctly in FakeDriver" into stable/grizzly 2013-05-31 08:41:43 +00:00
vnc Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
volume translate cinder BadRequest exception 2013-03-26 14:41:17 -07:00
__init__.py Remove outdated moduleauthor tags 2012-10-01 15:25:47 -07:00
availability_zones.py List AZs fails if there are disabled services 2013-03-27 16:27:31 -07:00
block_device.py Add missing tests for db.block_device_mapping_* methods 2013-03-13 00:22:14 +04:00
config.py Fix nova-manage --version 2013-03-12 13:02:09 +00:00
context.py Fix RequestContext crashes w/ no service catalog 2013-03-18 18:06:52 -04:00
crypto.py Fix issues with re-raising exceptions. 2013-03-05 10:57:55 -05:00
exception.py 'injected_files' should be base 64 encoded. 2013-03-29 10:44:12 -07:00
filters.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
hooks.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
loadables.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
manager.py Use oslo-config-2013.1b4 2013-02-19 21:16:32 -08:00
netconf.py Revert changing to FQDN for hostnames. 2013-03-12 03:15:25 +11:00
notifications.py Remove uses of instance['instance_type'] from nova/notifications 2013-03-09 17:17:07 +00:00
paths.py Use oslo-config-2013.1b4 2013-02-19 21:16:32 -08:00
policy.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
quota.py Set default fixed_ip quota to unlimited. 2013-03-29 14:24:00 +11:00
safe_utils.py Remove parameters containing passwords from Notifications. 2013-03-05 16:27:29 -04:00
service.py Use oslo-config-2013.1b4 2013-02-19 21:16:32 -08:00
test.py Use oslo-config-2013.1b4 2013-02-19 21:16:32 -08:00
utils.py Makes safe xml data calls raise 400 http error instead of 500 2013-03-14 13:31:02 +00:00
version.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
weights.py Update OpenStack LLC to Foundation 2013-02-26 19:15:29 -05:00
wsgi.py Fix issues with re-raising exceptions. 2013-03-05 10:57:55 -05:00