← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1796593] [NEW] metadata agent can't use ipv6 addresses for nova_metadata_host

 

Public bug reported:

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

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ipv6

** Tags added: ipv6

-- 
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:
  New

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


Follow ups