nova/nova/tests/functional
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
..
api Use unique consumer_id when doing online data migration 2018-10-16 15:30:38 -04:00
api_sample_tests Merge "Add microversion 2.67 to support volume_type" 2018-10-13 18:46:09 +00:00
compute Handle volume API failure in _post_live_migration 2018-10-15 19:47:51 -04:00
db Handle missing marker during online data migration 2018-10-04 12:13:09 -04:00
libvirt Refactor NeutronFixture 2018-09-17 11:29:36 +00:00
notification_sample_tests Reject forced move with nested source allocation 2018-10-25 15:44:59 +02:00
regressions Remove the CachingScheduler 2018-10-18 17:55:36 -04:00
wsgi Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
__init__.py
api_paste_fixture.py Remove legacy v2 API functional tests 2016-05-04 18:17:23 +08:00
api_samples_test_base.py Remove unused request API sample template 2018-08-03 07:00:13 +00:00
integrated_helpers.py Refactor allocation checking in functional tests 2018-10-04 15:07:31 +02:00
test_aggregates.py Fix docs and add functional test for AggregateMultiTenancyIsolation 2018-09-13 16:46:53 -04:00
test_compute_mgr.py remove unnecessary conf imports 2018-03-09 14:30:10 -05:00
test_images.py Add create image functional negative tests 2016-12-26 14:15:14 +09:00
test_instance_actions.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_legacy_v2_compatible_wrapper.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_list_servers_ip_filter.py Trivial: Nix duplicate PlacementFixture() in test 2017-12-01 15:39:28 -06:00
test_login.py update api_samples code to use better variables 2015-12-14 11:23:26 +08:00
test_metadata.py Remove unused logging import 2017-02-17 15:17:51 +07:00
test_middleware.py Removes unnecessary utf-8 encoding 2016-12-20 10:27:01 +07:00
test_multiattach.py Improve NeutronFixture and remove unncessary stubbing 2018-08-02 15:15:03 +02:00
test_nova_manage.py Remove the CachingScheduler 2018-10-18 17:55:36 -04:00
test_report_client.py Consumer gen support for put allocations 2018-09-25 13:02:02 +02:00
test_server_group.py Add functional test for live migrate with anti-affinity group 2018-08-29 15:55:16 -04:00
test_servers.py Reject forced move with nested source allocation 2018-10-25 15:44:59 +02:00