nova/nova
John Garbutt 012fa9353f Stop failed live-migrates getting stuck migrating
When there are failures in driver.cleanup, we are seeing live-migrations
that get stuck in the live-migrating state. While there has been a patch
to stop the cause listed in the bug this closes, there are other
failures (such as a token timeout when talking to cinder or neutron)
that could trigger this same failure mode.

When we hit an error this late in live-migration, it should be a very
rare event, so its best to just put the instance and migration into an
error state, and help alert both the operator and API user to the
failure that has occurred.

Closes-Bug: #1662626

Change-Id: Idfdce9e7dd8106af01db0358ada15737cb846395
(cherry picked from commit b56f8fc2d1)
2017-04-15 18:58:32 +00:00
..
CA
api Merge "Fix unspecified bahavior on GET /servers/detail?tenant_id=X as admin" into stable/ocata 2017-03-08 12:33:09 +00:00
cells Remove straggling use of main db flavors in cellsv1 code 2017-02-11 18:54:48 +00:00
cert Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
cloudpipe Rename security_group parameter in compute.API:create 2016-11-10 11:25:43 -05:00
cmd Allow nova-status to work with custom ca for placement 2017-02-23 14:12:30 +00:00
common cors: update default configuration in config 2016-11-05 20:17:42 -04:00
compute Stop failed live-migrates getting stuck migrating 2017-04-15 18:58:32 +00:00
conductor Add populate_retry to schedule_and_build_instances 2017-03-17 10:15:10 -04:00
conf Merge "Correctly set up deprecation warning" into stable/ocata 2017-03-14 19:41:23 +00:00
console Merge "tests: Replace use of CONF with monkey patching" 2017-01-24 12:03:07 +00:00
consoleauth Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
db Ignore deleted services in minimum version calculation 2017-02-27 12:10:02 -05:00
hacking [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
image Merge "[2/3]Replace six.iteritems() with .items()" 2017-01-21 06:55:52 +00:00
ipv6
keymgr Deprecate barbican options 2016-07-29 15:36:28 -05:00
locale Imported Translations from Zanata 2016-10-27 08:19:38 +00:00
network Merge "os-vif: convert libvirt driver to use os-vif for fast path vhostuser" 2017-01-23 23:32:07 +00:00
notifications Merge "[2/3]Replace six.iteritems() with .items()" 2017-01-21 06:55:52 +00:00
objects Fix live migrate with XenServer 2017-02-16 12:47:09 -05:00
pci [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
policies Separate CRUD policy for server_groups 2016-11-21 11:43:13 -05:00
scheduler Use the keystone session loader in the placement reporting 2017-02-22 16:45:13 -05:00
servicegroup Don't use 'updated_at' to check service's status 2016-12-08 09:51:03 +00:00
tests Stop failed live-migrates getting stuck migrating 2017-04-15 18:58:32 +00:00
virt Merge "Do not attempt to load osinfo if we do not have os_distro" into stable/ocata 2017-04-13 22:53:31 +00:00
vnc
volume Add service_token for nova-cinder interaction 2017-01-11 15:49:16 +00:00
wsgi Clarify the language in the apache wsgi sample 2017-02-02 15:43:25 -08:00
__init__.py
availability_zones.py Port test_metadata to Python 3 2016-11-29 11:28:24 +08:00
baserpc.py
block_device.py Allow None for block_device_mapping_v2.boot_index 2017-02-09 15:20:06 +00:00
cache_utils.py
config.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
context.py Fix Nova to allow using cinder v3 endpoint 2017-01-18 09:19:54 -07:00
crypto.py
debugger.py
exception.py Merge "Block starting compute unless placement conf is provided" 2017-01-31 20:43:44 +00:00
exception_wrapper.py do not include context to exception notification 2017-03-17 13:00:21 -04:00
filters.py
hash_ring.py Ironic: allow multiple compute services 2016-08-04 23:51:13 +00:00
hooks.py
i18n.py
loadables.py
manager.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
policy.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
profiler.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
quota.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00
rpc.py Added instance.reboot.error to the legacy notifications 2017-01-27 19:15:41 +00:00
safe_utils.py
service.py Integrate OSProfiler and Nova 2017-01-18 15:00:14 +07:00
service_auth.py Add service_token for nova-cinder interaction 2017-01-11 15:49:16 +00:00
signature_utils.py
test.py Make api_samples tests use simple cell environment 2017-01-24 09:59:50 -08:00
utils.py Merge "[2/3]Replace six.iteritems() with .items()" 2017-01-21 06:55:52 +00:00
version.py
weights.py
wsgi.py [2/3]Replace six.iteritems() with .items() 2017-01-09 09:11:00 +00:00