nova/nova
Dan Smith d9c696acf8 Make evacuate leave a record for the source compute host to process
This makes the evacuate process leave a record in the database about the
evacuation, and from what host it was being performed. Now, the compute
manager will use that breadcrumb trail to decide whether it should delete
locally-running instances, instead of just the hostname mismatch.

Since this does a query by migration_type, I added a unit test to the
test_db_api module to prove this actually works.

DocImpact: Deprecates the workarounds/destroy_after_evacuate config option

Related to blueprint robustify-evacuation
Closes-Bug: #1471887
Change-Id: I972c224dfb954a9f06e221c9235ee6e4889c2619
2015-07-06 15:40:07 -07:00
..
CA Make tests use sha256 as openssl default digest algorithm 2015-02-09 10:06:04 -05:00
api Merge "Add common function for v2.1 API flavor_get." 2015-07-02 15:31:00 +00:00
cells Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
cert Update rpc version aliases for kilo 2015-04-21 13:57:56 +08:00
cloudpipe Move policy enforcement into REST API layer for v2.1 cloudpipe 2015-02-26 21:33:47 +08:00
cmd Check mac for instance before disassociate in release_fixed_ip 2015-06-24 06:33:36 -07:00
compute Make evacuate leave a record for the source compute host to process 2015-07-06 15:40:07 -07:00
conductor Make live migration create a migration object record 2015-06-25 08:42:04 -07:00
console Fix noVNC console access for an IPv6 setup 2015-06-15 09:23:25 +00:00
consoleauth Update rpc version aliases for kilo 2015-04-21 13:57:56 +08:00
db Fix incorrect enum in Migration object and DB model 2015-07-06 15:38:54 -07:00
hacking Merge "virt: convert VFS API to use nova.virt.image.model" 2015-06-11 13:49:32 +00:00
image Merge "glance:check the num_retries option" 2015-07-03 10:34:11 +00:00
ipv6 Replace usage of LazyPluggable by stevedore driver 2015-02-17 14:49:48 +00:00
keymgr Switch to uuidutils from oslo_utils library 2015-02-25 20:05:49 -05:00
locale Imported Translations from Transifex 2015-06-22 06:10:05 +00:00
network Merge "Refactor network API 'get_instance_nw_info'" 2015-07-03 10:40:58 +00:00
objects Fix incorrect enum in Migration object and DB model 2015-07-06 15:38:54 -07:00
objectstore Remove openstack/common/versionutils module 2015-06-15 20:40:16 +00:00
openstack Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
pci Merge "Cleanups for pci stats in preparation for RT using ComputeNode" 2015-06-03 03:02:57 +00:00
rdp
scheduler Merge "Remove compat_instance()" 2015-07-02 20:57:50 +00:00
servicegroup fix "down" nova-compute service spuriously marked as "up" 2015-06-10 13:18:06 -06:00
spice
storage Fix multipath device discovery when UFN is enabled. 2015-04-02 13:23:49 +01:00
tests Make evacuate leave a record for the source compute host to process 2015-07-06 15:40:07 -07:00
virt Merge "Support flavor object in migrate_disk_and_power_off" 2015-07-03 10:41:26 +00:00
vnc Register the vnc config options under group 'vnc' 2015-06-22 13:39:00 -04:00
volume volume: log which encryptor class is being used 2015-06-09 11:50:13 -07:00
wsgi Helper scripts for running under Apache2 2015-05-08 09:59:58 -04:00
__init__.py
availability_zones.py Replace dict(obj.iteritems()) with dict(obj) 2015-05-21 08:35:37 -07:00
baserpc.py
block_device.py Fix wrong check when use image in local 2015-06-18 15:06:00 +08:00
config.py Remove references to suds 2015-06-15 16:32:23 +03:00
context.py Stop spamming logs when creating context 2015-03-13 17:59:47 -04:00
crypto.py Fix version unit test on Python 3 2015-05-25 13:33:59 +02:00
debugger.py Use oslo.log 2015-02-22 07:56:40 -05:00
exception.py Make readonly field tests use exception from oslo.versionedobjects 2015-06-22 11:46:20 +00:00
filters.py Remove use of builtin name 2015-05-28 16:23:49 -05:00
hooks.py Use oslo.log 2015-02-22 07:56:40 -05:00
i18n.py
loadables.py
manager.py Use oslo.log 2015-02-22 07:56:40 -05:00
netconf.py
notifications.py Handle InstanceNotFound when sending instance update notification 2015-06-11 12:26:00 -07:00
opts.py Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
paths.py
policy.py Add useful debug logging when policy checks fail 2015-02-23 16:44:04 -05:00
quota.py Fix Python 3 issues in nova.db.sqlalchemy 2015-06-30 07:06:54 -07:00
rpc.py Merge "Ensure publisher_id is set correctly in notifications" 2015-02-10 04:50:54 +00:00
safe_utils.py Avoid indexing into an empty list in getcallargs 2015-04-10 13:10:16 -04:00
service.py Convert service and servicegroup to objects 2015-04-13 19:05:55 +02:00
test.py test: add MatchType helper class as equivalent of mox.IsA 2015-06-17 12:16:43 +01:00
utils.py Make evacuate leave a record for the source compute host to process 2015-07-06 15:40:07 -07:00
version.py Fix version unit test on Python 3 2015-05-25 13:33:59 +02:00
weights.py Skip only one host weight calculation 2015-05-05 11:40:09 +08:00
wsgi.py Remove usage of WritableLogger from oslo_log 2015-06-18 18:47:42 +00:00