yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #81453
[Bug 1860612] Re: OVN agent devstack script doesn't support IPv6
Reviewed: https://review.opendev.org/703685
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7fa564ba2cc9e894c742f18efdce8715de4f1088
Submitter: Zuul
Branch: master
commit 7fa564ba2cc9e894c742f18efdce8715de4f1088
Author: Brian Haley <bhaley@xxxxxxxxxx>
Date: Tue Jan 21 15:02:15 2020 -0500
Fix OVN agent devstack script to support IPv6
There are variables in devstack that should be used
for services listening endpoints which change depending
on what SERVICE_IP_VERSION is set to, 4 or 6. Use them
in the ovn_agent script to support IPv6.
Change ovsdb-server to listen on [$SERVICE_LOCAL_HOST]
if IPv6, else 127.0.0.1 if IPv4.
Change ovn-northd to listen on 0.0.0.0 instead of
$SERVICE_LISTEN_ADDRESS.
Un-quote the metadata host address if it is IPv6, i.e.
2001:db8::1, not [2001:db8::1].
Closes-bug: #1860612
Change-Id: I5e9b6b70b502caf9dd6ec78f293f9d4b5b45e360
** 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/1860612
Title:
OVN agent devstack script doesn't support IPv6
Status in neutron:
Fix Released
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
References