summaryrefslogtreecommitdiff
path: root/neutron/conf
diff options
context:
space:
mode:
authorBence Romsics <bence.romsics@gmail.com>2023-03-06 13:04:01 +0100
committerBrian Haley <haleyb.dev@gmail.com>2023-04-04 09:39:19 -0400
commit2aee961ab6942ab59aeacdc93d918c8c19023041 (patch)
treee1f00b2f6d5454f0fe6abc641b129b144ab165f1 /neutron/conf
parent3eb907c1f413c82d45b24c586da9a9a64b402c6f (diff)
downloadneutron-2aee961ab6942ab59aeacdc93d918c8c19023041.tar.gz
Suppress IPv6 metadata DAD failure and delete address
IPv4 DAD is non-existent in Linux or its failure is silent, so we never needed to catch and ignore it. On the other hand IPv6 DAD failure is explicit, hence comes this change. This of course leaves the metadata service dead on hosts where duplicate address detection failed. But if we catch the DADFailed exception and delete the address, at least other functions of the dhcp-agent should not be affected. With this the IPv6 isolated metadata service is not redundant, which is the best we can do without a redesign. Also document the promised service level of isolated metadata. Added additional tests for the metadata driver as well. Change-Id: I6b544c5528cb22e5e8846fc47dfb8b05f70f975c Partial-Bug: #1953165
Diffstat (limited to 'neutron/conf')
-rw-r--r--neutron/conf/agent/database/agentschedulers_db.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/neutron/conf/agent/database/agentschedulers_db.py b/neutron/conf/agent/database/agentschedulers_db.py
index f58e0b2771..a46a18a262 100644
--- a/neutron/conf/agent/database/agentschedulers_db.py
+++ b/neutron/conf/agent/database/agentschedulers_db.py
@@ -33,7 +33,9 @@ AGENTS_SCHEDULER_OPTS = [
'network. If this number is greater than 1, the '
'scheduler automatically assigns multiple DHCP agents '
'for a given tenant network, providing high '
- 'availability for the DHCP service.')),
+ 'availability for the DHCP service. However this does '
+ 'not provide high availability for the IPv6 metadata '
+ 'service in isolated networks.')),
cfg.BoolOpt('enable_services_on_agents_with_admin_state_down',
default=False,
help=_('Enable services on an agent with admin_state_up '