[RFE] Neutron ports dns_assignment does not match the designate DNS records for Neutron port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Ussuri |
Fix Released
|
High
|
Unassigned | ||
Victoria |
Fix Released
|
Undecided
|
Unassigned | ||
neutron |
Fix Released
|
Wishlist
|
hamza | ||
neutron (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
High
|
Unassigned |
Bug Description
the Neutron port dns_assignment dont match the designate DNS records assigned to the Neutron port
as explained in the link below
https:/
when a user creates a neutron port using the command below
neutron port-create 37aaff3a-
--dns-name my-vm --dns_domain port-domain.org.
The actual output for dns_assignment is:
{"hostname": "my-vm", "ip_address": "203.0.113.9", "fqdn": "my-vm.
{"hostname": "my-vm", "ip_address": "2001:db8:10::9", "fqdn": "my-vm.
and the Designate DNS records is
67a8e83d-
5a4f671c-
while the expected output for dns-assignment:
{"hostname": "my-vm", "ip_address": "203.0.113.9", "fqdn": "my-vm.
{"hostname": "my-vm", "ip_address": "2001:db8:10::9", "fqdn": "my-vm.
most likely right now the dns_domain is taken from the Neutron network dns_domain or from neutron dns_domain configuration
A good approach would be to always make the dns_assignment for Neutron port synced with the Designate DNS records if Designate is used
=== Ubuntu SRU Details ===
[Impact]
If a network is created it assumed the dns_domain from neutron.conf if one is not provided when the network is created but if it we expect that one to take precendence. We also expect ports created on this network to use the network dns_domain. This was not happening and is fixed with this patch.
[Test Case]
* deploy Openstack Ussuri
* configure neutron-api dns-domain=
* create a network with --dns-domain test.dom2.
* create a vm with port on that network and check that the port is using test.dom2.
* to check the domain for the new port you can use resolvectl inside the vm (dns_domain on the port i neutron will not be set)
[Where things could go wrong]
This will not fix existing networks and ports but is not expected to cause any regressions.
Changed in neutron: | |
milestone: | none → victoria-2 |
description: | updated |
Changed in cloud-archive: | |
status: | New → Fix Released |
Changed in neutron (Ubuntu Focal): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Changed in neutron (Ubuntu): | |
status: | New → Invalid |
I remember we had similar discussions about it in the past. Please check https:/ /bugs.launchpad .net/neutron/ +bug/1826419 and discussion at L3 meeting http:// eavesdrop. openstack. org/meetings/ neutron_ l3/2019/ neutron_ l3.2019- 05-29-14. 00.log. html for more details.
Basically it works as expected so I'm going to close this RFE as Won't fix for now.