← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1891333] [NEW] neutron designate DNS dns_domain assignment issue

 

Public bug reported:

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                                                                          |
+-----------------------+-----------------------------------------------------------------------------------------------+

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ussuri

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1891333

Title:
  neutron designate DNS  dns_domain assignment issue

Status in neutron:
  New

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                                                                          |
  +-----------------------+-----------------------------------------------------------------------------------------------+

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1891333/+subscriptions


Follow ups