nova/nova/cmd
Surya Seetharaman 70de423255 cleanup mapping/reqspec after archive instance
This patch aims at deleting the records of the archived instances from
the instance_mappings and request_specs tables in the API database
immediately following their archival from instances to shadow_instances
table. So upon running the 'nova-manage db archive_deleted_rows' command
the records of the archived instances will be automatically removed from
the instance_mappings and request_specs tables as well. A warning has
also been added to fix the issue of 'nova-manage verify_instance'
returning a valid instance mapping even after the instance is deleted.

The patch also adds InstanceMappingList.destory_bulk() and
RequestSpec.destroy_bulk() methods for ease of bulk deletion of records.

Change-Id: I483701a55576c245d091ff086b32081b392f746e
Closes-Bug: #1724621
Closes-Bug: #1678056
(cherry picked from commit 32fd58813f)
2018-07-06 21:52:43 +00:00
..
__init__.py move eventlet GREENDNS override to top level 2014-12-08 17:41:03 -05:00
api.py Remove translation of log messages 2017-06-09 09:06:16 +00:00
api_metadata.py Remove conductor local api:s and 'use_local' config option 2016-10-18 14:26:06 +02:00
api_os_compute.py Cleanup wording on compute service version checks in API 2017-04-05 19:20:43 -04:00
baseproxy.py baseproxy: stop requiring CONF.verbose 2016-05-16 16:57:21 +02:00
cells.py Deprecate cells v1 2017-08-01 11:07:55 -04:00
common.py nova-manage: Deprecate '--version' parameters 2017-08-03 19:43:29 +01:00
compute.py Resource tracker compatibility with Ocata and Pike 2017-08-10 09:47:20 -04:00
conductor.py conf: Remove deprecated service manager opts 2016-12-05 23:28:49 +08:00
console.py conf: remove *_topic config opts 2017-07-17 21:27:02 -07:00
consoleauth.py conf: remove *_topic config opts 2017-07-17 21:27:02 -07:00
dhcpbridge.py Remove translation of log messages 2017-06-09 09:06:16 +00:00
idmapshift.py Fix invalid import order 2016-07-04 11:23:52 +05:30
manage.py cleanup mapping/reqspec after archive instance 2018-07-06 21:52:43 +00:00
network.py conf: remove *_topic config opts 2017-07-17 21:27:02 -07:00
novncproxy.py config options: fix the missed cli options of novncproxy 2016-04-04 18:05:32 +08:00
policy_check.py Removed unnecessary parantheses and fixed formation 2017-02-09 14:03:53 +01:00
scheduler.py conf: remove *_topic config opts 2017-07-17 21:27:02 -07:00
serialproxy.py config options: centralize section "serial_console" 2015-11-19 11:00:20 +01:00
spicehtml5proxy.py config options: centralize 'spice' options 2016-04-11 10:34:05 +00:00
status.py Require Placement 1.10 in nova-status upgrade check 2017-08-09 15:26:46 -04:00
xvpvncproxy.py Revert "Enable options for oslo.reports" 2015-12-05 16:12:52 +00:00