Properly Use Network's DNS Domain in Assignment and DHCP
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
In Progress
|
Medium
|
Jay Jahns |
Bug Description
When we were trying to register an instance via agent to an external cloud backup service, the instance returned a FQDN not consistent with what its floating IP was set to, and not what the service needs to return a successful registration.
We are using Designate and OVN/ML2 on 2023.2 in a production environment.
The dns_domain value of the project network was configured with the zone that was created in Designate, thus allowing floating IP addresses to create records accordingly.
However, the dns_domain of the network is not used in dns_assignment, nor is it used as the search domain, as it uses the conf value alone.
There was an attempt made to fix the DHCP side of this:
https:/
It was reverted in this change:
https:/
Adjusting the ML2 extension for DNS can result in the necessary dns_assignment changes, which in-turn, update the lease in dnsmasq; however, it does not incorporate the search domain update. Functionally, this one change seems to have fixed the registration problems we were experiencing, but I can see where the search domain could also have impacts.
Other use cases include externally managed automation, such as AWX/Ansible, which may rely on the FQDN being returned back by the instance in order to function correctly.
Considering this is in the critical path for us to have functional, I believe that it merits discussion for change.
Changed in neutron: | |
importance: | Undecided → Medium |
tags: | added: dns |
Changed in neutron: | |
assignee: | nobody → Jay Jahns (jayjahns) |
Fix proposed to branch: master /review. opendev. org/c/openstack /neutron/ +/920459
Review: https:/