This is the expected behaviour, you can override the dns-domain per
port, if you do not specify it, the value is taken from the associated
network, but it is not copied into the field for the port. Otherwise a
change of the dns-domain for the network would no longer affect the
port.

** Changed in: neutron
       Status: New => Invalid

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

Title:
  dns_domain not getting set with vlan base provider

Status in neutron:
  Invalid

Bug description:
  Recently I have install Victoria openstack using openstack-ansible and
  integrated with designate DNS service. I am following
  https://docs.openstack.org/mitaka/networking-guide/config-dns-int.html

  neutron-server config: http://paste.openstack.org/show/801906/

  I have set following two options on neutron server
  # /etc/neutron/neutron.conf
  dns_domain = tux.com.
  external_dns_driver = designate 

  # /etc/neutron/plugins/ml2/ml2_conf.ini
  extension_drivers = port_security,dns

  # set dns-domain to network and i can see that in show command its properly 
set.
  openstack network set net_vlan69 --dns-domain tux.com.

  When i created port or launch instance i have noticed dns_domain
  attribute is None. (because of that i can't see my record getting
  updated on designate.

  $ openstack port create --network net_vlan69 --dns-name vm-tux my-port
  
+-------------------------+----------------------------------------------------------------------------+
  | Field                   | Value                                             
                         |
  
+-------------------------+----------------------------------------------------------------------------+
  | admin_state_up          | UP                                                
                         |
  | allowed_address_pairs   |                                                   
                         |
  | binding_host_id         |                                                   
                         |
  | binding_profile         |                                                   
                         |
  | binding_vif_details     |                                                   
                         |
  | binding_vif_type        | unbound                                           
                         |
  | binding_vnic_type       | normal                                            
                         |
  | created_at              | 2021-01-24T06:05:05Z                              
                         |
  | data_plane_status       | None                                              
                         |
  | description             |                                                   
                         |
  | device_id               |                                                   
                         |
  | device_owner            |                                                   
                         |
  | dns_assignment          | fqdn='vm-tux.tux.com.', hostname='vm-tux', 
ip_address='10.69.1.236'        |
  | dns_domain              | None                                              
                         |
  | dns_name                | vm-tux                                            
                         |
  | extra_dhcp_opts         |                                                   
                         |
  | fixed_ips               | ip_address='10.69.1.236', 
subnet_id='dfbe8e18-25fa-4271-9ba5-4616eb7d56de' |
  | id                      | fe9aefb6-fffb-4cae-94a4-11895223cdf9              
                         |
  | ip_allocation           | None                                              
                         |
  | mac_address             | fa:16:3e:24:5c:38                                 
                         |
  | name                    | my-port                                           
                         |
  | network_id              | c17a0287-82b0-4976-90f7-403b60a185e4              
                         |
  | numa_affinity_policy    | None                                              
                         |
  | port_security_enabled   | True                                              
                         |
  | project_id              | f1502c79c70f4651be8ffc7b844b584f                  
                         |
  | propagate_uplink_status | None                                              
                         |
  | qos_network_policy_id   | None                                              
                         |
  | qos_policy_id           | None                                              
                         |
  | resource_request        | None                                              
                         |
  | revision_number         | 1                                                 
                         |
  | security_group_ids      | 2af564c0-67df-44a9-bdcd-2d85b57628b4              
                         |
  | status                  | DOWN                                              
                         |
  | tags                    |                                                   
                         |
  | trunk_details           | None                                              
                         |
  | updated_at              | 2021-01-24T06:05:06Z                              
                         |
  
+-------------------------+----------------------------------------------------------------------------+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to