IPv6 dns nameservers described with their scope on the IP are not supported
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| neutron |
Fix Released
|
Medium
|
Elvira García Ruiz | ||
| oslo.utils |
Fix Released
|
Undecided
|
Elvira García Ruiz | ||
Bug Description
When updating a port, we sometimes need to check dns nameserver ips. When this happens, if the DNS resolver file (resolv.conf) includes an address with scope like fe80::5054:
On a normal scenario, this means that the metadata port cannot be spawned and therefore no VMs can be properly configured using metadata.
[resolv.conf example]
# Generated by NetworkManager
nameserver 10.0.0.1
nameserver fe80::5054:
nameserver 2620:52:0:13b8::fe
This was found on an environment using Train, but affects every version.
100% Reproducible, just need to try to spawn a VM on an environment with the resolv.conf similar to the example.
Traceback found on controller logs: https:/
From the compute logs we see the metadata port was deleted after the exception:
2024-07-18 04:38:06.036 49524 DEBUG networking_
| Changed in oslo.utils: | |
| assignee: | nobody → Elvira García Ruiz (elviragr) |
| Changed in neutron: | |
| importance: | Undecided → Medium |
| tags: | added: ipv6 |
| Changed in neutron: | |
| status: | New → In Progress |
| Changed in oslo.utils: | |
| status: | New → In Progress |
| Changed in oslo.utils: | |
| status: | In Progress → Fix Released |

Fix proposed to branch: master /review. opendev. org/c/openstack /oslo.utils/ +/925469
Review: https:/