nova/nova/tests/unit/virt
Eric Fried 13278be9f2 Fix {min|max}_version in ironic Adapter setup
Change If625411f40be0ba642baeb02950f568f43673655 introduced
nova.utils.get_ksa_adapter, which accepts min_version and max_version
kwargs to be passed through to the ksa Adapter constructor. These are
supposed to represent minimum and maximum *major* API versions,
min_version was erroneously set to *microversions* when setting up the
Adapter for ironicclient. This commit changes it to a major version.
(Microversion negotiation is done within ironicclient itself.)

Also, this bug went latent for several releases because a) it only seems
to be triggered when region_name is given in the conf; but also b)
ironicclient has code to discover a reasonable endpoint if passed None.
So this change also adds a warning log if we try and fail to discover
the endpoint via ksa.

Change-Id: I34a3f8d4a496217eb01790e2d124111625bf5f85
Closes-Bug: #1825583
2019-04-22 16:41:48 +00:00
..
disk Remove utils.execute() from virt.disk.api. 2018-12-12 09:38:20 +11:00
hyperv Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
image Use assert(Not)Equal instead of assertTrue(A == X) 2016-06-03 16:53:15 +01:00
ironic Fix {min|max}_version in ironic Adapter setup 2019-04-22 16:41:48 +00:00
libvirt Merge "libvirt: set device address tag only if setting disk unit" 2019-04-18 17:32:36 +00:00
powervm trivial: Remove unused constants, functions 2019-04-03 13:37:29 +00:00
vmwareapi Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
xenapi Move slight bonkers IP management to privsep. 2019-03-17 23:19:08 +00:00
zvm Share snapshot image membership with instance owner 2019-02-08 18:06:27 -05:00
__init__.py
fakelibosinfo.py Fix misuse of assertTrue in console and virt tests 2016-02-22 16:09:21 +09:00
test_block_device.py Override the 'get' method in DriverBlockDevice class 2019-03-21 13:49:55 +00:00
test_configdrive.py
test_driver.py Remove usage of parameter enforce_type 2017-04-17 20:23:19 +08:00
test_events.py
test_fake.py
test_firewall.py remove get_nw_info_for_instance from compute.utils 2017-06-13 13:30:06 +02:00
test_hardware.py Improve existing flavor and image metadata validation 2019-03-04 14:29:37 -06:00
test_imagecache.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_images.py qemu: Make disk image conversion dramatically faster 2019-03-18 14:53:39 -05:00
test_netutils.py Remove unnecessary code 2017-07-28 06:01:21 +00:00
test_osinfo.py Do not attempt to load osinfo if we do not have os_distro 2017-03-23 22:07:03 -04:00
test_virt.py Rename block_device_info_get_root 2018-01-11 20:46:13 +00:00
test_virt_drivers.py Switch to using os-resource-classes 2019-02-07 11:11:09 +00:00