nova/nova/tests
John Garbutt 017e853b95 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.

For backport into Newton, 'migrate_instance_start' had to be patched
in the unit test (nova/tests/unit/compute/test_compute.py).

Closes-Bug: #1662626

Change-Id: Idfdce9e7dd8106af01db0358ada15737cb846395
(cherry picked from commit b56f8fc2d1)
(cherry picked from commit 012fa9353f)
2017-06-14 16:24:21 +00:00
..
functional Merge "Removal of tests with different result depending on testing env" into stable/newton 2017-03-08 05:41:45 +00:00
live_migration/hooks Use tempest tox with regex first 2016-09-19 20:05:16 +00:00
unit Stop failed live-migrates getting stuck migrating 2017-06-14 16:24:21 +00:00
__init__.py
fixtures.py Use StableObjectJsonFixture from o.vo 2016-08-29 11:52:10 -04:00
uuidsentinel.py Add uuidsentinel test module 2015-12-14 11:28:55 +01:00