From 77f5c3893c0ed56c62c72d5d50dcdd9faf10cf0f Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Mon, 6 Jul 2020 10:23:22 -0700 Subject: [PATCH] Add a router to the lb-mgmt-net for slaac Neutron now needs to have a router attached to the subnet to provide the router advertisement messages needed for slaac address configuration. This patch adds this router to the lb-mgmt-network, allowing the amphora instances to configure an IPv6 address. Change-Id: I638c5c8baf1d76365fff2c99ded9c6b310348710 --- devstack/plugin.sh | 3 +++ zuul.d/projects.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 0e0c6db63e..5113a59321 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -502,6 +502,9 @@ function build_mgmt_network { openstack network create lb-mgmt-net if [ $SERVICE_IP_VERSION == '6' ] ; then openstack subnet create --subnet-range $OCTAVIA_MGMT_SUBNET_IPV6 --allocation-pool start=$OCTAVIA_MGMT_SUBNET_IPV6_START,end=$OCTAVIA_MGMT_SUBNET_IPV6_END --network lb-mgmt-net --ip-version 6 --ipv6-address-mode slaac --ipv6-ra-mode slaac lb-mgmt-subnet + # SLAAC needs a router on the subnet to advertise the prefix. + openstack router create lb-mgmt-router + openstack router add subnet lb-mgmt-router lb-mgmt-subnet else openstack subnet create --subnet-range $OCTAVIA_MGMT_SUBNET --allocation-pool start=$OCTAVIA_MGMT_SUBNET_START,end=$OCTAVIA_MGMT_SUBNET_END --network lb-mgmt-net lb-mgmt-subnet fi diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index 98e7381b53..fdb30ecda1 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -52,6 +52,9 @@ - octavia-v2-dsvm-scenario-two-node: irrelevant-files: *irrelevant-files voting: false + - octavia-v2-dsvm-scenario-ipv6-only: + irrelevant-files: *irrelevant-files + voting: false - octavia-v2-dsvm-scenario-amphora-v2: irrelevant-files: *irrelevant-files voting: false