You need to set extension_drivers = dns_domain_ports for the feature you
want, instead of just dns_domain, cf.
https://docs.openstack.org/neutron/latest/admin/config-dns-
int.html#config-dns-int
** Changed in: designate
Status: In Progress => Invalid
** Also affects: neutron
Importance: Undecided
Status: New
** Changed in: neutron
Status: New => Incomplete
** Tags added: dns
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2119294
Title:
[Caracal][DNSaaS] - dns_domain is empty in port show
Status in Designate:
Invalid
Status in neutron:
Incomplete
Bug description:
+++++++++++++
ENV Details:-
+++++++++++++
OpenStack-Ansible : 2024.1
OS: Ubuntu 22.04
```
root@jj-caracal-online:~# openstack endpoint list | grep -i designate
| 34c883a5b091403790f59523b3c3c16a | RegionOne | designate | dns
| True | internal | http://192.168.131.191:9001 |
| 8dc6548be00e430db0d82ceafac38e73 | RegionOne | designate | dns
| True | public | https://192.168.122.191:9001 |
| 90e848d17472495689adfa99d8b6273b | RegionOne | designate | dns
| True | admin | http://192.168.131.191:9001 |
root@jj-caracal-online:~#
```
++++++
Issue:
++++++
While testing dnsaas dynamically, port is not getting the correct
dns_domain value,
Static, tld, zone and reordset able to create
++++++++++
Procedure:
++++++++++
root@jj-caracal-online:~# openstack network show
54da7858-8fb8-4717-9bb4-e47d2adc33d5 --fit
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | UP |
| availability_zone_hints | |
| availability_zones | nova |
| created_at | 2025-08-01T10:22:21Z |
| description | |
| dns_domain | dnstest.net. |
| id | 54da7858-8fb8-4717-9bb4-e47d2adc33d5 |
| ipv4_address_scope | None |
| ipv6_address_scope | None |
| is_default | None |
| is_vlan_transparent | None |
| mtu | 1450 |
| name | dnsnet |
| port_security_enabled | True |
| project_id | 4d620e29ef8e4a90a3db8535f540fde3 |
| provider:network_type | vxlan |
| provider:physical_network | None |
| provider:segmentation_id | 861 |
| qos_policy_id | None |
| revision_number | 2 |
| router:external | Internal |
| segments | None |
| shared | False |
| status | ACTIVE |
| subnets | 875d8854-c217-46a1-84ba-e375e5e72341 |
| tags | |
| tenant_id | 4d620e29ef8e4a90a3db8535f540fde3 |
| updated_at | 2025-08-01T10:22:44Z |
+---------------------------+--------------------------------------+
root@jj-caracal-online:~#
root@jj-caracal-online:~# openstack tld create --name net
+-------------+--------------------------------------+
| Field | Value |
+-------------+--------------------------------------+
| created_at | 2025-08-01T10:35:51.000000 |
| description | None |
| id | 34674a1c-1272-48ea-b20d-643fdef753f3 |
| name | net |
| updated_at | None |
+-------------+--------------------------------------+
root@jj-caracal-online:~#
root@jj-caracal-online:~# openstack zone create --email
[email protected] dnstest.net.
+----------------+--------------------------------------+
| Field | Value |
+----------------+--------------------------------------+
| action | CREATE |
| attributes | |
| created_at | 2025-08-01T10:36:03.000000 |
| description | None |
| email | [email protected] |
| id | 59695640-7fdf-4c3e-942e-6cef45f7558e |
| masters | |
| name | dnstest.net. |
| pool_id | 1ca39488-6973-4a01-9f12-8762a6af83a2 |
| project_id | 4d620e29ef8e4a90a3db8535f540fde3 |
| serial | 1754044563 |
| shared | False |
| status | PENDING |
| transferred_at | None |
| ttl | 3600 |
| type | PRIMARY |
| updated_at | None |
| version | 1 |
+----------------+--------------------------------------+
root@jj-caracal-online:~#
root@jj-caracal-online:~# openstack port create \
--network 54da7858-8fb8-4717-9bb4-e47d2adc33d5 \
--dns-name vm1 \
dnstestport2
+-------------------------+--------------------------------------------------------------------------+
| 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 | 2025-08-01T11:05:03Z
|
| data_plane_status | None
|
| description |
|
| device_id |
|
| device_owner |
|
| device_profile | None
|
| dns_assignment | fqdn='vm1.openstack.local.', hostname='vm1',
ip_address='3.3.3.166' |
| dns_domain | None
|
| dns_name | vm1
|
| extra_dhcp_opts |
|
| fixed_ips | ip_address='3.3.3.166',
subnet_id='875d8854-c217-46a1-84ba-e375e5e72341' |
| hardware_offload_type | None
|
| hints |
|
| id | 49ecc99d-d05a-475c-9af3-dbdb97877880
|
| ip_allocation | None
|
| mac_address | fa:16:3e:84:ea:e8
|
| name | dnstestport2
|
| network_id | 54da7858-8fb8-4717-9bb4-e47d2adc33d5
|
| numa_affinity_policy | None
|
| port_security_enabled | True
|
| project_id | 4d620e29ef8e4a90a3db8535f540fde3
|
| propagate_uplink_status | None
|
| resource_request | None
|
| revision_number | 1
|
| qos_network_policy_id | None
|
| qos_policy_id | None
|
| security_group_ids | 816289eb-f9f8-4ed7-92d7-35e275f5af13
|
| status | DOWN
|
| tags |
|
| trunk_details | None
|
| updated_at | 2025-08-01T11:05:03Z
|
+-------------------------+--------------------------------------------------------------------------+
root@jj-caracal-online:~#
```
| dns_assignment | fqdn='vm1.openstack.local.', hostname='vm1',
ip_address='3.3.3.166' |
| dns_domain | None
|
```
This assignment is wrong, its pointing to the default
`neutron_dns_domain`
```
openstack extension list --network -f value | grep dns
dns-integration
```
++++++++++++++++
Expected Result:
++++++++++++++++
Port should be created with
```
| dns_assignment | fqdn='vm1.dnstest.net.', hostname='vm1',
ip_address='3.3.3.166' |
| dns_domain | dnstest.net.
|
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/designate/+bug/2119294/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp