The Newton release of Designate adds two new services designate-producer, designate-worker. These replace designate-zone-manager and designate-pool-manager, respectively. In a future cycle, the old services will be removed, and the new ones will be enabled by default. In Newton, you must enable the new services yourself. Designate will work with both configurations, as there is no breaking change from Mitaka.
The default port the designate-agent service listens on has changed from 53 to 5358. This matches the port we have always used in the sample configuration, and the port used in the agent backend class.
To enable the new services with minimal impact, the following process can be followed. This assumes you have all Mitaka Designate services running.
Deploy the Newton code.
Add the [service:worker] and [service:producer] sections to your configuration file. Ensure enabled and notify in the worker section are True.
[service:worker] enabled = True #workers = None #threads = 1000 #threshold_percentage = 100 #poll_timeout = 30 #poll_retry_interval = 15 #poll_max_retries = 10 #poll_delay = 5 notify = True [service:producer] #workers = None #threads = 1000 # Can be any/all of: periodic_exists, delayed_notify, worker_periodic_recovery # None => All tasks enabled #enabled_tasks = None [producer_task:domain_purge] #interval = 3600 # 1h #batch_size = 100 #time_threshold = 604800 # 7 days [producer_task:delayed_notify] #interval = 5 [producer_task:worker_periodic_recovery] #interval = 120
Stop the designate-pool-manager and designate-zone-manager processes.
Restart the designate-api, designate-central and designate-mdns services.
Start the designate-producer and designate-worker services.