commit 2fba9f42b92bbe7ec24a5549251daa8af1049578
Author: aojeagarcia <email address hidden>
Date: Sun Oct 7 23:17:08 2018 +0200
Allow Ipv6 addresses for nova_metadata_host
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
Reviewed: https:/ /review. openstack. org/610192 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2fba9f42b92 bbe7ec24a554925 1daa8af1049578
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit 2fba9f42b92bbe7 ec24a5549251daa 8af1049578
Author: aojeagarcia <email address hidden>
Date: Sun Oct 7 23:17:08 2018 +0200
Allow Ipv6 addresses for nova_metadata_host
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: Ibfebffcec2c886 0237a1f151084de 978a7863bd8 37f4f7b4be98ce2 71064eb2f0)
Signed-off-by: aojeagarcia <email address hidden>
(cherry picked from commit 85588ad38e3a081