Merge "Specify number of threads for designate bind9 backend"

This commit is contained in:
Zuul 2022-09-27 15:01:43 +00:00 committed by Gerrit Code Review
commit 7b7ff1a3fb
3 changed files with 7 additions and 1 deletions

@ -289,6 +289,7 @@ designate_producer_workers: "{{ openstack_service_workers }}"
designate_central_workers: "{{ openstack_service_workers }}"
designate_sink_workers: "{{ openstack_service_workers }}"
designate_mdns_workers: "{{ openstack_service_workers }}"
designate_backend_bind9_workers: "{{ [ansible_facts.processor_vcpus, 32] | min }}"
####################
# Kolla

@ -2,7 +2,7 @@
{% set bind_file = 'bind/named.conf' if kolla_base_distro in ['ubuntu', 'debian'] else 'named.conf' %}
{
"command": "/usr/sbin/{{ bind_cmd }} -g",
"command": "/usr/sbin/{{ bind_cmd }} -U {{ designate_backend_bind9_workers }} -g",
"config_files": [
{
"source": "{{ container_config_directory }}/named.conf",

@ -0,0 +1,5 @@
---
features:
- |
Adds support for configuring a number of UDP workers for Designate's
bind9 backend via the ``designate_backend_bind9_workers`` variable.