Comment 2 for bug 2049503

Revision history for this message
Sven Kieske (s-kieske) wrote :

the culprit seems to be this code:

https://github.com/openstack/kolla-ansible/blob/77c18fa615cc592976ae65a52c0198a14e054876/ansible/roles/neutron/templates/neutron.conf.j2#L65

```
{% if enable_designate | bool %}
{% if designate_ns_record is string %}
dns_domain = {{ designate_ns_record }}.
{% endif %}
external_dns_driver = designate
```

so we only set the dns_domain is designate_ns_record is a string, which I understand is currently a tangled up mess, because we are using a single variable for multiple things, that is "designate_ns_record" is used as a string for dns_domain but as a list(?) for other purposes.

So I guess this is, strictly speaking, a bug, because at least the code should look like something like this (made up example):

```

{% if enable_designate | bool %}
dns_domain = {{ new_made_up_variable_containing_a_single_valid_domain }}.
external_dns_driver = designate
```