9b8ab565fa
The getting started docs suggest checking the code out into `/var/lib`, but this requires a later step of adding a `designate` user to the sudoers list without adding a step of adding the `designate` user in the first place. This updates the docs and basic config example to simply check out the code into `$HOME/openstack/designate/` and removes sudoers step. Closes-Bug: 1423628 Change-Id: Ia30b5460532589417a7e8b1fad9c233ced954106
148 lines
3.5 KiB
Plaintext
148 lines
3.5 KiB
Plaintext
[DEFAULT]
|
|
########################
|
|
## General Configuration
|
|
########################
|
|
# Show more verbose log output (sets INFO log level output)
|
|
verbose = True
|
|
|
|
# Show debugging output in logs (sets DEBUG log level output)
|
|
debug = True
|
|
|
|
# Top-level directory for maintaining designate's state.
|
|
state_path = $pybasedir/state
|
|
|
|
# Log directory
|
|
logdir = $pybasedir/log
|
|
|
|
# Driver used for issuing notifications
|
|
notification_driver = messaging
|
|
|
|
# Use "sudo designate-rootwrap /etc/designate/rootwrap.conf" to use the real
|
|
# root filter facility.
|
|
# Change to "sudo" to skip the filtering and just run the comand directly
|
|
# root_helper = sudo
|
|
|
|
# RabbitMQ Config
|
|
rabbit_userid = designate
|
|
rabbit_password = designate
|
|
#rabbit_virtual_host = /
|
|
#rabbit_use_ssl = False
|
|
#rabbit_hosts = 127.0.0.1:5672
|
|
|
|
########################
|
|
## Service Configuration
|
|
########################
|
|
#-----------------------
|
|
# Central Service
|
|
#-----------------------
|
|
[service:central]
|
|
# Maximum domain name length
|
|
#max_domain_name_len = 255
|
|
|
|
# Maximum record name length
|
|
#max_record_name_len = 255
|
|
|
|
#-----------------------
|
|
# API Service
|
|
#-----------------------
|
|
[service:api]
|
|
# Address to bind the API server
|
|
api_host = 0.0.0.0
|
|
|
|
# Port to bind the API server
|
|
api_port = 9001
|
|
|
|
# Authentication strategy to use - can be either "noauth" or "keystone"
|
|
auth_strategy = noauth
|
|
|
|
# Enable API Version 1
|
|
enable_api_v1 = True
|
|
|
|
# Enable API Version 2
|
|
enable_api_v2 = True
|
|
|
|
# Enabled API Version 1 extensions
|
|
enabled_extensions_v1 = diagnostics, quotas, reports, sync, touch
|
|
|
|
# Enabled API Version 2 extensions
|
|
enabled_extensions_v2 = quotas, reports
|
|
|
|
#-----------------------
|
|
# mDNS Service
|
|
#-----------------------
|
|
[service:mdns]
|
|
#workers = None
|
|
#host = 0.0.0.0
|
|
#port = 5354
|
|
#tcp_backlog = 100
|
|
|
|
#-----------------------
|
|
# Pool Manager Service
|
|
#-----------------------
|
|
[service:pool_manager]
|
|
backends = bind9
|
|
#workers = None
|
|
pool_id = 794ccc2c-d751-44fe-b57f-8894c9f5c842
|
|
#threshold_percentage = 100
|
|
#poll_timeout = 30
|
|
#poll_retry_interval = 2
|
|
#poll_max_retries = 3
|
|
#poll_delay = 1
|
|
#periodic_recovery_interval = 120
|
|
#periodic_sync_interval = 300
|
|
#periodic_sync_seconds = None
|
|
#cache_driver = sqlalchemy
|
|
|
|
########################
|
|
## Storage Configuration
|
|
########################
|
|
#-----------------------
|
|
# SQLAlchemy Storage
|
|
#-----------------------
|
|
[storage:sqlalchemy]
|
|
# Database connection string - to configure options for a given implementation
|
|
# like sqlalchemy or other see below
|
|
connection = mysql://root:password@127.0.0.1/designate
|
|
#connection_debug = 100
|
|
#connection_trace = True
|
|
#sqlite_synchronous = True
|
|
#idle_timeout = 3600
|
|
#max_retries = 10
|
|
#retry_interval = 10
|
|
|
|
###################################
|
|
## Pool Manager Cache Configuration
|
|
###################################
|
|
#-----------------------
|
|
# SQLAlchemy Pool Manager Cache
|
|
#-----------------------
|
|
[pool_manager_cache:sqlalchemy]
|
|
connection = mysql://root:password@127.0.0.1/designate_pool_manager
|
|
#connection_debug = 100
|
|
#connection_trace = False
|
|
#sqlite_synchronous = True
|
|
#idle_timeout = 3600
|
|
#max_retries = 10
|
|
#retry_interval = 10
|
|
|
|
#############################
|
|
## Pool Backend Configuration
|
|
#############################
|
|
#-----------------------
|
|
# Global Bind9 Pool Backend
|
|
#-----------------------
|
|
[backend:bind9]
|
|
server_ids = 6a5032b6-2d96-43ee-b25b-7d784e2bf3b2
|
|
#masters = 127.0.0.1:5354
|
|
#rndc_host = 127.0.0.1
|
|
#rndc_port = 953
|
|
#rndc_config_file = /etc/rndc.conf
|
|
#rndc_key_file = /etc/rndc.key
|
|
|
|
#-----------------------
|
|
# Server Specific Bind9 Pool Backend
|
|
#-----------------------
|
|
[backend:bind9:6a5032b6-2d96-43ee-b25b-7d784e2bf3b2]
|
|
#host = 127.0.0.1
|
|
#port = 53
|