nova/nova/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 Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
hyperv Merge "Share snapshot image membership with instance owner" 2019-03-12 18:43:12 +00:00
image libvirt: virtuozzo instance resize support 2016-06-28 22:13:49 +03: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 Style corrections for privsep usage. 2019-04-01 23:35:53 +00:00
vmwareapi Bump to hacking 1.1.0 2019-04-12 16:23:49 +01:00
xenapi trivial: Remove unused constants, functions 2019-04-03 13:37:29 +00:00
zvm zvm: Remove dead code 2019-04-03 11:27:35 +01:00
__init__.py Declare nova.virt namespace 2016-04-28 15:01:44 +00:00
arch.py Added ability to configure default architecture for ImagePropertiesFilter 2018-05-14 16:55:13 -04:00
block_device.py Override the 'get' method in DriverBlockDevice class 2019-03-21 13:49:55 +00:00
configdrive.py Convert configdrive to use processutils. 2018-05-02 21:42:05 +10:00
driver.py Merge "Extend volume for libvirt network volumes (RBD)" 2019-03-07 00:52:10 +00:00
event.py Port binding based on events during live migration 2018-07-19 09:09:55 -04:00
fake.py Do not persist RequestSpec.ignore_hosts 2019-04-01 15:01:29 +00:00
firewall.py Merge "Remove translation of log messages" 2017-06-20 21:16:49 +00:00
hardware.py Merge "Improve existing flavor and image metadata validation" 2019-03-05 08:57:41 +00:00
imagecache.py Rename ImageCacheManager._list_base_images to _scan_base_images 2016-05-26 14:45:42 +01:00
images.py Improve libvirt image and snapshot handling 2019-03-05 12:18:34 -06:00
interfaces.template
netutils.py libvirt: add vf_trusted field for network metadata 2018-05-30 15:11:59 -04:00
osinfo.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
storage_users.py Remove translation of log messages 2017-06-13 11:20:28 +07:00
virtapi.py Remove unused provider firewall rules functionality in nova 2016-02-01 15:50:04 +01:00