Page MenuHomePhabricator
Paste P3552

designate config file, Liberty
ActivePublic

Authored by Andrew on Jul 22 2016, 2:40 PM.
Tags
None
Referenced Files
F4297517: designate config file, Liberty
Jul 22 2016, 2:40 PM
Subscribers
None
[DEFAULT]
# Where an option is commented out, but filled in this shows the default
# value of that option
########################
## General Configuration
########################
# Show more verbose log output (sets INFO log level output)
verbose = False
# Show debugging output in logs (sets DEBUG log level output)
debug = False
# Top-level directory for maintaining designate's state
state_path = /var/lib/designate
# Log Configuration
#log_config = None
# Log directory
log_dir = /var/log/designate
# Driver used for issuing notifications
notification_driver = messagingv2
# Notification Topics
notification_topics = notifications
# 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 designate-rootwrap /etc/designate/rootwrap.conf
# Which networking API to use, Defaults to neutron
#network_api = neutron
# we have a lot of instances, so raise quotas:
quota_domains = 25
quota_domain_records = 5000
quota_recordset_records = 5000
########################
## Service Configuration
########################
#-----------------------
# Central Service
#-----------------------
[service:central]
# Maximum domain name length
max_domain_name_len = 255
# Maximum record name length
max_record_name_len = 255
# Minimum TTL
#min_ttl = None
## Managed resources settings
# Email to use for managed resources like domains created by the FloatingIP API
#managed_resource_email = root@example.io.
# Tenant ID to own all managed resources - like auto-created records etc.
#managed_resource_tenant_id = 123456
#-----------------------
# API Service
#-----------------------
[service:api]
# Address to bind the API server
api_host = 0.0.0.0
# Port the bind the API server to
api_port = 9001
# Authentication strategy to use - can be either "noauth" or "keystone"
auth_strategy = keystone
# Enable Version 1 API
enable_api_v1 = True
# Enable Version 2 API
enable_api_v2 = True
enable_host_header = True
api_base_uri=http://labtestservices2001.wikimedia.org:9001/
# Show the pecan HTML based debug interface (v2 only)
# This is only useful for development, and WILL break python-designateclient
# if an error occurs
#pecan_debug = False
# Enabled API Version 1 extensions
# Can be one or more of : diagnostics, quotas, reports, sync, touch
enabled_extensions_v1 = diagnsotics, quotas, reports, sync
# Enabled API Version 2 extensions
# Can be one or more of : reports, quotas
enabled_extensions_v2 = quotas, reports
# Default per-page limit for the V2 API, a value of None means show all results
# by default. We need to override because the default is a miserly '20'
default_limit_v2 = 1000
# 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, target_sync
# zone export is in zones extension
#enabled_extensions_admin =
# Default per-page limit for the Admin API, a value of None means show all results
# by default. We need to override because the default is a miserly '20'
default_limit_admin = 1000
# Max page size in the Admin API
#max_limit_admin = 1000
#-----------------------
# Keystone Middleware
#-----------------------
[keystone_authtoken]
auth_host = 208.80.153.47
auth_port = 35357
auth_protocol = http
admin_token = <redacted>
auth_uri = http://208.80.153.47:5000
#-----------------------
# 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_notification_handlers = nova_fixed_multi, nova_ldap
#-----------------------
# mDNS Service
#-----------------------
[service:mdns]
#workers = None
#host = 0.0.0.0
#port = 5354
#tcp_backlog = 100
#-----------------------
# 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
#-----------------------
# Pool Manager Service
#-----------------------
[service:pool_manager]
#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
[pool:794ccc2c-d751-44fe-b57f-8894c9f5c842]
nameservers = 0f66b842-96c2-4189-93fc-1dc95a08b012
targets = f26e0b32-736f-4f0a-831b-039a415c481e
# A 'pool_nameserver' is a pdns instance that receives axfr updates.
# This is the primary dns server, currently 'labservices1001'
[pool_nameserver:0f66b842-96c2-4189-93fc-1dc95a08b012]
port = 53
host = 208.80.153.48
# the 'pool_target' is the pdns database, which we write to for zone creation and deletion
[pool_target:f26e0b32-736f-4f0a-831b-039a415c481e]
options = connection: mysql://pdns:<redacted>@208.80.153.48/pdns
# This is an alternate db account with more rights -- this setting should
# be used when running the db-sync command and the like during upgrades.
#options = connection: mysql://pdns_admin:<redacted>@208.80.153.48/pdns
# This is a comma separated list of the mdns servers.
# Note that for this to take effect, the list of masters must also be set in the pdns database:
# UPDATE pdns.domains SET master="<comman-separated list of masters>"
masters = 208.80.153.48:5354
type = powerdns
host = 208.80.153.48
port = 53
##############
## Network API
##############
#[network_api:neutron]
# Comma separated list of values, formatted "<name>|<neutron_uri>"
#endpoints = RegionOne|http://localhost:9696
#endpoint_type = publicURL
#timeout = 30
#admin_username = designate
#admin_password = designate
#admin_tenant_name = designate
#auth_url = http://localhost:35357/v2.0
#insecure = False
#auth_strategy = keystone
#ca_certificates_file =
########################
## Storage Configuration
########################
#-----------------------
# SQLAlchemy Storage
#-----------------------
[storage:sqlalchemy]
# Database connection string - to configure options for a given implementation
# like sqlalchemy or other see below
connection = mysql://designate:<redacted>@labtestcontrol2001.wikimedia.org/designate
#connection_debug = 100
#connection_trace = True
idle_timeout = 3600
max_retries = 10
retry_interval = 10
########################
## Handler Configuration
########################
#-----------------------
# Nova Fixed Multi Handler
#-----------------------
[handler:nova_fixed_multi]
# Domain ID of domain to create records in. For a pre-existing domain, in this case eqiad.wmflabs
domain_id = 'e1ac328c-b932-43f2-b12f-407fb9477925'
notification_topics = monitor
notification_topics = notifications
control_exchange = nova
format = '%(hostname)s.%(project_name)s.%(domain)s'
format = '%(hostname)s.%(domain)s'
reverse_domain_id = '9b60f3ab-d64b-4e30-9d6f-7535811b0fa8'
reverse_format = '%(hostname)s.%(project_name)s.%(domain)s'
keystone_auth_name = "novaadmin"
keystone_auth_pass = "lt-iraisecavje8ren"
keystone_auth_project = 93f988e6a8a34da087f5fbec50aca26b
keystone_auth_url = "http://labtestcontrol2001.wikimedia.org:35357/v3"
#-----------------------
# Nova Fixed Ldap Handler
#-----------------------
[handler:nova_ldap]
# Domain ID of domain to create records in. For a pre-existing domain, in this case eqiad.wmflabs
domain_id = 'e1ac328c-b932-43f2-b12f-407fb9477925'
notification_topics = monitor
notification_topics = notifications
control_exchange = nova
format = %(hostname)s.%(project_name)s.%(domain)s, %(hostname)s.%(domain)s
ldapusername = uid=novaadmin,ou=people,dc=wikimedia,dc=org
ldappassword = <redacted>
nova_auth_name = "novaadmin"
nova_auth_pass = "lt-iraisecavje8ren"
nova_auth_project = "admin"
nova_auth_url = "http://labtestcontrol2001.wikimedia.org:35357/v2.0"
keystone_auth_name = "novaadmin"
keystone_auth_pass = "lt-iraisecavje8ren"
keystone_auth_project = 93f988e6a8a34da087f5fbec50aca26b
keystone_auth_url = "http://labtestcontrol2001.wikimedia.org:35357/v3"
certmanager_user = certmanager
puppet_key_format = '%(hostname)s.%(project_name)s.%(domain)s'
puppet_master_host = "labtestcontrol2001.wikimedia.org"
salt_key_format = '%(hostname)s.%(project_name)s.%(domain)s'
salt_master_host = "labtestcontrol2001.wikimedia.org"
#------------------------
# Neutron Floating Handler
#------------------------
[handler:neutron_floatingip]
# Domain ID of domain to create records in. Should be pre-created
#domain_id =
#notification_topics = notifications
#control_exchange = 'neutron'
#format = '%(octet0)s-%(octet1)s-%(octet2)s-%(octet3)s.%(domain)s'
###################################
## Pool Manager Cache Configuration
###################################
#-----------------------
# SQLAlchemy Pool Manager Cache
#-----------------------
[pool_manager_cache:sqlalchemy]
connection = mysql://designate:<redacted>@labtestcontrol2001.wikimedia.org/designate_pool_manager
#connection_debug = 100
#connection_trace = False
#sqlite_synchronous = True
#idle_timeout = 3600
#max_retries = 10
#retry_interval = 10
[oslo_messaging_rabbit]
# RabbitMQ Config
rabbit_userid = nova
rabbit_password = <redacted>
rabbit_use_ssl = False
rabbit_hosts = labtestcontrol2001.wikimedia.org
rabbit_port = 5672