dns_domain not getting set with vlan base provider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Recently I have install Victoria openstack using openstack-ansible and integrated with designate DNS service. I am following https:/
neutron-server config: http://
I have set following two options on neutron server
# /etc/neutron/
dns_domain = tux.com.
external_dns_driver = designate
# /etc/neutron/
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_
| binding_host_id | |
| binding_profile | |
| binding_vif_details | |
| binding_vif_type | unbound |
| binding_vnic_type | normal |
| created_at | 2021-01-
| data_plane_status | None |
| description | |
| device_id | |
| device_owner | |
| dns_assignment | fqdn='vm-
| dns_domain | None |
| dns_name | vm-tux |
| extra_dhcp_opts | |
| fixed_ips | ip_address=
| id | fe9aefb6-
| ip_allocation | None |
| mac_address | fa:16:3e:24:5c:38 |
| name | my-port |
| network_id | c17a0287-
| numa_affinity_
| port_security_
| project_id | f1502c79c70f465
| propagate_
| qos_network_
| qos_policy_id | None |
| resource_request | None |
| revision_number | 1 |
| security_group_ids | 2af564c0-
| status | DOWN |
| tags | |
| trunk_details | None |
| updated_at | 2021-01-
+------
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.