1984372973
Current logic didn't check if the nova_metadata_host is an IPv6 address
causing the proxy request to fail with an exception because the url is
not valid.
This patchs check if the nova_metadata_host is an IPv6 address and
create a valid url enclosing the IPv6 address with brackets
Closes-Bug: #1796593
Change-Id: Ibfebffcec2c8860237a1f151084de978a7863bd8
Signed-off-by: aojeagarcia <aojeagarcia@suse.com>
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
_deprecate.py | ||
cache_utils.py | ||
config.py | ||
constants.py | ||
eventlet_utils.py | ||
exceptions.py | ||
ipv6_utils.py | ||
profiler.py | ||
rpc.py | ||
test_lib.py | ||
utils.py |