neutron designate DNS dns_domain assignment issue

Bug #1891333 reported by Satish Patel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Expired
Undecided
Unassigned

Bug Description

I have deployed openstack using openstack-ansible (ussuri on centos8) I have integrated designate with neutron and trying to verify my setup so i did following.

# Mapping network with dns_domain = foo.com.
openstack network set e7b11bae-e7fa-42c8-9739-862b60d5acce --dns-domain foo.com.

# Creating port to verify dns_domain assignment but as you can see in output its using example.com. which is configured in /etc/neutron/neutron.conf file. (question how do i assign dns_domain for each of my network?)

[root@aio1-utility-container-2f1b7f5e ~]# neutron port-create e7b11bae-e7fa-42c8-9739-862b60d5acce --dns_name my-port-bar
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Created a new port:
+-----------------------+-----------------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+-----------------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | unbound |
| binding:vnic_type | normal |
| created_at | 2020-08-12T13:13:01Z |
| description | |
| device_id | |
| device_owner | |
| dns_assignment | {"ip_address": "192.168.74.8", "hostname": "my-port-bar", "fqdn": "my-port-bar.example.com."} |
| dns_name | my-port-bar |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "7896c02c-d625-4477-a547-2a6641fac05b", "ip_address": "192.168.74.8"} |
| id | e2243a87-5880-4b92-ac43-5d16d1b18cee |
| mac_address | fa:16:3e:e3:00:2a |
| name | |
| network_id | e7b11bae-e7fa-42c8-9739-862b60d5acce |
| port_security_enabled | True |
| project_id | e50d05805d714f63b2583b830170280a |
| revision_number | 1 |
| security_groups | ef55cda9-a64d-46eb-9897-acd1f2bd6374 |
| status | DOWN |
| tags | |
| tenant_id | e50d05805d714f63b2583b830170280a |
| updated_at | 2020-08-12T13:13:01Z |
+-----------------------+-----------------------------------------------------------------------------------------------+

Tags: dns ussuri
Revision history for this message
Bence Romsics (bence-romsics) wrote :

Hi Satish,

A few question to see if we can reproduce this:

What do you have in you neutron config for...

* 'service_plugins'
* ml2 'extension_drivers'
* 'dns_domain' is set to 'example.com.', right?
* the 'external_dns_driver' and all [designate] section settings also may matter just one step after what you're asking about

Are you going for the following use case? Or another one? Which one in that case?

https://docs.openstack.org/neutron/latest/admin/config-dns-int-ext-serv.html#use-case-3c-the-dns-extension

Did you see these constraints for your network?

https://docs.openstack.org/neutron/latest/admin/config-dns-int-ext-serv.html#config-dns-int-ext-serv-net

Could you please share a 'openstack network show' output for your network?

Changed in neutron:
status: New → Incomplete
tags: added: dns
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for neutron because there has been no activity for 60 days.]

Changed in neutron:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.