← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1860612] [NEW] OVN agent devstack script doesn't support IPv6

 

Public bug reported:

The OVN agent devstack script (devstack/lib/ovn_agent) doesn't support
IPv6 in a few ways:

1) ovsdb-server is hardcoded to listen on 127.0.0.1, should use
$SERVICE_LOCAL_HOST

2) ovn-northd is hardcoded to listen on 0.0.0.0, should use
$SERVICE_HOST

3) networking-ovn-metadata-agent ini file uses IPv6 addresses with [],
which will fail:

   ERROR neutron oslo_config.cfg.ConfigFileValueError: Value for option nova_metadata_host from
   LocationInfo(location=<Locations.user: (4, True)>, detail='/etc/neutron
   /networking_ovn_metadata_agent.ini') is not valid: [2620:52:0:1238:ea0c:6be4:3749:210a] is not a
   valid host address

Fixing these three things gets an IPv6-only OVN deployment devstack
running :) and is required to get the new IPv6-only gate job to pass -
https://review.opendev.org/#/c/700939/

Since I already had a change fixing #3 I will just put the other two
changes in that as well, https://review.opendev.org/#/c/703685/

** Affects: neutron
     Importance: High
     Assignee: Brian Haley (brian-haley)
         Status: Confirmed


** Tags: ovn

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1860612

Title:
  OVN agent devstack script doesn't support IPv6

Status in neutron:
  Confirmed

Bug description:
  The OVN agent devstack script (devstack/lib/ovn_agent) doesn't support
  IPv6 in a few ways:

  1) ovsdb-server is hardcoded to listen on 127.0.0.1, should use
  $SERVICE_LOCAL_HOST

  2) ovn-northd is hardcoded to listen on 0.0.0.0, should use
  $SERVICE_HOST

  3) networking-ovn-metadata-agent ini file uses IPv6 addresses with [],
  which will fail:

     ERROR neutron oslo_config.cfg.ConfigFileValueError: Value for option nova_metadata_host from
     LocationInfo(location=<Locations.user: (4, True)>, detail='/etc/neutron
     /networking_ovn_metadata_agent.ini') is not valid: [2620:52:0:1238:ea0c:6be4:3749:210a] is not a
     valid host address

  Fixing these three things gets an IPv6-only OVN deployment devstack
  running :) and is required to get the new IPv6-only gate job to pass -
  https://review.opendev.org/#/c/700939/

  Since I already had a change fixing #3 I will just put the other two
  changes in that as well, https://review.opendev.org/#/c/703685/

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1860612/+subscriptions


Follow ups