![Gary Kotton](/assets/img/avatar_default.png)
Fixes bug 1160442 The defualt parameters are used unless otherwise configured. This is applicable for: - pool_size - max_overflow - pool_timeout By increasing the pool_size and the max_overflow and lowering the timeout the issue reported in the bug is resolved. NOTE: the configuration values enable the user to make use of the default QueuePool tuning values. Change-Id: Ic258442531a2caf2db4f05c4ddd6fbfb0c180f17
81 lines
2.6 KiB
INI
81 lines
2.6 KiB
INI
[DATABASE]
|
|
# (StrOpt) SQLAlchemy database connection string. This MUST be changed
|
|
# to actually run the plugin with persistent storage.
|
|
#
|
|
# sql_connection = sqlite://
|
|
# Example: sql_connection = mysql://root:password@localhost/quantum_ml2?charset=utf8
|
|
|
|
# (IntOpt) Database reconnection retry limit after database
|
|
# connectivity is lost. Value of -1 specifies infinite retry limit.
|
|
#
|
|
# sql_max_retries = -1
|
|
# Example: sql_max_retries = 10
|
|
|
|
# (IntOpt) Database reconnection interval in seconds after the initial
|
|
# connection to the database fails.
|
|
#
|
|
# reconnect_interval = 2
|
|
# Example: reconnect_interval = 10
|
|
|
|
# (BoolOpt) Enable the use of eventlet's db_pool for MySQL. The flags
|
|
# sql_min_pool_size, sql_max_pool_size and sql_idle_timeout are
|
|
# relevant only if this is enabled.
|
|
#
|
|
# sql_dbpool_enable = False
|
|
# Example: sql_dbpool_enable = True
|
|
|
|
# (IntOpt) Minimum number of MySQL connections to keep open in a pool.
|
|
#
|
|
# sql_min_pool_size = 1
|
|
# Example: sql_min_pool_size = 5
|
|
|
|
# (IntOpt) Maximum number of MySQL connections to keep open in a pool.
|
|
#
|
|
# sql_max_pool_size = 5
|
|
# Example: sql_max_pool_size = 20
|
|
|
|
# (IntOpt) Timeout in seconds before idle MySQL connections are
|
|
# reaped.
|
|
#
|
|
# sql_idle_timeout = 3600
|
|
# Example: sql_idle_timeout = 6000
|
|
|
|
# Maximum number of SQL connections to keep open in a QueuePool in SQLAlchemy
|
|
# Example sqlalchemy_pool_size = 5
|
|
# Maximum number of overflow connections in a QueuePool in SQLAlchemy
|
|
# Example sqlalchemy_max_overflow = 10
|
|
# Timeout of the open connections QueuePool in SQLAlchemy
|
|
# Example sqlalchemy_pool_timeout = 30
|
|
|
|
[ml2]
|
|
# (ListOpt) List of network type driver entrypoints to be loaded from
|
|
# the quantum.ml2.type_drivers namespace.
|
|
#
|
|
# type_drivers = local,flat,vlan
|
|
# Example: type_drivers = flat,vlan,gre
|
|
|
|
# (ListOpt) Ordered list of network_types to allocate as tenant
|
|
# networks. The default value 'local' is useful for single-box testing
|
|
# but provides no connectivity between hosts.
|
|
#
|
|
# tenant_network_types = local
|
|
# Example: tenant_network_types = vlan,gre
|
|
|
|
[ml2_type_flat]
|
|
# (ListOpt) List of physical_network names with which flat networks
|
|
# can be created. Use * to allow flat networks with arbitrary
|
|
# physical_network names.
|
|
#
|
|
# flat_networks =
|
|
# Example:flat_networks = physnet1,physnet2
|
|
# Example:flat_networks = *
|
|
|
|
[ml2_type_vlan]
|
|
# (ListOpt) List of <physical_network>[:<vlan_min>:<vlan_max>] tuples
|
|
# specifying physical_network names usable for VLAN provider and
|
|
# tenant networks, as well as ranges of VLAN tags on each
|
|
# physical_network available for allocation as tenant networks.
|
|
#
|
|
# network_vlan_ranges =
|
|
# Example: network_vlan_ranges = physnet1:1000:2999,physnet2
|