nova/nova/tests/functional
Kashyap Chamarthy 4b3e877210 libvirt: Remove usage of migrateToURI{2} APIs
The recently updated minimum required libvirt version (1.3.1; in commit
403320b -- libvirt: Bump MIN_{LIBVIRT,QEMU}_VERSION for "Rocky") brings
in the newer libvirt migration API, migrateToURI3().  The newer API was
explicitly designed[*] to be backward compatible with the older variant.

So remove the usage of the older variants:

    migrateToURI()
    migrateToURI2()

And just stick to the newer API -- migrateToURI3().

Clean up the following:

 - Add the 'migrate_disks' and 'destination_xml' paramters, and remove
   the no longer needed 'domain_xml' from the Nova migrate() method.

 - Remove or fix various unit tests to use migrateToURI3().

 - Stub nova.virt.libvirt.guest.Guest.migrate() correctly in
   nova/tests/unit/virt/test_virt_drivers.py.

[*] https://libvirt.org/git/?p=libvirt.git;a=commit;h=4bf62f4 --
    Extensible migration APIs

Change-Id: Id9ee1feeadf612fa79c3d280cee3a614a74a00a7
Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
2018-07-31 18:57:28 +02:00
..
api Merge "[placement] disallow additional fields in allocations" 2018-07-23 18:56:26 +00:00
api_sample_tests API: add support to abort queued live migration in microversion 2.65 2018-07-16 13:57:11 -04:00
compute Use nova.db.api directly 2018-07-10 14:56:27 +00:00
db Merge "Add policy to InstanceGroup object" 2018-07-12 14:34:04 +00:00
libvirt FakeLibvirtFixture: mock get_fs_info 2018-07-24 12:37:59 +00:00
notification_sample_tests Transform metrics.update notification 2018-07-18 09:13:27 +09:00
regressions libvirt: Remove usage of migrateToURI{2} APIs 2018-07-31 18:57:28 +02:00
wsgi Fix regression when listing build_requests with marker and ip filter 2018-06-19 15:56:27 -04:00
__init__.py move eventlet GREENDNS override to top level 2014-12-08 17:41:03 -05:00
api_paste_fixture.py Remove legacy v2 API functional tests 2016-05-04 18:17:23 +08:00
api_samples_test_base.py Add pagination and changes-since for instance-actions 2017-12-14 07:42:17 +00:00
integrated_helpers.py Add method to get cpu traits 2018-07-24 12:37:46 +00:00
test_aggregates.py mirror nova host aggregate members to placement 2018-05-30 12:45:20 -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 make microversion a client level construct for tests 2016-02-24 11:02:05 -05:00
test_legacy_v2_compatible_wrapper.py Trivial-Fix: Fix typos 2016-06-13 06:41:08 +00: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 [api] Allow multi-attach in compute api 2018-01-22 10:45:13 -05:00
test_nova_manage.py Heal allocations with incomplete consumer information 2018-07-13 11:29:54 -04:00
test_report_client.py Use consumer generation in _heal_allocations_for_instance 2018-07-23 14:09:55 -04:00
test_server_group.py Merge "Microversion 2.64 - Use new format policy in server group" 2018-07-16 15:41:57 +00:00
test_servers.py Heal RequestSpec.is_bfv for legacy instances during moves 2018-07-23 12:24:10 -04:00