Reviewed: https://review.openstack.org/608468 Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=85588ad38e3a08137f4f7b4be98ce271064eb2f0 Submitter: Zuul Branch: master
commit 85588ad38e3a08137f4f7b4be98ce271064eb2f0 Author: aojeagarcia <aojeagar...@suse.com> 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: Ibfebffcec2c8860237a1f151084de978a7863bd8 Signed-off-by: aojeagarcia <aojeagar...@suse.com> ** Changed in: neutron Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1796593 Title: metadata agent can't use ipv6 addresses for nova_metadata_host Status in neutron: Fix Released Bug description: It's a known issue that metadata services don't work for ipv6-only tenant networks [1] However, it can be possible that operators want to use ipv4 and ipv6 tenant networks with an underlay ipv6 infra. This doesn't work as you can see in the devstack failure [2] because the metadata agent, when building the request, doesn't check if the nova_metadata_host is an ipv6 address to add the corresponding square brackets [3]. [1] https://bugs.launchpad.net/neutron/+bug/1460177 [2] http://logs.openstack.org/68/608168/5/check/tempest-full-py3/d2321db/controller/logs/screen-q-meta.txt.gz#_Oct_07_18_00_37_770322 [3] https://github.com/openstack/neutron/blob/3e579256a36e66960495da2f303b5a6e37f644a6/neutron/agent/metadata/agent.py#L180 To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1796593/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp