nova/nova/tests
Matt Riedemann bfc8d1052b Add regression test for bug 1797580
Microversion 2.56 allows cold migrating to a specified target host. The
compute API sets the requested destination on the request spec with the
specified target host and then conductor sends that request spec to the
scheduler to validate the host. Conductor later persists the changes to
the request spec because it's the resize flow and the flavor could change
(even though in this case it won't since it's a cold migrate). After
confirming the resize, if the server is live migrated it will fail during
scheduling because of the persisted RequestSpec.requested_destination
from the cold migration, and you can't live migrate to the same host on
which the instance is currently running.

This change adds a test to recreate the regression bug.

Change-Id: I588655fdd90917d00ccf5eb0a8df7bccc1ac0e81
Related-Bug: #1797580
2018-10-12 11:39:00 -04:00
..
functional Add regression test for bug 1797580 2018-10-12 11:39:00 -04:00
live_migration/hooks Stop setting glance_api_version in cinder.conf in nova-live-migration 2018-07-03 09:55:26 -04:00
unit Merge "Add compute API validation for when a volume_type is requested" 2018-10-12 05:56:48 +00:00
__init__.py
fixtures.py Replace usage of get_legacy_facade() with get_engine() 2018-09-28 22:10:06 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00