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.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/876566 /opendev. org/openstack/ neutron/ commit/ 2aee961ab6942ab 59aeacdc93d918c 8c19023041
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 2aee961ab6942ab 59aeacdc93d918c 8c19023041
Author: Bence Romsics <email address hidden>
Date: Mon Mar 6 13:04:01 2023 +0100
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: I6b544c5528cb22 e5e8846fc47dfb8 b05f70f975c
Partial-Bug: #1953165