Two pool designate is not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
We have a OSA rocky 18.1.19 setup. I have configure two pools in pools.yaml. But when creating a zone targeting a specific pool, I am receiving the error "multiple_
pools.yaml
------------
- name: default
description: Default BIND9 Pool
attributes: {}
nameservers:
- host: 172.29.236.18
port: 53
- host: 172.29.236.19
port: 53
ns_records:
- hostname: dns1.
priority: 1
- hostname: dns2.
priority: 1
targets:
- type: bind9
masters:
- host: 172.29.236.103
port: 5354
options:
host: 172.29.236.18
port: 53
- type: bind9
masters:
- host: 172.29.236.103
port: 5354
options:
host: 172.29.236.19
port: 53
- name: standard_pool
description: The standard pool
attributes:
service_tier: exclusive
ns_records:
- hostname: dns1.
priority: 1
nameservers:
- host: 172.29.236.19
port: 53
targets:
- type: bind9
description: bind9 golden master
masters:
- host: 172.29.236.103
port: 5354
options:
host: 172.29.236.19
port: 53
rndc_host: 172.29.236.19
rndc_port: 953
-------
designate.conf
-----------------
[DEFAULT]
use_journal = True
# Disable stderr logging
use_stderr = False
#######
## General Configuration
#######
# Show debugging output in logs (sets DEBUG log level output)
debug = True
# Top-level directory for maintaining designate's state
#state_path = /var/lib/designate
# Root helper
root_helper = sudo designate-rootwrap /etc/designate/
# Which networking API to use, Defaults to neutron
#network_api = neutron
## RabbitMQ RPC
transport_url = rabbit:
# RabbitMQ Config
[oslo_messaging
ssl = True
rabbit_
rabbit_
[oslo_messaging
transport_url = rabbit:
#######
## Service Configuration
#######
#------
# Central Service
#------
[service:central]
# Number of central worker processes to spawn
#workers = None
# Number of central greenthreads to spawn
#threads = 1000
# Maximum domain name length
#max_domain_
# Maximum recordset name length
#max_recordset_
# Minimum TTL
#min_ttl = None
# The name of the default pool
default_pool_id = '794ccc2c-
scheduler_filters = attribute
## Managed resources settings
# Email to use for managed resources like domains created by the FloatingIP API
#managed_
# Tenant ID to own all managed resources - like auto-created records etc.
managed_
#------
# API Service
#------
[service:api]
# Number of api worker processes to spawn
#workers = None
# Number of api greenthreads to spawn
#threads = 1000
# Enable host request headers
enable_host_header = True
# The base uri used in responses
#api_base_uri = 'http://
# Address to bind the API server
#api_host = 0.0.0.0
# Port to bind the API server
#api_port = 9001
# Maximum line size of message headers to be accepted. max_header_line may
# need to be increased when using large tokens (typically those generated by
# the Keystone v3 API with big service catalogs).
#max_header_line = 16384
# Authentication strategy to use - can be either "noauth" or "keystone"
auth_strategy = keystone
# Enable API Version 2
enable_api_v2 = True
# Enabled API Version 2 extensions
enabled_
# Default per-page limit for the V2 API, a value of None means show all results
# by default
#default_limit_v2 = 20
# Max page size in the V2 API
#max_limit_v2 = 1000
# Enable Admin API (experimental)
enable_api_admin = False
# Enabled Admin API extensions
# Can be one or more of : reports, quotas, counts, tenants, zones
# zone export is in zones extension
#enabled_
# Default per-page limit for the Admin API, a value of None means show all results
# by default
#default_
# Max page size in the Admin API
#max_limit_admin = 1000
# Show the pecan HTML based debug interface (v2 only)
# This is only useful for development, and WILL break python-
# if an error occurs
#pecan_debug = False
#------
# Keystone Middleware
#------
[keystone_
insecure = False
auth_type = password
auth_url = http://
www_authenticat
project_domain_id = default
user_domain_id = default
project_name = service
username = designate
password = 25aa47df214106b76
memcached_servers = 172.29.
#------
# Sink Service
#------
[service:sink]
# List of notification handlers to enable, configuration of these needs to
# correspond to a [handler:my_driver] section below or else in the config
# Can be one or more of : nova_fixed, neutron_floatingip
#enabled_
#------
# mDNS Service
#------
[service:mdns]
# Number of mdns worker processes to spawn
#workers = None
# Number of mdns greenthreads to spawn
#threads = 1000
# mDNS Bind Host
#host = 0.0.0.0
# mDNS Port Number
#port = 5354
# mDNS TCP Backlog
#tcp_backlog = 100
# mDNS TCP Receive Timeout
#tcp_recv_timeout = 0.5
# Enforce all incoming queries (including AXFR) are TSIG signed
#query_enforce_tsig = False
# Send all traffic over TCP
#all_tcp = False
# Maximum message size to emit
#max_message_size = 65535
#------
# Agent Service
#------
[service:agent]
#workers = None
#host = 0.0.0.0
#port = 5358
#tcp_backlog = 100
#allow_notify = 127.0.0.1
#masters = 127.0.0.1:5354
#backend_driver = fake
#transfer_source = None
#notify_delay = 0
#------
# Producer Service
#------
[service:producer]
# Number of Zone Manager worker processes to spawn
#workers = None
# Number of Zone Manager greenthreads to spawn
#threads = 1000
# List of Zone Manager tasks to enable, a value of None will enable all tasks.
# Can be one or more of: periodic_exists
#enabled_tasks = None
# Whether to allow synchronous zone exports
#export_synchronous = True
#------
# Deleted domains purging
#------
[producer_
# How frequently to purge deleted domains, in seconds
#interval = 3600 # 1h
# How many records to be deleted on each run
#batch_size = 100
# How old deleted records should be (deleted_at) to be purged, in seconds
#time_threshold = 604800 # 7 days
#------
# Delayed zones NOTIFY
#------
[producer_
# How frequently to scan for zones pending NOTIFY, in seconds
#interval = 5
#------
# Worker Periodic Recovery
#------
[producer_
# How frequently to scan for zones in ERROR, in seconds
#interval = 120
#------
# Pool Manager Service
#------
[service:
# Number of Pool Manager worker processes to spawn
#workers = None
# Number of Pool Manager greenthreads to spawn
#threads = 1000
# The ID of the pool managed by this instance of the Pool Manager
pool_id = 794ccc2c-
# The percentage of servers requiring a successful update for a domain change
# to be considered active
#threshold_
# The time to wait for a response from a server
#poll_timeout = 30
# The time between retrying to send a request and waiting for a response from a
# server
#poll_retry_
# The maximum number of times to retry sending a request and wait for a
# response from a server
#poll_max_retries = 10
# The time to wait before sending the first request to a server
#poll_delay = 5
# Enable the recovery thread
#enable_
# The time between recovering from failures
#periodic_
# Enable the sync thread
#enable_sync_timer = True
# The time between synchronizing the servers with storage
#periodic_
# Zones Updated within last N seconds will be syncd. Use None to sync all zones
#periodic_
# Perform multiple update attempts during periodic_sync
#periodic_
#periodic_
# The cache driver to use
#cache_driver = memcache
#------
# Worker Service
#------
[service:worker]
# Whether to send events to worker instead of Pool Manager
enabled = True
# Number of Worker processes to spawn
#workers = None
# Number of Worker greenthreads to spawn
#threads = 1000
# The percentage of servers requiring a successful update for a zone change
# to be considered active
#threshold_
# The time to wait for a response from a server
#poll_timeout = 30
# The time between retrying to send a request and waiting for a response from a
# server
#poll_retry_
# The maximum number of times to retry sending a request and wait for a
# response from a server
#poll_max_retries = 10
# The time to wait before sending the first request to a server
#poll_delay = 5
# Whether to allow worker to send NOTIFYs. NOTIFY requests to mdns will noop
notify = True
#######
## Pool Manager Cache Configuration
#######
#------
# SQLAlchemy Pool Manager Cache
#------
[pool_manager_
#connection=
#connection_debug = 100
#connection_trace = False
#sqlite_synchronous = True
#idle_timeout = 3600
#max_retries = 10
#retry_interval = 10
#------
# Memcache Pool Manager Cache
#------
[pool_manager_
#memcached_servers = None
#expiration = 3600
##############
## Network API
##############
[network_
# Comma separated list of values, formatted "<name>
#endpoints = RegionOne|http://
endpoint_type = internalURL
#timeout = 30
#admin_username = designate
#admin_password = designate
#admin_tenant_name = designate
#auth_url = http://
#insecure = False
#auth_strategy = keystone
#ca_certificate
#######
## Storage Configuration
#######
#------
# SQLAlchemy Storage
#------
[storage:
connection = mysql+pymysql:
#connection_debug = 0
#connection_trace = False
#sqlite_synchronous = True
#idle_timeout = 3600
#max_retries = 10
#retry_interval = 10
#######
## Handler Configuration
#######
#------
# Nova Fixed Handler
#------
[handler:
# Domain ID of domain to create records in. Should be pre-created
#domain_id =
#notification_
#control_exchange = 'nova'
##Following https:/
#formatv4 = '%(octet0)
#formatv4 = '%(hostname)
#formatv4 = '%(hostname)
#formatv6 = '%(hostname)
#formatv6 = '%(hostname)
#------
# Neutron Floating Handler
#------
[handler:
# Domain ID of domain to create records in. Should be pre-created
#domain_id =
#notification_
#control_exchange = 'neutron'
##Following https:/
#formatv4 = '%(octet0)
#formatv4 = '%(hostname)
#formatv4 = '%(hostname)
#formatv6 = '%(hostname)
#formatv6 = '%(hostname)
#######
## Agent Backend Configuration
#######
[backend:
#rndc_host = 127.0.0.1
#rndc_port = 953
#rndc_config_file = /etc/rndc.conf
#rndc_key_file = /etc/rndc.key
#zone_file_path = $state_path/zones
#query_destination = 127.0.0.1
#
[backend:
#name = dynect
#config_file = /etc/denominato
#######
## Library Configuration
#######
[oslo_concurrency]
# Path for Oslo Concurrency to store lock files, defaults to the value
# of the state_path setting.
#lock_path = $state_path
#######
## Coordination
#######
[coordination]
# URL for the coordination backend to use.
#backend_url = kazoo://127.0.0.1/
#######
## Hook Points
#######
# Hook Points are enabled when added to the config and there has been
# a package that provides the corresponding named designate.
# entry point.
# [hook_point:
# some_param_for_hook = 42
# Hooks can be disabled in the config
# enabled = False
# Hook can also be applied to the import path when the hook has not
# been given an explicit name. The name is created from the hook
# target function / method:
#
# name = '%s.%s' % (func.__module__, func.__name__)
# [hook_point:
-------
I have attached the central, api logs as well.
information type: | Private → Public |