summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-neutron/neutron.conf
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2018-01-17 10:12:28 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2018-01-18 10:47:31 -0500
commit992463503e844fe40f3bb2a56df5db0cb715942e (patch)
tree725e632d5155ac9a79a25cae4781eb9742176b4a /meta-openstack/recipes-devtools/python/python-neutron/neutron.conf
parenta49d21ce53618b12ae0b03806fd56f1a8949f243 (diff)
downloadmeta-cloud-services-992463503e844fe40f3bb2a56df5db0cb715942e.tar.gz
python-neutron: uprev to latest stable/pike
Following along with other recent openstack component uprevs the configuration has been changed to match the installation/setup configuration documented by the openstack community. We have also made the switch to using systemd. The initial configuration file (neutron.conf) was generated by getting things mostly updated and running, then copying/cloning the source repo on the target and running the setup scripts (see ./tools/generate_config_file_samples.sh) With these updates neutron is running and available but is yet to be fully tested, this must be done once we have a running compute node and guests. Required updates/uprevs/introduction to: python-ryu, python-neutron-lib, python-os-xenapi, python-oslo.privsep, python-ovs, python-weakrefmethod, and more Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-neutron/neutron.conf')
-rw-r--r--meta-openstack/recipes-devtools/python/python-neutron/neutron.conf1912
1 files changed, 1912 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-neutron/neutron.conf b/meta-openstack/recipes-devtools/python/python-neutron/neutron.conf
new file mode 100644
index 0000000..dbe5f17
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-neutron/neutron.conf
@@ -0,0 +1,1912 @@
1[DEFAULT]
2
3#
4# From neutron
5#
6
7# Where to store Neutron state files. This directory must be writable by the
8# agent. (string value)
9#state_path = /var/lib/neutron
10
11# The host IP to bind to. (unknown value)
12#bind_host = 0.0.0.0
13
14# The port to bind to (port value)
15# Minimum value: 0
16# Maximum value: 65535
17#bind_port = 9696
18
19# The path for API extensions. Note that this can be a colon-separated list of
20# paths. For example: api_extensions_path =
21# extensions:/path/to/more/exts:/even/more/exts. The __path__ of
22# neutron.extensions is appended to this, so if your extensions are in there
23# you don't need to specify them here. (string value)
24#api_extensions_path =
25
26# The type of authentication to use (string value)
27#auth_strategy = keystone
28
29# The core plugin Neutron will use (string value)
30#core_plugin = <None>
31
32# The service plugins Neutron will use (list value)
33#service_plugins =
34
35# The base MAC address Neutron will use for VIFs. The first 3 octets will
36# remain unchanged. If the 4th octet is not 00, it will also be used. The
37# others will be randomly generated. (string value)
38#base_mac = fa:16:3e:00:00:00
39
40# Allow the usage of the bulk API (boolean value)
41#allow_bulk = true
42
43# The maximum number of items returned in a single response, value was
44# 'infinite' or negative integer means no limit (string value)
45#pagination_max_limit = -1
46
47# Default value of availability zone hints. The availability zone aware
48# schedulers use this when the resources availability_zone_hints is empty.
49# Multiple availability zones can be specified by a comma separated string.
50# This value can be empty. In this case, even if availability_zone_hints for a
51# resource is empty, availability zone is considered for high availability
52# while scheduling the resource. (list value)
53#default_availability_zones =
54
55# Maximum number of DNS nameservers per subnet (integer value)
56#max_dns_nameservers = 5
57
58# Maximum number of host routes per subnet (integer value)
59#max_subnet_host_routes = 20
60
61# Enables IPv6 Prefix Delegation for automatic subnet CIDR allocation. Set to
62# True to enable IPv6 Prefix Delegation for subnet allocation in a PD-capable
63# environment. Users making subnet creation requests for IPv6 subnets without
64# providing a CIDR or subnetpool ID will be given a CIDR via the Prefix
65# Delegation mechanism. Note that enabling PD will override the behavior of the
66# default IPv6 subnetpool. (boolean value)
67#ipv6_pd_enabled = false
68
69# DHCP lease duration (in seconds). Use -1 to tell dnsmasq to use infinite
70# lease times. (integer value)
71#dhcp_lease_duration = 86400
72
73# Domain to use for building the hostnames (string value)
74#dns_domain = openstacklocal
75
76# Driver for external DNS integration. (string value)
77#external_dns_driver = <None>
78
79# Allow sending resource operation notification to DHCP agent (boolean value)
80#dhcp_agent_notification = true
81
82# Allow overlapping IP support in Neutron. Attention: the following parameter
83# MUST be set to False if Neutron is being used in conjunction with Nova
84# security groups. (boolean value)
85#allow_overlapping_ips = false
86
87# Hostname to be used by the Neutron server, agents and services running on
88# this machine. All the agents and services running on this machine must use
89# the same host value. (unknown value)
90#host = example.domain
91
92# This string is prepended to the normal URL that is returned in links to the
93# OpenStack Network API. If it is empty (the default), the URLs are returned
94# unchanged. (string value)
95#network_link_prefix = <None>
96
97# Send notification to nova when port status changes (boolean value)
98#notify_nova_on_port_status_changes = true
99
100# Send notification to nova when port data (fixed_ips/floatingip) changes so
101# nova can update its cache. (boolean value)
102#notify_nova_on_port_data_changes = true
103
104# Number of seconds between sending events to nova if there are any events to
105# send. (integer value)
106#send_events_interval = 2
107
108# Neutron IPAM (IP address management) driver to use. By default, the reference
109# implementation of the Neutron IPAM driver is used. (string value)
110#ipam_driver = internal
111
112# If True, then allow plugins that support it to create VLAN transparent
113# networks. (boolean value)
114#vlan_transparent = false
115
116# DEPRECATED: This will choose the web framework in which to run the Neutron
117# API server. 'pecan' is a new rewrite of the API routing components. (string
118# value)
119# Allowed values: legacy, pecan
120# This option is deprecated for removal.
121# Its value may be silently ignored in the future.
122#web_framework = pecan
123
124# MTU of the underlying physical network. Neutron uses this value to calculate
125# MTU for all virtual network components. For flat and VLAN networks, neutron
126# uses this value without modification. For overlay networks such as VXLAN,
127# neutron automatically subtracts the overlay protocol overhead from this
128# value. Defaults to 1500, the standard value for Ethernet. (integer value)
129# Deprecated group/name - [ml2]/segment_mtu
130#global_physnet_mtu = 1500
131
132# Number of backlog requests to configure the socket with (integer value)
133#backlog = 4096
134
135# Number of seconds to keep retrying to listen (integer value)
136#retry_until_window = 30
137
138# Enable SSL on the API server (boolean value)
139#use_ssl = false
140
141# Seconds between running periodic tasks. (integer value)
142#periodic_interval = 40
143
144# Number of separate API worker processes for service. If not specified, the
145# default is equal to the number of CPUs available for best performance.
146# (integer value)
147#api_workers = <None>
148
149# Number of RPC worker processes for service. (integer value)
150#rpc_workers = 1
151
152# Number of RPC worker processes dedicated to state reports queue. (integer
153# value)
154#rpc_state_report_workers = 1
155
156# Range of seconds to randomly delay when starting the periodic task scheduler
157# to reduce stampeding. (Disable by setting to 0) (integer value)
158#periodic_fuzzy_delay = 5
159
160#
161# From neutron.agent
162#
163
164# The driver used to manage the virtual interface. (string value)
165#interface_driver = <None>
166
167# Location for Metadata Proxy UNIX domain socket. (string value)
168#metadata_proxy_socket = $state_path/metadata_proxy
169
170# User (uid or name) running metadata proxy after its initialization (if empty:
171# agent effective user). (string value)
172#metadata_proxy_user =
173
174# Group (gid or name) running metadata proxy after its initialization (if
175# empty: agent effective group). (string value)
176#metadata_proxy_group =
177
178#
179# From neutron.db
180#
181
182# Representing the resource type whose load is being reported by the agent.
183# This can be "networks", "subnets" or "ports". When specified (Default is
184# networks), the server will extract particular load sent as part of its agent
185# configuration object from the agent report state, which is the number of
186# resources being consumed, at every report_interval.dhcp_load_type can be used
187# in combination with network_scheduler_driver =
188# neutron.scheduler.dhcp_agent_scheduler.WeightScheduler When the
189# network_scheduler_driver is WeightScheduler, dhcp_load_type can be configured
190# to represent the choice for the resource being balanced. Example:
191# dhcp_load_type=networks (string value)
192# Allowed values: networks, subnets, ports
193#dhcp_load_type = networks
194
195# Agent starts with admin_state_up=False when enable_new_agents=False. In the
196# case, user's resources will not be scheduled automatically to the agent until
197# admin changes admin_state_up to True. (boolean value)
198#enable_new_agents = true
199
200# Maximum number of routes per router (integer value)
201#max_routes = 30
202
203# Define the default value of enable_snat if not provided in
204# external_gateway_info. (boolean value)
205#enable_snat_by_default = true
206
207# Driver to use for scheduling network to DHCP agent (string value)
208#network_scheduler_driver = neutron.scheduler.dhcp_agent_scheduler.WeightScheduler
209
210# Allow auto scheduling networks to DHCP agent. (boolean value)
211#network_auto_schedule = true
212
213# Automatically remove networks from offline DHCP agents. (boolean value)
214#allow_automatic_dhcp_failover = true
215
216# Number of DHCP agents scheduled to host a tenant network. If this number is
217# greater than 1, the scheduler automatically assigns multiple DHCP agents for
218# a given tenant network, providing high availability for DHCP service.
219# (integer value)
220#dhcp_agents_per_network = 1
221
222# Enable services on an agent with admin_state_up False. If this option is
223# False, when admin_state_up of an agent is turned False, services on it will
224# be disabled. Agents with admin_state_up False are not selected for automatic
225# scheduling regardless of this option. But manual scheduling to such agents is
226# available if this option is True. (boolean value)
227#enable_services_on_agents_with_admin_state_down = false
228
229# The base mac address used for unique DVR instances by Neutron. The first 3
230# octets will remain unchanged. If the 4th octet is not 00, it will also be
231# used. The others will be randomly generated. The 'dvr_base_mac' *must* be
232# different from 'base_mac' to avoid mixing them up with MAC's allocated for
233# tenant ports. A 4 octet example would be dvr_base_mac = fa:16:3f:4f:00:00.
234# The default is 3 octet (string value)
235#dvr_base_mac = fa:16:3f:00:00:00
236
237# System-wide flag to determine the type of router that tenants can create.
238# Only admin can override. (boolean value)
239#router_distributed = false
240
241# Determine if setup is configured for DVR. If False, DVR API extension will be
242# disabled. (boolean value)
243#enable_dvr = true
244
245# Driver to use for scheduling router to a default L3 agent (string value)
246#router_scheduler_driver = neutron.scheduler.l3_agent_scheduler.LeastRoutersScheduler
247
248# Allow auto scheduling of routers to L3 agent. (boolean value)
249#router_auto_schedule = true
250
251# Automatically reschedule routers from offline L3 agents to online L3 agents.
252# (boolean value)
253#allow_automatic_l3agent_failover = false
254
255# Enable HA mode for virtual routers. (boolean value)
256#l3_ha = false
257
258# Maximum number of L3 agents which a HA router will be scheduled on. If it is
259# set to 0 then the router will be scheduled on every agent. (integer value)
260#max_l3_agents_per_router = 3
261
262# Subnet used for the l3 HA admin network. (string value)
263#l3_ha_net_cidr = 169.254.192.0/18
264
265# The network type to use when creating the HA network for an HA router. By
266# default or if empty, the first 'tenant_network_types' is used. This is
267# helpful when the VRRP traffic should use a specific network which is not the
268# default one. (string value)
269#l3_ha_network_type =
270
271# The physical network name with which the HA network can be created. (string
272# value)
273#l3_ha_network_physical_name =
274
275#
276# From neutron.extensions
277#
278
279# Maximum number of allowed address pairs (integer value)
280#max_allowed_address_pair = 10
281
282#
283# From oslo.log
284#
285
286# If set to true, the logging level will be set to DEBUG instead of the default
287# INFO level. (boolean value)
288# Note: This option can be changed without restarting.
289#debug = false
290
291# The name of a logging configuration file. This file is appended to any
292# existing logging configuration files. For details about logging configuration
293# files, see the Python logging module documentation. Note that when logging
294# configuration files are used then all logging configuration is set in the
295# configuration file and other logging configuration options are ignored (for
296# example, logging_context_format_string). (string value)
297# Note: This option can be changed without restarting.
298# Deprecated group/name - [DEFAULT]/log_config
299#log_config_append = <None>
300
301# Defines the format string for %%(asctime)s in log records. Default:
302# %(default)s . This option is ignored if log_config_append is set. (string
303# value)
304#log_date_format = %Y-%m-%d %H:%M:%S
305
306# (Optional) Name of log file to send logging output to. If no default is set,
307# logging will go to stderr as defined by use_stderr. This option is ignored if
308# log_config_append is set. (string value)
309# Deprecated group/name - [DEFAULT]/logfile
310#log_file = <None>
311
312# (Optional) The base directory used for relative log_file paths. This option
313# is ignored if log_config_append is set. (string value)
314# Deprecated group/name - [DEFAULT]/logdir
315#log_dir = <None>
316
317# Uses logging handler designed to watch file system. When log file is moved or
318# removed this handler will open a new log file with specified path
319# instantaneously. It makes sense only if log_file option is specified and
320# Linux platform is used. This option is ignored if log_config_append is set.
321# (boolean value)
322#watch_log_file = false
323
324# Use syslog for logging. Existing syslog format is DEPRECATED and will be
325# changed later to honor RFC5424. This option is ignored if log_config_append
326# is set. (boolean value)
327#use_syslog = false
328
329# Enable journald for logging. If running in a systemd environment you may wish
330# to enable journal support. Doing so will use the journal native protocol
331# which includes structured metadata in addition to log messages.This option is
332# ignored if log_config_append is set. (boolean value)
333#use_journal = false
334
335# Syslog facility to receive log lines. This option is ignored if
336# log_config_append is set. (string value)
337#syslog_log_facility = LOG_USER
338
339# Log output to standard error. This option is ignored if log_config_append is
340# set. (boolean value)
341#use_stderr = false
342
343# Format string to use for log messages with context. (string value)
344#logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s
345
346# Format string to use for log messages when context is undefined. (string
347# value)
348#logging_default_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [-] %(instance)s%(message)s
349
350# Additional data to append to log message when logging level for the message
351# is DEBUG. (string value)
352#logging_debug_format_suffix = %(funcName)s %(pathname)s:%(lineno)d
353
354# Prefix each line of exception output with this format. (string value)
355#logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s
356
357# Defines the format string for %(user_identity)s that is used in
358# logging_context_format_string. (string value)
359#logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s
360
361# List of package logging levels in logger=LEVEL pairs. This option is ignored
362# if log_config_append is set. (list value)
363#default_log_levels = amqp=WARN,amqplib=WARN,boto=WARN,qpid=WARN,sqlalchemy=WARN,suds=INFO,oslo.messaging=INFO,oslo_messaging=INFO,iso8601=WARN,requests.packages.urllib3.connectionpool=WARN,urllib3.connectionpool=WARN,websocket=WARN,requests.packages.urllib3.util.retry=WARN,urllib3.util.retry=WARN,keystonemiddleware=WARN,routes.middleware=WARN,stevedore=WARN,taskflow=WARN,keystoneauth=WARN,oslo.cache=INFO,dogpile.core.dogpile=INFO
364
365# Enables or disables publication of error events. (boolean value)
366#publish_errors = false
367
368# The format for an instance that is passed with the log message. (string
369# value)
370#instance_format = "[instance: %(uuid)s] "
371
372# The format for an instance UUID that is passed with the log message. (string
373# value)
374#instance_uuid_format = "[instance: %(uuid)s] "
375
376# Interval, number of seconds, of log rate limiting. (integer value)
377#rate_limit_interval = 0
378
379# Maximum number of logged messages per rate_limit_interval. (integer value)
380#rate_limit_burst = 0
381
382# Log level name used by rate limiting: CRITICAL, ERROR, INFO, WARNING, DEBUG
383# or empty string. Logs with level greater or equal to rate_limit_except_level
384# are not filtered. An empty string means that all levels are filtered. (string
385# value)
386#rate_limit_except_level = CRITICAL
387
388# Enables or disables fatal status of deprecations. (boolean value)
389#fatal_deprecations = false
390
391#
392# From oslo.messaging
393#
394
395# Size of RPC connection pool. (integer value)
396#rpc_conn_pool_size = 30
397
398# The pool size limit for connections expiration policy (integer value)
399#conn_pool_min_size = 2
400
401# The time-to-live in sec of idle connections in the pool (integer value)
402#conn_pool_ttl = 1200
403
404# ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
405# The "host" option should point or resolve to this address. (string value)
406#rpc_zmq_bind_address = *
407
408# MatchMaker driver. (string value)
409# Allowed values: redis, sentinel, dummy
410#rpc_zmq_matchmaker = redis
411
412# Number of ZeroMQ contexts, defaults to 1. (integer value)
413#rpc_zmq_contexts = 1
414
415# Maximum number of ingress messages to locally buffer per topic. Default is
416# unlimited. (integer value)
417#rpc_zmq_topic_backlog = <None>
418
419# Directory for holding IPC sockets. (string value)
420#rpc_zmq_ipc_dir = /var/run/openstack
421
422# Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
423# "host" option, if running Nova. (string value)
424#rpc_zmq_host = localhost
425
426# Number of seconds to wait before all pending messages will be sent after
427# closing a socket. The default value of -1 specifies an infinite linger
428# period. The value of 0 specifies no linger period. Pending messages shall be
429# discarded immediately when the socket is closed. Positive values specify an
430# upper bound for the linger period. (integer value)
431# Deprecated group/name - [DEFAULT]/rpc_cast_timeout
432#zmq_linger = -1
433
434# The default number of seconds that poll should wait. Poll raises timeout
435# exception when timeout expired. (integer value)
436#rpc_poll_timeout = 1
437
438# Expiration timeout in seconds of a name service record about existing target
439# ( < 0 means no timeout). (integer value)
440#zmq_target_expire = 300
441
442# Update period in seconds of a name service record about existing target.
443# (integer value)
444#zmq_target_update = 180
445
446# Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean
447# value)
448#use_pub_sub = false
449
450# Use ROUTER remote proxy. (boolean value)
451#use_router_proxy = false
452
453# This option makes direct connections dynamic or static. It makes sense only
454# with use_router_proxy=False which means to use direct connections for direct
455# message types (ignored otherwise). (boolean value)
456#use_dynamic_connections = false
457
458# How many additional connections to a host will be made for failover reasons.
459# This option is actual only in dynamic connections mode. (integer value)
460#zmq_failover_connections = 2
461
462# Minimal port number for random ports range. (port value)
463# Minimum value: 0
464# Maximum value: 65535
465#rpc_zmq_min_port = 49153
466
467# Maximal port number for random ports range. (integer value)
468# Minimum value: 1
469# Maximum value: 65536
470#rpc_zmq_max_port = 65536
471
472# Number of retries to find free port number before fail with ZMQBindError.
473# (integer value)
474#rpc_zmq_bind_port_retries = 100
475
476# Default serialization mechanism for serializing/deserializing
477# outgoing/incoming messages (string value)
478# Allowed values: json, msgpack
479#rpc_zmq_serialization = json
480
481# This option configures round-robin mode in zmq socket. True means not keeping
482# a queue when server side disconnects. False means to keep queue and messages
483# even if server is disconnected, when the server appears we send all
484# accumulated messages to it. (boolean value)
485#zmq_immediate = true
486
487# Enable/disable TCP keepalive (KA) mechanism. The default value of -1 (or any
488# other negative value) means to skip any overrides and leave it to OS default;
489# 0 and 1 (or any other positive value) mean to disable and enable the option
490# respectively. (integer value)
491#zmq_tcp_keepalive = -1
492
493# The duration between two keepalive transmissions in idle condition. The unit
494# is platform dependent, for example, seconds in Linux, milliseconds in Windows
495# etc. The default value of -1 (or any other negative value and 0) means to
496# skip any overrides and leave it to OS default. (integer value)
497#zmq_tcp_keepalive_idle = -1
498
499# The number of retransmissions to be carried out before declaring that remote
500# end is not available. The default value of -1 (or any other negative value
501# and 0) means to skip any overrides and leave it to OS default. (integer
502# value)
503#zmq_tcp_keepalive_cnt = -1
504
505# The duration between two successive keepalive retransmissions, if
506# acknowledgement to the previous keepalive transmission is not received. The
507# unit is platform dependent, for example, seconds in Linux, milliseconds in
508# Windows etc. The default value of -1 (or any other negative value and 0)
509# means to skip any overrides and leave it to OS default. (integer value)
510#zmq_tcp_keepalive_intvl = -1
511
512# Maximum number of (green) threads to work concurrently. (integer value)
513#rpc_thread_pool_size = 100
514
515# Expiration timeout in seconds of a sent/received message after which it is
516# not tracked anymore by a client/server. (integer value)
517#rpc_message_ttl = 300
518
519# Wait for message acknowledgements from receivers. This mechanism works only
520# via proxy without PUB/SUB. (boolean value)
521#rpc_use_acks = false
522
523# Number of seconds to wait for an ack from a cast/call. After each retry
524# attempt this timeout is multiplied by some specified multiplier. (integer
525# value)
526#rpc_ack_timeout_base = 15
527
528# Number to multiply base ack timeout by after each retry attempt. (integer
529# value)
530#rpc_ack_timeout_multiplier = 2
531
532# Default number of message sending attempts in case of any problems occurred:
533# positive value N means at most N retries, 0 means no retries, None or -1 (or
534# any other negative values) mean to retry forever. This option is used only if
535# acknowledgments are enabled. (integer value)
536#rpc_retry_attempts = 3
537
538# List of publisher hosts SubConsumer can subscribe on. This option has higher
539# priority then the default publishers list taken from the matchmaker. (list
540# value)
541#subscribe_on =
542
543# Size of executor thread pool when executor is threading or eventlet. (integer
544# value)
545# Deprecated group/name - [DEFAULT]/rpc_thread_pool_size
546#executor_thread_pool_size = 64
547
548# Seconds to wait for a response from a call. (integer value)
549#rpc_response_timeout = 60
550
551# A URL representing the messaging driver to use and its full configuration.
552# (string value)
553#transport_url = <None>
554
555# DEPRECATED: The messaging driver to use, defaults to rabbit. Other drivers
556# include amqp and zmq. (string value)
557# This option is deprecated for removal.
558# Its value may be silently ignored in the future.
559# Reason: Replaced by [DEFAULT]/transport_url
560#rpc_backend = rabbit
561
562# The default exchange under which topics are scoped. May be overridden by an
563# exchange name specified in the transport_url option. (string value)
564#control_exchange = neutron
565
566#
567# From oslo.service.wsgi
568#
569
570# File name for the paste.deploy config for api service (string value)
571#api_paste_config = api-paste.ini
572
573# A python format string that is used as the template to generate log lines.
574# The following values can beformatted into it: client_ip, date_time,
575# request_line, status_code, body_length, wall_seconds. (string value)
576#wsgi_log_format = %(client_ip)s "%(request_line)s" status: %(status_code)s len: %(body_length)s time: %(wall_seconds).7f
577
578# Sets the value of TCP_KEEPIDLE in seconds for each server socket. Not
579# supported on OS X. (integer value)
580#tcp_keepidle = 600
581
582# Size of the pool of greenthreads used by wsgi (integer value)
583#wsgi_default_pool_size = 100
584
585# Maximum line size of message headers to be accepted. max_header_line may need
586# to be increased when using large tokens (typically those generated when
587# keystone is configured to use PKI tokens with big service catalogs). (integer
588# value)
589#max_header_line = 16384
590
591# If False, closes the client socket connection explicitly. (boolean value)
592#wsgi_keep_alive = true
593
594# Timeout for client connections' socket operations. If an incoming connection
595# is idle for this number of seconds it will be closed. A value of '0' means
596# wait forever. (integer value)
597#client_socket_timeout = 900
598
599
600[agent]
601
602#
603# From neutron.agent
604#
605
606# Root helper application. Use 'sudo neutron-rootwrap
607# /etc/neutron/rootwrap.conf' to use the real root filter facility. Change to
608# 'sudo' to skip the filtering and just run the command directly. (string
609# value)
610#root_helper = sudo
611
612# Use the root helper when listing the namespaces on a system. This may not be
613# required depending on the security configuration. If the root helper is not
614# required, set this to False for a performance improvement. (boolean value)
615#use_helper_for_ns_read = true
616
617# Root helper daemon application to use when possible. For the agent which
618# needs to execute commands in Dom0 in the hypervisor of XenServer, this item
619# should be set to 'xenapi_root_helper', so that it will keep a XenAPI session
620# to pass commands to Dom0. (string value)
621#root_helper_daemon = <None>
622
623# Seconds between nodes reporting state to server; should be less than
624# agent_down_time, best if it is half or less than agent_down_time. (floating
625# point value)
626#report_interval = 30
627
628# Log agent heartbeats (boolean value)
629#log_agent_heartbeats = false
630
631# Add comments to iptables rules. Set to false to disallow the addition of
632# comments to generated iptables rules that describe each rule's purpose.
633# System must support the iptables comments module for addition of comments.
634# (boolean value)
635#comment_iptables_rules = true
636
637# Duplicate every iptables difference calculation to ensure the format being
638# generated matches the format of iptables-save. This option should not be
639# turned on for production systems because it imposes a performance penalty.
640# (boolean value)
641#debug_iptables_rules = false
642
643# Action to be executed when a child process dies (string value)
644# Allowed values: respawn, exit
645#check_child_processes_action = respawn
646
647# Interval between checks of child process liveness (seconds), use 0 to disable
648# (integer value)
649#check_child_processes_interval = 60
650
651# Availability zone of this node (string value)
652#availability_zone = nova
653
654
655[cors]
656
657#
658# From oslo.middleware.cors
659#
660
661# Indicate whether this resource may be shared with the domain received in the
662# requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing
663# slash. Example: https://horizon.example.com (list value)
664#allowed_origin = <None>
665
666# Indicate that the actual request can include user credentials (boolean value)
667#allow_credentials = true
668
669# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
670# Headers. (list value)
671#expose_headers = X-Auth-Token,X-Subject-Token,X-Service-Token,X-OpenStack-Request-ID,OpenStack-Volume-microversion
672
673# Maximum cache age of CORS preflight requests. (integer value)
674#max_age = 3600
675
676# Indicate which methods can be used during the actual request. (list value)
677#allow_methods = GET,PUT,POST,DELETE,PATCH
678
679# Indicate which header field names may be used during the actual request.
680# (list value)
681#allow_headers = X-Auth-Token,X-Identity-Status,X-Roles,X-Service-Catalog,X-User-Id,X-Tenant-Id,X-OpenStack-Request-ID
682
683
684[database]
685
686#
687# From neutron.db
688#
689
690# Database engine for which script will be generated when using offline
691# migration. (string value)
692#engine =
693
694#
695# From oslo.db
696#
697
698# If True, SQLite uses synchronous mode. (boolean value)
699#sqlite_synchronous = true
700
701# The back end to use for the database. (string value)
702# Deprecated group/name - [DEFAULT]/db_backend
703#backend = sqlalchemy
704
705# The SQLAlchemy connection string to use to connect to the database. (string
706# value)
707# Deprecated group/name - [DEFAULT]/sql_connection
708# Deprecated group/name - [DATABASE]/sql_connection
709# Deprecated group/name - [sql]/connection
710#connection = <None>
711
712# The SQLAlchemy connection string to use to connect to the slave database.
713# (string value)
714#slave_connection = <None>
715
716# The SQL mode to be used for MySQL sessions. This option, including the
717# default, overrides any server-set SQL mode. To use whatever SQL mode is set
718# by the server configuration, set this to no value. Example: mysql_sql_mode=
719# (string value)
720#mysql_sql_mode = TRADITIONAL
721
722# If True, transparently enables support for handling MySQL Cluster (NDB).
723# (boolean value)
724#mysql_enable_ndb = false
725
726# Timeout before idle SQL connections are reaped. (integer value)
727# Deprecated group/name - [DEFAULT]/sql_idle_timeout
728# Deprecated group/name - [DATABASE]/sql_idle_timeout
729# Deprecated group/name - [sql]/idle_timeout
730#idle_timeout = 3600
731
732# Minimum number of SQL connections to keep open in a pool. (integer value)
733# Deprecated group/name - [DEFAULT]/sql_min_pool_size
734# Deprecated group/name - [DATABASE]/sql_min_pool_size
735#min_pool_size = 1
736
737# Maximum number of SQL connections to keep open in a pool. Setting a value of
738# 0 indicates no limit. (integer value)
739# Deprecated group/name - [DEFAULT]/sql_max_pool_size
740# Deprecated group/name - [DATABASE]/sql_max_pool_size
741#max_pool_size = 5
742
743# Maximum number of database connection retries during startup. Set to -1 to
744# specify an infinite retry count. (integer value)
745# Deprecated group/name - [DEFAULT]/sql_max_retries
746# Deprecated group/name - [DATABASE]/sql_max_retries
747#max_retries = 10
748
749# Interval between retries of opening a SQL connection. (integer value)
750# Deprecated group/name - [DEFAULT]/sql_retry_interval
751# Deprecated group/name - [DATABASE]/reconnect_interval
752#retry_interval = 10
753
754# If set, use this value for max_overflow with SQLAlchemy. (integer value)
755# Deprecated group/name - [DEFAULT]/sql_max_overflow
756# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
757#max_overflow = 50
758
759# Verbosity of SQL debugging information: 0=None, 100=Everything. (integer
760# value)
761# Minimum value: 0
762# Maximum value: 100
763# Deprecated group/name - [DEFAULT]/sql_connection_debug
764#connection_debug = 0
765
766# Add Python stack traces to SQL as comment strings. (boolean value)
767# Deprecated group/name - [DEFAULT]/sql_connection_trace
768#connection_trace = false
769
770# If set, use this value for pool_timeout with SQLAlchemy. (integer value)
771# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
772#pool_timeout = <None>
773
774# Enable the experimental use of database reconnect on connection lost.
775# (boolean value)
776#use_db_reconnect = false
777
778# Seconds between retries of a database transaction. (integer value)
779#db_retry_interval = 1
780
781# If True, increases the interval between retries of a database operation up to
782# db_max_retry_interval. (boolean value)
783#db_inc_retry_interval = true
784
785# If db_inc_retry_interval is set, the maximum seconds between retries of a
786# database operation. (integer value)
787#db_max_retry_interval = 10
788
789# Maximum retries in case of connection error or deadlock error before error is
790# raised. Set to -1 to specify an infinite retry count. (integer value)
791#db_max_retries = 20
792
793
794[keystone_authtoken]
795
796#
797# From keystonemiddleware.auth_token
798#
799
800# Complete "public" Identity API endpoint. This endpoint should not be an
801# "admin" endpoint, as it should be accessible by all end users.
802# Unauthenticated clients are redirected to this endpoint to authenticate.
803# Although this endpoint should ideally be unversioned, client support in the
804# wild varies. If you're using a versioned v2 endpoint here, then this should
805# *not* be the same endpoint the service user utilizes for validating tokens,
806# because normal end users may not be able to reach that endpoint. (string
807# value)
808#auth_uri = <None>
809
810# API version of the admin Identity API endpoint. (string value)
811#auth_version = <None>
812
813# Do not handle authorization requests within the middleware, but delegate the
814# authorization decision to downstream WSGI components. (boolean value)
815#delay_auth_decision = false
816
817# Request timeout value for communicating with Identity API server. (integer
818# value)
819#http_connect_timeout = <None>
820
821# How many times are we trying to reconnect when communicating with Identity
822# API Server. (integer value)
823#http_request_max_retries = 3
824
825# Request environment key where the Swift cache object is stored. When
826# auth_token middleware is deployed with a Swift cache, use this option to have
827# the middleware share a caching backend with swift. Otherwise, use the
828# ``memcached_servers`` option instead. (string value)
829#cache = <None>
830
831# Required if identity server requires client certificate (string value)
832#certfile = <None>
833
834# Required if identity server requires client certificate (string value)
835#keyfile = <None>
836
837# A PEM encoded Certificate Authority to use when verifying HTTPs connections.
838# Defaults to system CAs. (string value)
839#cafile = <None>
840
841# Verify HTTPS connections. (boolean value)
842#insecure = false
843
844# The region in which the identity server can be found. (string value)
845#region_name = <None>
846
847# DEPRECATED: Directory used to cache files related to PKI tokens. This option
848# has been deprecated in the Ocata release and will be removed in the P
849# release. (string value)
850# This option is deprecated for removal since Ocata.
851# Its value may be silently ignored in the future.
852# Reason: PKI token format is no longer supported.
853#signing_dir = <None>
854
855# Optionally specify a list of memcached server(s) to use for caching. If left
856# undefined, tokens will instead be cached in-process. (list value)
857# Deprecated group/name - [keystone_authtoken]/memcache_servers
858#memcached_servers = <None>
859
860# In order to prevent excessive effort spent validating tokens, the middleware
861# caches previously-seen tokens for a configurable duration (in seconds). Set
862# to -1 to disable caching completely. (integer value)
863#token_cache_time = 300
864
865# DEPRECATED: Determines the frequency at which the list of revoked tokens is
866# retrieved from the Identity service (in seconds). A high number of revocation
867# events combined with a low cache duration may significantly reduce
868# performance. Only valid for PKI tokens. This option has been deprecated in
869# the Ocata release and will be removed in the P release. (integer value)
870# This option is deprecated for removal since Ocata.
871# Its value may be silently ignored in the future.
872# Reason: PKI token format is no longer supported.
873#revocation_cache_time = 10
874
875# (Optional) If defined, indicate whether token data should be authenticated or
876# authenticated and encrypted. If MAC, token data is authenticated (with HMAC)
877# in the cache. If ENCRYPT, token data is encrypted and authenticated in the
878# cache. If the value is not one of these options or empty, auth_token will
879# raise an exception on initialization. (string value)
880# Allowed values: None, MAC, ENCRYPT
881#memcache_security_strategy = None
882
883# (Optional, mandatory if memcache_security_strategy is defined) This string is
884# used for key derivation. (string value)
885#memcache_secret_key = <None>
886
887# (Optional) Number of seconds memcached server is considered dead before it is
888# tried again. (integer value)
889#memcache_pool_dead_retry = 300
890
891# (Optional) Maximum total number of open connections to every memcached
892# server. (integer value)
893#memcache_pool_maxsize = 10
894
895# (Optional) Socket timeout in seconds for communicating with a memcached
896# server. (integer value)
897#memcache_pool_socket_timeout = 3
898
899# (Optional) Number of seconds a connection to memcached is held unused in the
900# pool before it is closed. (integer value)
901#memcache_pool_unused_timeout = 60
902
903# (Optional) Number of seconds that an operation will wait to get a memcached
904# client connection from the pool. (integer value)
905#memcache_pool_conn_get_timeout = 10
906
907# (Optional) Use the advanced (eventlet safe) memcached client pool. The
908# advanced pool will only work under python 2.x. (boolean value)
909#memcache_use_advanced_pool = false
910
911# (Optional) Indicate whether to set the X-Service-Catalog header. If False,
912# middleware will not ask for service catalog on token validation and will not
913# set the X-Service-Catalog header. (boolean value)
914#include_service_catalog = true
915
916# Used to control the use and type of token binding. Can be set to: "disabled"
917# to not check token binding. "permissive" (default) to validate binding
918# information if the bind type is of a form known to the server and ignore it
919# if not. "strict" like "permissive" but if the bind type is unknown the token
920# will be rejected. "required" any form of token binding is needed to be
921# allowed. Finally the name of a binding method that must be present in tokens.
922# (string value)
923#enforce_token_bind = permissive
924
925# DEPRECATED: If true, the revocation list will be checked for cached tokens.
926# This requires that PKI tokens are configured on the identity server. (boolean
927# value)
928# This option is deprecated for removal since Ocata.
929# Its value may be silently ignored in the future.
930# Reason: PKI token format is no longer supported.
931#check_revocations_for_cached = false
932
933# DEPRECATED: Hash algorithms to use for hashing PKI tokens. This may be a
934# single algorithm or multiple. The algorithms are those supported by Python
935# standard hashlib.new(). The hashes will be tried in the order given, so put
936# the preferred one first for performance. The result of the first hash will be
937# stored in the cache. This will typically be set to multiple values only while
938# migrating from a less secure algorithm to a more secure one. Once all the old
939# tokens are expired this option should be set to a single value for better
940# performance. (list value)
941# This option is deprecated for removal since Ocata.
942# Its value may be silently ignored in the future.
943# Reason: PKI token format is no longer supported.
944#hash_algorithms = md5
945
946# A choice of roles that must be present in a service token. Service tokens are
947# allowed to request that an expired token can be used and so this check should
948# tightly control that only actual services should be sending this token. Roles
949# here are applied as an ANY check so any role in this list must be present.
950# For backwards compatibility reasons this currently only affects the
951# allow_expired check. (list value)
952#service_token_roles = service
953
954# For backwards compatibility reasons we must let valid service tokens pass
955# that don't pass the service_token_roles check as valid. Setting this true
956# will become the default in a future release and should be enabled if
957# possible. (boolean value)
958#service_token_roles_required = false
959
960# Authentication type to load (string value)
961# Deprecated group/name - [keystone_authtoken]/auth_plugin
962#auth_type = <None>
963
964# Config Section from which to load plugin specific options (string value)
965#auth_section = <None>
966
967
968[matchmaker_redis]
969
970#
971# From oslo.messaging
972#
973
974# DEPRECATED: Host to locate redis. (string value)
975# This option is deprecated for removal.
976# Its value may be silently ignored in the future.
977# Reason: Replaced by [DEFAULT]/transport_url
978#host = 127.0.0.1
979
980# DEPRECATED: Use this port to connect to redis host. (port value)
981# Minimum value: 0
982# Maximum value: 65535
983# This option is deprecated for removal.
984# Its value may be silently ignored in the future.
985# Reason: Replaced by [DEFAULT]/transport_url
986#port = 6379
987
988# DEPRECATED: Password for Redis server (optional). (string value)
989# This option is deprecated for removal.
990# Its value may be silently ignored in the future.
991# Reason: Replaced by [DEFAULT]/transport_url
992#password =
993
994# DEPRECATED: List of Redis Sentinel hosts (fault tolerance mode), e.g.,
995# [host:port, host1:port ... ] (list value)
996# This option is deprecated for removal.
997# Its value may be silently ignored in the future.
998# Reason: Replaced by [DEFAULT]/transport_url
999#sentinel_hosts =
1000
1001# Redis replica set name. (string value)
1002#sentinel_group_name = oslo-messaging-zeromq
1003
1004# Time in ms to wait between connection attempts. (integer value)
1005#wait_timeout = 2000
1006
1007# Time in ms to wait before the transaction is killed. (integer value)
1008#check_timeout = 20000
1009
1010# Timeout in ms on blocking socket operations. (integer value)
1011#socket_timeout = 10000
1012
1013
1014[nova]
1015
1016#
1017# From neutron
1018#
1019
1020# Name of nova region to use. Useful if keystone manages more than one region.
1021# (string value)
1022#region_name = <None>
1023
1024# Type of the nova endpoint to use. This endpoint will be looked up in the
1025# keystone catalog and should be one of public, internal or admin. (string
1026# value)
1027# Allowed values: public, admin, internal
1028#endpoint_type = public
1029
1030#
1031# From nova.auth
1032#
1033
1034# Authentication URL (string value)
1035#auth_url = <None>
1036
1037# Authentication type to load (string value)
1038# Deprecated group/name - [nova]/auth_plugin
1039#auth_type = <None>
1040
1041# PEM encoded Certificate Authority to use when verifying HTTPs connections.
1042# (string value)
1043#cafile = <None>
1044
1045# PEM encoded client certificate cert file (string value)
1046#certfile = <None>
1047
1048# Optional domain ID to use with v3 and v2 parameters. It will be used for both
1049# the user and project domain in v3 and ignored in v2 authentication. (string
1050# value)
1051#default_domain_id = <None>
1052
1053# Optional domain name to use with v3 API and v2 parameters. It will be used
1054# for both the user and project domain in v3 and ignored in v2 authentication.
1055# (string value)
1056#default_domain_name = <None>
1057
1058# Domain ID to scope to (string value)
1059#domain_id = <None>
1060
1061# Domain name to scope to (string value)
1062#domain_name = <None>
1063
1064# Verify HTTPS connections. (boolean value)
1065#insecure = false
1066
1067# PEM encoded client certificate key file (string value)
1068#keyfile = <None>
1069
1070# User's password (string value)
1071#password = <None>
1072
1073# Domain ID containing project (string value)
1074#project_domain_id = <None>
1075
1076# Domain name containing project (string value)
1077#project_domain_name = <None>
1078
1079# Project ID to scope to (string value)
1080# Deprecated group/name - [nova]/tenant_id
1081#project_id = <None>
1082
1083# Project name to scope to (string value)
1084# Deprecated group/name - [nova]/tenant_name
1085#project_name = <None>
1086
1087# Tenant ID (string value)
1088#tenant_id = <None>
1089
1090# Tenant Name (string value)
1091#tenant_name = <None>
1092
1093# Timeout value for http requests (integer value)
1094#timeout = <None>
1095
1096# Trust ID (string value)
1097#trust_id = <None>
1098
1099# User's domain id (string value)
1100#user_domain_id = <None>
1101
1102# User's domain name (string value)
1103#user_domain_name = <None>
1104
1105# User id (string value)
1106#user_id = <None>
1107
1108# Username (string value)
1109# Deprecated group/name - [nova]/user_name
1110#username = <None>
1111
1112
1113[oslo_concurrency]
1114
1115#
1116# From oslo.concurrency
1117#
1118
1119# Enables or disables inter-process locks. (boolean value)
1120#disable_process_locking = false
1121
1122# Directory to use for lock files. For security, the specified directory
1123# should only be writable by the user running the processes that need locking.
1124# Defaults to environment variable OSLO_LOCK_PATH. If external locks are used,
1125# a lock path must be set. (string value)
1126#lock_path = <None>
1127
1128
1129[oslo_messaging_amqp]
1130
1131#
1132# From oslo.messaging
1133#
1134
1135# Name for the AMQP container. must be globally unique. Defaults to a generated
1136# UUID (string value)
1137#container_name = <None>
1138
1139# Timeout for inactive connections (in seconds) (integer value)
1140#idle_timeout = 0
1141
1142# Debug: dump AMQP frames to stdout (boolean value)
1143#trace = false
1144
1145# Attempt to connect via SSL. If no other ssl-related parameters are given, it
1146# will use the system's CA-bundle to verify the server's certificate. (boolean
1147# value)
1148#ssl = false
1149
1150# CA certificate PEM file used to verify the server's certificate (string
1151# value)
1152#ssl_ca_file =
1153
1154# Self-identifying certificate PEM file for client authentication (string
1155# value)
1156#ssl_cert_file =
1157
1158# Private key PEM file used to sign ssl_cert_file certificate (optional)
1159# (string value)
1160#ssl_key_file =
1161
1162# Password for decrypting ssl_key_file (if encrypted) (string value)
1163#ssl_key_password = <None>
1164
1165# By default SSL checks that the name in the server's certificate matches the
1166# hostname in the transport_url. In some configurations it may be preferable to
1167# use the virtual hostname instead, for example if the server uses the Server
1168# Name Indication TLS extension (rfc6066) to provide a certificate per virtual
1169# host. Set ssl_verify_vhost to True if the server's SSL certificate uses the
1170# virtual host name instead of the DNS name. (boolean value)
1171#ssl_verify_vhost = false
1172
1173# DEPRECATED: Accept clients using either SSL or plain TCP (boolean value)
1174# This option is deprecated for removal.
1175# Its value may be silently ignored in the future.
1176# Reason: Not applicable - not a SSL server
1177#allow_insecure_clients = false
1178
1179# Space separated list of acceptable SASL mechanisms (string value)
1180#sasl_mechanisms =
1181
1182# Path to directory that contains the SASL configuration (string value)
1183#sasl_config_dir =
1184
1185# Name of configuration file (without .conf suffix) (string value)
1186#sasl_config_name =
1187
1188# SASL realm to use if no realm present in username (string value)
1189#sasl_default_realm =
1190
1191# DEPRECATED: User name for message broker authentication (string value)
1192# This option is deprecated for removal.
1193# Its value may be silently ignored in the future.
1194# Reason: Should use configuration option transport_url to provide the
1195# username.
1196#username =
1197
1198# DEPRECATED: Password for message broker authentication (string value)
1199# This option is deprecated for removal.
1200# Its value may be silently ignored in the future.
1201# Reason: Should use configuration option transport_url to provide the
1202# password.
1203#password =
1204
1205# Seconds to pause before attempting to re-connect. (integer value)
1206# Minimum value: 1
1207#connection_retry_interval = 1
1208
1209# Increase the connection_retry_interval by this many seconds after each
1210# unsuccessful failover attempt. (integer value)
1211# Minimum value: 0
1212#connection_retry_backoff = 2
1213
1214# Maximum limit for connection_retry_interval + connection_retry_backoff
1215# (integer value)
1216# Minimum value: 1
1217#connection_retry_interval_max = 30
1218
1219# Time to pause between re-connecting an AMQP 1.0 link that failed due to a
1220# recoverable error. (integer value)
1221# Minimum value: 1
1222#link_retry_delay = 10
1223
1224# The maximum number of attempts to re-send a reply message which failed due to
1225# a recoverable error. (integer value)
1226# Minimum value: -1
1227#default_reply_retry = 0
1228
1229# The deadline for an rpc reply message delivery. (integer value)
1230# Minimum value: 5
1231#default_reply_timeout = 30
1232
1233# The deadline for an rpc cast or call message delivery. Only used when caller
1234# does not provide a timeout expiry. (integer value)
1235# Minimum value: 5
1236#default_send_timeout = 30
1237
1238# The deadline for a sent notification message delivery. Only used when caller
1239# does not provide a timeout expiry. (integer value)
1240# Minimum value: 5
1241#default_notify_timeout = 30
1242
1243# The duration to schedule a purge of idle sender links. Detach link after
1244# expiry. (integer value)
1245# Minimum value: 1
1246#default_sender_link_timeout = 600
1247
1248# Indicates the addressing mode used by the driver.
1249# Permitted values:
1250# 'legacy' - use legacy non-routable addressing
1251# 'routable' - use routable addresses
1252# 'dynamic' - use legacy addresses if the message bus does not support routing
1253# otherwise use routable addressing (string value)
1254#addressing_mode = dynamic
1255
1256# Enable virtual host support for those message buses that do not natively
1257# support virtual hosting (such as qpidd). When set to true the virtual host
1258# name will be added to all message bus addresses, effectively creating a
1259# private 'subnet' per virtual host. Set to False if the message bus supports
1260# virtual hosting using the 'hostname' field in the AMQP 1.0 Open performative
1261# as the name of the virtual host. (boolean value)
1262#pseudo_vhost = true
1263
1264# address prefix used when sending to a specific server (string value)
1265#server_request_prefix = exclusive
1266
1267# address prefix used when broadcasting to all servers (string value)
1268#broadcast_prefix = broadcast
1269
1270# address prefix when sending to any server in group (string value)
1271#group_request_prefix = unicast
1272
1273# Address prefix for all generated RPC addresses (string value)
1274#rpc_address_prefix = openstack.org/om/rpc
1275
1276# Address prefix for all generated Notification addresses (string value)
1277#notify_address_prefix = openstack.org/om/notify
1278
1279# Appended to the address prefix when sending a fanout message. Used by the
1280# message bus to identify fanout messages. (string value)
1281#multicast_address = multicast
1282
1283# Appended to the address prefix when sending to a particular RPC/Notification
1284# server. Used by the message bus to identify messages sent to a single
1285# destination. (string value)
1286#unicast_address = unicast
1287
1288# Appended to the address prefix when sending to a group of consumers. Used by
1289# the message bus to identify messages that should be delivered in a round-
1290# robin fashion across consumers. (string value)
1291#anycast_address = anycast
1292
1293# Exchange name used in notification addresses.
1294# Exchange name resolution precedence:
1295# Target.exchange if set
1296# else default_notification_exchange if set
1297# else control_exchange if set
1298# else 'notify' (string value)
1299#default_notification_exchange = <None>
1300
1301# Exchange name used in RPC addresses.
1302# Exchange name resolution precedence:
1303# Target.exchange if set
1304# else default_rpc_exchange if set
1305# else control_exchange if set
1306# else 'rpc' (string value)
1307#default_rpc_exchange = <None>
1308
1309# Window size for incoming RPC Reply messages. (integer value)
1310# Minimum value: 1
1311#reply_link_credit = 200
1312
1313# Window size for incoming RPC Request messages (integer value)
1314# Minimum value: 1
1315#rpc_server_credit = 100
1316
1317# Window size for incoming Notification messages (integer value)
1318# Minimum value: 1
1319#notify_server_credit = 100
1320
1321# Send messages of this type pre-settled.
1322# Pre-settled messages will not receive acknowledgement
1323# from the peer. Note well: pre-settled messages may be
1324# silently discarded if the delivery fails.
1325# Permitted values:
1326# 'rpc-call' - send RPC Calls pre-settled
1327# 'rpc-reply'- send RPC Replies pre-settled
1328# 'rpc-cast' - Send RPC Casts pre-settled
1329# 'notify' - Send Notifications pre-settled
1330# (multi valued)
1331#pre_settled = rpc-cast
1332#pre_settled = rpc-reply
1333
1334
1335[oslo_messaging_kafka]
1336
1337#
1338# From oslo.messaging
1339#
1340
1341# DEPRECATED: Default Kafka broker Host (string value)
1342# This option is deprecated for removal.
1343# Its value may be silently ignored in the future.
1344# Reason: Replaced by [DEFAULT]/transport_url
1345#kafka_default_host = localhost
1346
1347# DEPRECATED: Default Kafka broker Port (port value)
1348# Minimum value: 0
1349# Maximum value: 65535
1350# This option is deprecated for removal.
1351# Its value may be silently ignored in the future.
1352# Reason: Replaced by [DEFAULT]/transport_url
1353#kafka_default_port = 9092
1354
1355# Max fetch bytes of Kafka consumer (integer value)
1356#kafka_max_fetch_bytes = 1048576
1357
1358# Default timeout(s) for Kafka consumers (floating point value)
1359#kafka_consumer_timeout = 1.0
1360
1361# Pool Size for Kafka Consumers (integer value)
1362#pool_size = 10
1363
1364# The pool size limit for connections expiration policy (integer value)
1365#conn_pool_min_size = 2
1366
1367# The time-to-live in sec of idle connections in the pool (integer value)
1368#conn_pool_ttl = 1200
1369
1370# Group id for Kafka consumer. Consumers in one group will coordinate message
1371# consumption (string value)
1372#consumer_group = oslo_messaging_consumer
1373
1374# Upper bound on the delay for KafkaProducer batching in seconds (floating
1375# point value)
1376#producer_batch_timeout = 0.0
1377
1378# Size of batch for the producer async send (integer value)
1379#producer_batch_size = 16384
1380
1381
1382[oslo_messaging_notifications]
1383
1384#
1385# From oslo.messaging
1386#
1387
1388# The Drivers(s) to handle sending notifications. Possible values are
1389# messaging, messagingv2, routing, log, test, noop (multi valued)
1390# Deprecated group/name - [DEFAULT]/notification_driver
1391#driver =
1392
1393# A URL representing the messaging driver to use for notifications. If not set,
1394# we fall back to the same configuration used for RPC. (string value)
1395# Deprecated group/name - [DEFAULT]/notification_transport_url
1396#transport_url = <None>
1397
1398# AMQP topic used for OpenStack notifications. (list value)
1399# Deprecated group/name - [rpc_notifier2]/topics
1400# Deprecated group/name - [DEFAULT]/notification_topics
1401#topics = notifications
1402
1403# The maximum number of attempts to re-send a notification message which failed
1404# to be delivered due to a recoverable error. 0 - No retry, -1 - indefinite
1405# (integer value)
1406#retry = -1
1407
1408
1409[oslo_messaging_rabbit]
1410
1411#
1412# From oslo.messaging
1413#
1414
1415# Use durable queues in AMQP. (boolean value)
1416# Deprecated group/name - [DEFAULT]/amqp_durable_queues
1417# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
1418#amqp_durable_queues = false
1419
1420# Auto-delete queues in AMQP. (boolean value)
1421#amqp_auto_delete = false
1422
1423# Enable SSL (boolean value)
1424#ssl = <None>
1425
1426# SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and
1427# SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some
1428# distributions. (string value)
1429# Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_version
1430#ssl_version =
1431
1432# SSL key file (valid only if SSL enabled). (string value)
1433# Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_keyfile
1434#ssl_key_file =
1435
1436# SSL cert file (valid only if SSL enabled). (string value)
1437# Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_certfile
1438#ssl_cert_file =
1439
1440# SSL certification authority file (valid only if SSL enabled). (string value)
1441# Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_ca_certs
1442#ssl_ca_file =
1443
1444# How long to wait before reconnecting in response to an AMQP consumer cancel
1445# notification. (floating point value)
1446#kombu_reconnect_delay = 1.0
1447
1448# EXPERIMENTAL: Possible values are: gzip, bz2. If not set compression will not
1449# be used. This option may not be available in future versions. (string value)
1450#kombu_compression = <None>
1451
1452# How long to wait a missing client before abandoning to send it its replies.
1453# This value should not be longer than rpc_response_timeout. (integer value)
1454# Deprecated group/name - [oslo_messaging_rabbit]/kombu_reconnect_timeout
1455#kombu_missing_consumer_retry_timeout = 60
1456
1457# Determines how the next RabbitMQ node is chosen in case the one we are
1458# currently connected to becomes unavailable. Takes effect only if more than
1459# one RabbitMQ node is provided in config. (string value)
1460# Allowed values: round-robin, shuffle
1461#kombu_failover_strategy = round-robin
1462
1463# DEPRECATED: The RabbitMQ broker address where a single node is used. (string
1464# value)
1465# This option is deprecated for removal.
1466# Its value may be silently ignored in the future.
1467# Reason: Replaced by [DEFAULT]/transport_url
1468#rabbit_host = localhost
1469
1470# DEPRECATED: The RabbitMQ broker port where a single node is used. (port
1471# value)
1472# Minimum value: 0
1473# Maximum value: 65535
1474# This option is deprecated for removal.
1475# Its value may be silently ignored in the future.
1476# Reason: Replaced by [DEFAULT]/transport_url
1477#rabbit_port = 5672
1478
1479# DEPRECATED: RabbitMQ HA cluster host:port pairs. (list value)
1480# This option is deprecated for removal.
1481# Its value may be silently ignored in the future.
1482# Reason: Replaced by [DEFAULT]/transport_url
1483#rabbit_hosts = $rabbit_host:$rabbit_port
1484
1485# DEPRECATED: The RabbitMQ userid. (string value)
1486# This option is deprecated for removal.
1487# Its value may be silently ignored in the future.
1488# Reason: Replaced by [DEFAULT]/transport_url
1489#rabbit_userid = guest
1490
1491# DEPRECATED: The RabbitMQ password. (string value)
1492# This option is deprecated for removal.
1493# Its value may be silently ignored in the future.
1494# Reason: Replaced by [DEFAULT]/transport_url
1495#rabbit_password = guest
1496
1497# The RabbitMQ login method. (string value)
1498# Allowed values: PLAIN, AMQPLAIN, RABBIT-CR-DEMO
1499#rabbit_login_method = AMQPLAIN
1500
1501# DEPRECATED: The RabbitMQ virtual host. (string value)
1502# This option is deprecated for removal.
1503# Its value may be silently ignored in the future.
1504# Reason: Replaced by [DEFAULT]/transport_url
1505#rabbit_virtual_host = /
1506
1507# How frequently to retry connecting with RabbitMQ. (integer value)
1508#rabbit_retry_interval = 1
1509
1510# How long to backoff for between retries when connecting to RabbitMQ. (integer
1511# value)
1512#rabbit_retry_backoff = 2
1513
1514# Maximum interval of RabbitMQ connection retries. Default is 30 seconds.
1515# (integer value)
1516#rabbit_interval_max = 30
1517
1518# DEPRECATED: Maximum number of RabbitMQ connection retries. Default is 0
1519# (infinite retry count). (integer value)
1520# This option is deprecated for removal.
1521# Its value may be silently ignored in the future.
1522#rabbit_max_retries = 0
1523
1524# Try to use HA queues in RabbitMQ (x-ha-policy: all). If you change this
1525# option, you must wipe the RabbitMQ database. In RabbitMQ 3.0, queue mirroring
1526# is no longer controlled by the x-ha-policy argument when declaring a queue.
1527# If you just want to make sure that all queues (except those with auto-
1528# generated names) are mirrored across all nodes, run: "rabbitmqctl set_policy
1529# HA '^(?!amq\.).*' '{"ha-mode": "all"}' " (boolean value)
1530#rabbit_ha_queues = false
1531
1532# Positive integer representing duration in seconds for queue TTL (x-expires).
1533# Queues which are unused for the duration of the TTL are automatically
1534# deleted. The parameter affects only reply and fanout queues. (integer value)
1535# Minimum value: 1
1536#rabbit_transient_queues_ttl = 1800
1537
1538# Specifies the number of messages to prefetch. Setting to zero allows
1539# unlimited messages. (integer value)
1540#rabbit_qos_prefetch_count = 0
1541
1542# Number of seconds after which the Rabbit broker is considered down if
1543# heartbeat's keep-alive fails (0 disable the heartbeat). EXPERIMENTAL (integer
1544# value)
1545#heartbeat_timeout_threshold = 60
1546
1547# How often times during the heartbeat_timeout_threshold we check the
1548# heartbeat. (integer value)
1549#heartbeat_rate = 2
1550
1551# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake (boolean value)
1552#fake_rabbit = false
1553
1554# Maximum number of channels to allow (integer value)
1555#channel_max = <None>
1556
1557# The maximum byte size for an AMQP frame (integer value)
1558#frame_max = <None>
1559
1560# How often to send heartbeats for consumer's connections (integer value)
1561#heartbeat_interval = 3
1562
1563# Arguments passed to ssl.wrap_socket (dict value)
1564#ssl_options = <None>
1565
1566# Set socket timeout in seconds for connection's socket (floating point value)
1567#socket_timeout = 0.25
1568
1569# Set TCP_USER_TIMEOUT in seconds for connection's socket (floating point
1570# value)
1571#tcp_user_timeout = 0.25
1572
1573# Set delay for reconnection to some host which has connection error (floating
1574# point value)
1575#host_connection_reconnect_delay = 0.25
1576
1577# Connection factory implementation (string value)
1578# Allowed values: new, single, read_write
1579#connection_factory = single
1580
1581# Maximum number of connections to keep queued. (integer value)
1582#pool_max_size = 30
1583
1584# Maximum number of connections to create above `pool_max_size`. (integer
1585# value)
1586#pool_max_overflow = 0
1587
1588# Default number of seconds to wait for a connections to available (integer
1589# value)
1590#pool_timeout = 30
1591
1592# Lifetime of a connection (since creation) in seconds or None for no
1593# recycling. Expired connections are closed on acquire. (integer value)
1594#pool_recycle = 600
1595
1596# Threshold at which inactive (since release) connections are considered stale
1597# in seconds or None for no staleness. Stale connections are closed on acquire.
1598# (integer value)
1599#pool_stale = 60
1600
1601# Default serialization mechanism for serializing/deserializing
1602# outgoing/incoming messages (string value)
1603# Allowed values: json, msgpack
1604#default_serializer_type = json
1605
1606# Persist notification messages. (boolean value)
1607#notification_persistence = false
1608
1609# Exchange name for sending notifications (string value)
1610#default_notification_exchange = ${control_exchange}_notification
1611
1612# Max number of not acknowledged message which RabbitMQ can send to
1613# notification listener. (integer value)
1614#notification_listener_prefetch_count = 100
1615
1616# Reconnecting retry count in case of connectivity problem during sending
1617# notification, -1 means infinite retry. (integer value)
1618#default_notification_retry_attempts = -1
1619
1620# Reconnecting retry delay in case of connectivity problem during sending
1621# notification message (floating point value)
1622#notification_retry_delay = 0.25
1623
1624# Time to live for rpc queues without consumers in seconds. (integer value)
1625#rpc_queue_expiration = 60
1626
1627# Exchange name for sending RPC messages (string value)
1628#default_rpc_exchange = ${control_exchange}_rpc
1629
1630# Exchange name for receiving RPC replies (string value)
1631#rpc_reply_exchange = ${control_exchange}_rpc_reply
1632
1633# Max number of not acknowledged message which RabbitMQ can send to rpc
1634# listener. (integer value)
1635#rpc_listener_prefetch_count = 100
1636
1637# Max number of not acknowledged message which RabbitMQ can send to rpc reply
1638# listener. (integer value)
1639#rpc_reply_listener_prefetch_count = 100
1640
1641# Reconnecting retry count in case of connectivity problem during sending
1642# reply. -1 means infinite retry during rpc_timeout (integer value)
1643#rpc_reply_retry_attempts = -1
1644
1645# Reconnecting retry delay in case of connectivity problem during sending
1646# reply. (floating point value)
1647#rpc_reply_retry_delay = 0.25
1648
1649# Reconnecting retry count in case of connectivity problem during sending RPC
1650# message, -1 means infinite retry. If actual retry attempts in not 0 the rpc
1651# request could be processed more than one time (integer value)
1652#default_rpc_retry_attempts = -1
1653
1654# Reconnecting retry delay in case of connectivity problem during sending RPC
1655# message (floating point value)
1656#rpc_retry_delay = 0.25
1657
1658
1659[oslo_messaging_zmq]
1660
1661#
1662# From oslo.messaging
1663#
1664
1665# ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
1666# The "host" option should point or resolve to this address. (string value)
1667#rpc_zmq_bind_address = *
1668
1669# MatchMaker driver. (string value)
1670# Allowed values: redis, sentinel, dummy
1671#rpc_zmq_matchmaker = redis
1672
1673# Number of ZeroMQ contexts, defaults to 1. (integer value)
1674#rpc_zmq_contexts = 1
1675
1676# Maximum number of ingress messages to locally buffer per topic. Default is
1677# unlimited. (integer value)
1678#rpc_zmq_topic_backlog = <None>
1679
1680# Directory for holding IPC sockets. (string value)
1681#rpc_zmq_ipc_dir = /var/run/openstack
1682
1683# Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
1684# "host" option, if running Nova. (string value)
1685#rpc_zmq_host = localhost
1686
1687# Number of seconds to wait before all pending messages will be sent after
1688# closing a socket. The default value of -1 specifies an infinite linger
1689# period. The value of 0 specifies no linger period. Pending messages shall be
1690# discarded immediately when the socket is closed. Positive values specify an
1691# upper bound for the linger period. (integer value)
1692# Deprecated group/name - [DEFAULT]/rpc_cast_timeout
1693#zmq_linger = -1
1694
1695# The default number of seconds that poll should wait. Poll raises timeout
1696# exception when timeout expired. (integer value)
1697#rpc_poll_timeout = 1
1698
1699# Expiration timeout in seconds of a name service record about existing target
1700# ( < 0 means no timeout). (integer value)
1701#zmq_target_expire = 300
1702
1703# Update period in seconds of a name service record about existing target.
1704# (integer value)
1705#zmq_target_update = 180
1706
1707# Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean
1708# value)
1709#use_pub_sub = false
1710
1711# Use ROUTER remote proxy. (boolean value)
1712#use_router_proxy = false
1713
1714# This option makes direct connections dynamic or static. It makes sense only
1715# with use_router_proxy=False which means to use direct connections for direct
1716# message types (ignored otherwise). (boolean value)
1717#use_dynamic_connections = false
1718
1719# How many additional connections to a host will be made for failover reasons.
1720# This option is actual only in dynamic connections mode. (integer value)
1721#zmq_failover_connections = 2
1722
1723# Minimal port number for random ports range. (port value)
1724# Minimum value: 0
1725# Maximum value: 65535
1726#rpc_zmq_min_port = 49153
1727
1728# Maximal port number for random ports range. (integer value)
1729# Minimum value: 1
1730# Maximum value: 65536
1731#rpc_zmq_max_port = 65536
1732
1733# Number of retries to find free port number before fail with ZMQBindError.
1734# (integer value)
1735#rpc_zmq_bind_port_retries = 100
1736
1737# Default serialization mechanism for serializing/deserializing
1738# outgoing/incoming messages (string value)
1739# Allowed values: json, msgpack
1740#rpc_zmq_serialization = json
1741
1742# This option configures round-robin mode in zmq socket. True means not keeping
1743# a queue when server side disconnects. False means to keep queue and messages
1744# even if server is disconnected, when the server appears we send all
1745# accumulated messages to it. (boolean value)
1746#zmq_immediate = true
1747
1748# Enable/disable TCP keepalive (KA) mechanism. The default value of -1 (or any
1749# other negative value) means to skip any overrides and leave it to OS default;
1750# 0 and 1 (or any other positive value) mean to disable and enable the option
1751# respectively. (integer value)
1752#zmq_tcp_keepalive = -1
1753
1754# The duration between two keepalive transmissions in idle condition. The unit
1755# is platform dependent, for example, seconds in Linux, milliseconds in Windows
1756# etc. The default value of -1 (or any other negative value and 0) means to
1757# skip any overrides and leave it to OS default. (integer value)
1758#zmq_tcp_keepalive_idle = -1
1759
1760# The number of retransmissions to be carried out before declaring that remote
1761# end is not available. The default value of -1 (or any other negative value
1762# and 0) means to skip any overrides and leave it to OS default. (integer
1763# value)
1764#zmq_tcp_keepalive_cnt = -1
1765
1766# The duration between two successive keepalive retransmissions, if
1767# acknowledgement to the previous keepalive transmission is not received. The
1768# unit is platform dependent, for example, seconds in Linux, milliseconds in
1769# Windows etc. The default value of -1 (or any other negative value and 0)
1770# means to skip any overrides and leave it to OS default. (integer value)
1771#zmq_tcp_keepalive_intvl = -1
1772
1773# Maximum number of (green) threads to work concurrently. (integer value)
1774#rpc_thread_pool_size = 100
1775
1776# Expiration timeout in seconds of a sent/received message after which it is
1777# not tracked anymore by a client/server. (integer value)
1778#rpc_message_ttl = 300
1779
1780# Wait for message acknowledgements from receivers. This mechanism works only
1781# via proxy without PUB/SUB. (boolean value)
1782#rpc_use_acks = false
1783
1784# Number of seconds to wait for an ack from a cast/call. After each retry
1785# attempt this timeout is multiplied by some specified multiplier. (integer
1786# value)
1787#rpc_ack_timeout_base = 15
1788
1789# Number to multiply base ack timeout by after each retry attempt. (integer
1790# value)
1791#rpc_ack_timeout_multiplier = 2
1792
1793# Default number of message sending attempts in case of any problems occurred:
1794# positive value N means at most N retries, 0 means no retries, None or -1 (or
1795# any other negative values) mean to retry forever. This option is used only if
1796# acknowledgments are enabled. (integer value)
1797#rpc_retry_attempts = 3
1798
1799# List of publisher hosts SubConsumer can subscribe on. This option has higher
1800# priority then the default publishers list taken from the matchmaker. (list
1801# value)
1802#subscribe_on =
1803
1804
1805[oslo_middleware]
1806
1807#
1808# From oslo.middleware.http_proxy_to_wsgi
1809#
1810
1811# Whether the application is behind a proxy or not. This determines if the
1812# middleware should parse the headers or not. (boolean value)
1813#enable_proxy_headers_parsing = false
1814
1815
1816[oslo_policy]
1817
1818#
1819# From oslo.policy
1820#
1821
1822# The file that defines policies. (string value)
1823#policy_file = policy.json
1824
1825# Default rule. Enforced when a requested rule is not found. (string value)
1826#policy_default_rule = default
1827
1828# Directories where policy configuration files are stored. They can be relative
1829# to any directory in the search path defined by the config_dir option, or
1830# absolute paths. The file defined by policy_file must exist for these
1831# directories to be searched. Missing or empty directories are ignored. (multi
1832# valued)
1833#policy_dirs = policy.d
1834
1835
1836[quotas]
1837
1838#
1839# From neutron
1840#
1841
1842# Default number of resource allowed per tenant. A negative value means
1843# unlimited. (integer value)
1844#default_quota = -1
1845
1846# Number of networks allowed per tenant. A negative value means unlimited.
1847# (integer value)
1848#quota_network = 100
1849
1850# Number of subnets allowed per tenant, A negative value means unlimited.
1851# (integer value)
1852#quota_subnet = 100
1853
1854# Number of ports allowed per tenant. A negative value means unlimited.
1855# (integer value)
1856#quota_port = 500
1857
1858# Default driver to use for quota checks. (string value)
1859#quota_driver = neutron.db.quota.driver.DbQuotaDriver
1860
1861# Keep in track in the database of current resource quota usage. Plugins which
1862# do not leverage the neutron database should set this flag to False. (boolean
1863# value)
1864#track_quota_usage = true
1865
1866#
1867# From neutron.extensions
1868#
1869
1870# Number of routers allowed per tenant. A negative value means unlimited.
1871# (integer value)
1872#quota_router = 10
1873
1874# Number of floating IPs allowed per tenant. A negative value means unlimited.
1875# (integer value)
1876#quota_floatingip = 50
1877
1878# Number of security groups allowed per tenant. A negative value means
1879# unlimited. (integer value)
1880#quota_security_group = 10
1881
1882# Number of security rules allowed per tenant. A negative value means
1883# unlimited. (integer value)
1884#quota_security_group_rule = 100
1885
1886
1887[ssl]
1888
1889#
1890# From oslo.service.sslutils
1891#
1892
1893# CA certificate file to use to verify connecting clients. (string value)
1894# Deprecated group/name - [DEFAULT]/ssl_ca_file
1895#ca_file = <None>
1896
1897# Certificate file to use when starting the server securely. (string value)
1898# Deprecated group/name - [DEFAULT]/ssl_cert_file
1899#cert_file = <None>
1900
1901# Private key file to use when starting the server securely. (string value)
1902# Deprecated group/name - [DEFAULT]/ssl_key_file
1903#key_file = <None>
1904
1905# SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and
1906# SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some
1907# distributions. (string value)
1908#version = <None>
1909
1910# Sets the list of available ciphers. value should be a string in the OpenSSL
1911# cipher list format. (string value)
1912#ciphers = <None>