nova/nova/tests/functional/notification_sample_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
..
__init__.py Adds json sample for the versioned notifications 2016-01-28 15:31:21 +01:00
notification_sample_base.py Raise error on timeout in wait_for_versioned_notifications 2018-09-29 00:29:49 +01:00
test_aggregate.py Transform aggregate.update_prop notification 2018-07-15 23:36:31 +09:00
test_exception_notification.py Add full traceback to ExceptionPayload in versioned notifications 2018-06-19 16:46:46 +08:00
test_flavor.py Add microversion to allow setting flavor description 2017-11-15 22:10:39 +00:00
test_instance.py Reject forced move with nested source allocation 2018-10-25 15:44:59 +02:00
test_keypair.py Transform keypair.import notification 2017-10-30 16:44:29 -04:00
test_libvirt.py Transform libvirt.error notification 2018-09-18 07:06:09 +00:00
test_metrics.py Transform metrics.update notification 2018-07-18 09:13:27 +09:00
test_server_group.py Microversion 2.64 - Use new format policy in server group 2018-07-13 10:43:42 +08:00
test_service.py Use nova.db.api directly 2018-07-10 14:56:27 +00:00
test_volume.py Transform volume.usage notification 2018-10-09 06:28:11 +00:00