Doesn't work auto-generation of DNS records

asked 2017-10-14 11:37:56 -0600

iOsX gravatar image

Hi there,

My Openstack release is 3.12.0 (RDO) I have configured DNSaaS with Designate according to this instruction: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/11/html/dns-as-a-service_guide/manual_dnsaas_installation (https://access.redhat.com/documentati...)

Unfortunately, the auto-generation of DNS records does not work. I can see and create new zones and records, but auto-generation during the instance creation does not work. Moreover, no any clue in sink.log file.

My /etc/designate/designate.conf:

[DEFAULT]

verbose = True
debug = False

[oslo_messaging_rabbit]

rabbit_userid = guest
rabbit_password = guest
rabbit_virtual_host = /
rabbit_use_ssl = False
rabbit_hosts = 10.189.128.95:5672
rabbit_ha_queues = False

[service:central]

[service:api]

listen = 0.0.0.0:9001
auth_strategy = keystone
enable_api_v1 = True
api_base_uri = http://10.189.128.95:9001/
enabled_extensions_v1 = diagnostics, quotas, reports, sync, touch
enable_api_v2 = True
enabled_extensions_v2 = quotas, reports

[keystone_authtoken]

auth_host = 10.189.128.95
auth_port = 35357
auth_protocol = http
auth_uri = http://10.189.128.95:5000/v3
identity_uri http://10.189.128.95:35357/v3
admin_tenant_name = services
admin_user = designate
admin_password = redhat

[cors]

[cors.subdomain]

[service:sink]

enabled_notification_handlers = "nova_fixed, neutron_floatingip"

[oslo_messaging_notifications]

enable = True
level = INFO
driver = messaging

[service:mdns]

[service:agent]

[service:producer]

[producer_task:zone_purge]

[producer_task:delayed_notify]

[producer_task:worker_periodic_recovery]

[service:pool_manager]

pool_id = 794ccc2c-d751-44fe-b57f-8894c9f5c842

[pool:794ccc2c-d751-44fe-b57f-8894c9f5c842]

nameservers = 63d6ea49-5e5b-434e-82a9-1f49d50cbc2f
targets = 41262117-d706-4f16-9384-b9a6d1315e49

[pool_nameserver:63d6ea49-5e5b-434e-82a9-1f49d50cbc2f]

port = 53
host = 10.189.128.95

[pool_target:41262117-d706-4f16-9384-b9a6d1315e49]

type = bind9
options = "rndc_host: 10.189.128.95, rndc_port: 953, rndc_key_file: /etc/designate/rndc.key"
masters = 10.189.128.95:5354

[service:worker]

#notify = True

[pool_manager_cache:sqlalchemy]

connection = mysql://designate:redhat@10.189.128.95/designate_pool_manager
max_retries = -1

[pool_manager_cache:memcache]

[network_api:neutron]

[storage:sqlalchemy]

connection = mysql+pymysql://designate:redhat@10.189.128.95/designate

max_retries = -1

[handler:nova_fixed]

domain_id = osp.com.
notification_topics = notifications_designate
control_exchange = 'nova'
formatv4 = '%(hostname)s.%(project)s.%(zone)s'
[handler:neutron_floatingip]
domain_id = osp.com.
notification_topics = notifications_designate
control_exchange = 'neutron'
formatv4 = '%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(zone)s'

[backend:agent:bind9]
[backend:agent:knot2]
[backend:agent:djbdns]
[backend:agent:denominator]
[backend:agent:gdnsd]
[backend:agent:msdns]
[oslo_concurrency]
[coordination]
[monasca:statsd]

Next services are running:

cloud-user@rdo-poc [~] systemctl -l | grep designate
  designate-agent.service                                                                          loaded active running   OpenStack Designate agent
  designate-api.service                                                                            loaded active running   OpenStack Designate API service
  designate-central.service                                                                        loaded active running   OpenStack Designate Central service
  designate-mdns.service                                                                           loaded active running   OpenStack Designate Mini DNS service
  designate-pool-manager.service                                                                   loaded active running   OpenStack Designate Pool Manager service
  designate-zone-manager.service                                                                   loaded active running   OpenStack Designate Zone Manager service

Thanks in advance for your time and cooperation.

Regards iOsX

edit retag flag offensive close merge delete

Comments

Perhaps the quotes are wrong (I know you copied it from RH docs): enabled_notification_handlers = "nova_fixed, neutron_floatingip".

Also look for log entries that contain "sink".

Bernd Bausch gravatar imageBernd Bausch ( 2017-10-16 10:01:52 -0600 )edit