nova/nova/tests
Balazs Gibizer fd351903a1 Reject forced move with nested source allocation
Both os-migrateLive and evacuate server API actions support a force
flag. If force is set to True in the request then nova does not call the
scheduler but instead tries to blindly copy the source host allocation
to the desitnation host. If the source host allocation contains
resources from more than the root RP then such blind copy cannot be done
properly. Therefore this patch detects such situation and rejects
the forced move operation if the server has complex allocations on the
source host.

There is a separate bluperint
remove-force-flag-from-live-migrate-and-evacuate that will remove the
force flag in a new API microversion.

Note that before the force flag was added to these APIs Nova bypassed the
scheduler when the target host was specified.

Blueprint: use-nested-allocation-candidates
Change-Id: I7cbd5d9fb875ebf72995362e0b6693492ce32051
2018-10-25 15:44:59 +02:00
..
functional Reject forced move with nested source allocation 2018-10-25 15:44:59 +02: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 Reject forced move with nested source allocation 2018-10-25 15:44:59 +02:00
__init__.py
fixtures.py Merge "Add microversion 2.67 to support volume_type" 2018-10-13 18:46:09 +00:00
json_ref.py Transform instance.exists notification 2018-06-05 12:51:30 +00:00