<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Dear list,<br>
<br>
I'm in the process of setting up an Openstack installation for
internal use. The environment consists of these nodes:<br>
- 1 controller node<br>
- 2 compute nodes<br>
<br>
My goal is now to get Designate working for internal domain
resolution paired with automatic record creation from Nova/Neutron.<br>
The steps I did so far:<br>
- Installed and configured Designate
(<a class="moz-txt-link-freetext" href="https://docs.openstack.org/designate/ussuri/install/install-ubuntu.html">https://docs.openstack.org/designate/ussuri/install/install-ubuntu.html</a>)
and Designate dashboard for Horizon
(<a class="moz-txt-link-freetext" href="https://docs.openstack.org/designate-dashboard/ussuri/install/index.html">https://docs.openstack.org/designate-dashboard/ussuri/install/index.html</a>)<br>
- Adjusted handler "neutron_floatingip"<br>
<blockquote>[handler:neutron_floatingip]<br>
notification_topics = notifications_designate<br>
control_exchange = neutron<br>
formatv4 = '%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(zone)s'<br>
formatv4 = '%(hostname)s.%(project)s.%(zone)s'<br>
formatv4 = '%(hostname)s.%(zone)s'<br>
</blockquote>
- Adjusted handler "nova_fixed"<br>
<blockquote>[handler:nova_fixed]<br>
notification_topics = notifications_designate<br>
control_exchange = nova<br>
formatv4 = '%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(zone)s'<br>
formatv4 = '%(hostname)s.%(project)s.%(zone)s'<br>
formatv4 = '%(hostname)s.%(zone)s'<br>
</blockquote>
- Installed Designate-Sink and configured notification_handlers<br>
<blockquote>[service:sink]<br>
workers = 5<br>
enabled_notification_handlers = "nova_fixed, neutron_floatingip"<br>
</blockquote>
- Added notification topic "notifications_designate" to nova.conf
and neutron.conf<br>
<br>
Let's say I have one additional domain configured in Openstack next
to the default domain: "domain1.internal". So I logged in to the new
domain in Horizon, created a few networks, created the new zone
record "domain1.internal." and started a new instance called
"test-vm".<br>
<br>
Expectations:<br>
Nova creates the instance, Neutron creates the required network port
and Designate Sink receives the "Port created" notification via the
"notifications_designate" topic<br>
<br>
Reality:<br>
Nova creates the instance, Neutron creates the required network port
but Designate Sink does nothing. In the designate-api.log I can see
the creation of the "domain1.internal." zone but the
designate-sink.log stays empty<br>
<blockquote>2020-10-20 08:29:19.573 3524893 INFO
designate.api.v2.controllers.zones
[req-31b7fa68-6621-4044-985e-f90c87dd8cae - - - - -] Created
<Zone id:'d7c015ec-5079-450b-866d-f04042221d80' type:'PRIMARY'
name:'domain1.internal.'
pool_id:'794ccc2c-d751-44fe-b57f-8894c9f5c842' serial:'1603182558'
action:'CREATE' status:'PENDING'><br>
</blockquote>
My question is: What piece of configuration did I miss? Is my
desired configuration even possible at all? What I basically want to
achieve is:<br>
- Create an instance using nova<br>
- The instance name automatically get's published in all(?) DNS
zones of the project/Openstack domain<br>
- Instances can resolve other instance names out of this DNS zone<br>
<br>
Thank you very much in advance and regards,<br>
Daniel Heitepriem<br>
<br>
P.S.: Can you please keep my in CC as I'm not subscribed to the list<br>
</body>
</html>