There are no THT parameters to define ns_records of /etc/designate/pools.yaml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
In Progress
|
Undecided
|
Yamato Tanaka |
Bug Description
Description
===========
As the following RFC says, parent's NS record and child's NS record must be the same value.
https:/
~~~
As the last installation step, the delegation NS RRs and glue RRs
necessary to make the delegation effective should be added to the parent
zone. The administrators of both zones should insure that the NS and
glue RRs which mark both sides of the cut are consistent and remain so.
6.1. C.ISI.EDU name server
C.ISI.EDU is a name server for the root, MIL, and EDU domains of the IN
class, and would have zones for these domains. The zone data for the
root domain might be:
. IN SOA SRI-NIC.ARPA. HOSTMASTER.
EDU. 86400 NS SRI-NIC.ARPA. <======
86400 NS C.ISI.EDU. <======
The master file for the EDU zone might be stated relative to the origin
EDU. The zone data for the EDU domain might be:
EDU. IN SOA SRI-NIC.ARPA. HOSTMASTER.
~~~
In Designate, NS records comes from ns_records of pools.yaml.
The default value in TripleO is ns1.example.org., ns2.example.org. and ns3.example.org.
~~~
[root@overcloud
ns_records:
- hostname: ns1.example.org.
priority: 1
- hostname: ns2.example.org.
priority: 2
- hostname: ns3.example.org.
priority: 3
(overcloud) [stack@undercloud ~]$ openstack recordset list zone0.designate
+------
| id | name | type | records | status | action |
+------
| 94fd335c-
| 4 | | | ns1.example.org. | | | <===(*)
| | | | ns2.example.org. | | | <===(*)
| ed6d2eaf-
| cc898e975a47 | | | test.example.com. 1670322189 | | |
| | | | 3545 600 86400 3600 | | |
| 2ccc3643-
| e | | | | | |
| 5f15cbd8-
| c | | | | | |
+------
~~~
Therefore, ns_records of pools.yaml is really important parameter when we want to integrate Designate and the internet.
If wen cannot change ns_records of pools.yaml, we cannot integrate Designate and the internet.
We should be able to change ns_records of pools.yaml.
However, it seems that there is no THT value to configure ns_records.
tripleo-ansible : https:/
tripleo-
We should have THT parameter to define ns_records of /etc/designate/
Steps to reproduce
==================
1. deploy overcloud with Designate and BIND9
2. Create a zone
3. NS records and SOA record of the zone shows "nsX.example.org." which is the default value of ns_records of pools.yaml
Expected result
===============
We can change ns_records of /etc/designate/
Actual result
=============
We cannot change ns_records of /etc/designate/
The default value is the following.
~~~
[root@overcloud
ns_records:
- hostname: ns1.example.org.
priority: 1
- hostname: ns2.example.org.
priority: 2
- hostname: ns3.example.org.
priority: 3
~~~
Environment
===========
I saw this issue an Wallaby based environment (RHOSP 17.0)
But there should be the same issue in Master and Zed as well.
Logs & Configs
==============
Changed in tripleo: | |
assignee: | nobody → Yamato Tanaka (yatanaka-1007) |
Fix proposed to branch: master /review. opendev. org/c/openstack /tripleo- ansible/ +/866978
Review: https:/