diff options
author | Thomas Herve <thomas.herve@enovance.com> | 2014-07-03 16:23:03 +0200 |
---|---|---|
committer | Thomas Herve <thomas.herve@enovance.com> | 2014-07-15 10:14:56 +0200 |
commit | 2a51ee7449daecc151b758001d8ee16a673de12a (patch) | |
tree | 63a2585acc266609af9e7a7112effe9c443e6662 /etc | |
parent | 170781b7c7914b7df09934d03b89a5ace374d26f (diff) | |
download | heat-2a51ee7449daecc151b758001d8ee16a673de12a.tar.gz |
Migrate to oslo.db
Move from oslo-incubator db module to oslo.db
Change-Id: I485375e3defc807e1fc272803a064b2c52e8ac13
Diffstat (limited to 'etc')
-rw-r--r-- | etc/heat/heat.conf.sample | 57 |
1 files changed, 31 insertions, 26 deletions
diff --git a/etc/heat/heat.conf.sample b/etc/heat/heat.conf.sample index 06ca08690..0781a9c92 100644 --- a/etc/heat/heat.conf.sample +++ b/etc/heat/heat.conf.sample @@ -840,26 +840,30 @@ [database] # -# Options defined in heat.openstack.common.db.options +# Options defined in oslo.db # -# The file name to use with SQLite (string value) -#sqlite_db=heat.sqlite +# The file name to use with SQLite. (string value) +#sqlite_db=oslo.sqlite -# If True, SQLite uses synchronous mode (boolean value) +# If True, SQLite uses synchronous mode. (boolean value) #sqlite_synchronous=true -# The backend to use for db (string value) +# The back end to use for the database. (string value) # Deprecated group/name - [DEFAULT]/db_backend #backend=sqlalchemy -# The SQLAlchemy connection string used to connect to the -# database (string value) +# The SQLAlchemy connection string to use to connect to the +# database. (string value) # Deprecated group/name - [DEFAULT]/sql_connection # Deprecated group/name - [DATABASE]/sql_connection # Deprecated group/name - [sql]/connection #connection=<None> +# The SQLAlchemy connection string to use to connect to the +# slave database. (string value) +#slave_connection=<None> + # The SQL mode to be used for MySQL sessions. This option, # including the default, overrides any server-set SQL mode. To # use whatever SQL mode is set by the server configuration, @@ -867,75 +871,76 @@ # value) #mysql_sql_mode=TRADITIONAL -# Timeout before idle sql connections are reaped (integer +# Timeout before idle SQL connections are reaped. (integer # value) # Deprecated group/name - [DEFAULT]/sql_idle_timeout # Deprecated group/name - [DATABASE]/sql_idle_timeout # Deprecated group/name - [sql]/idle_timeout #idle_timeout=3600 -# Minimum number of SQL connections to keep open in a pool +# Minimum number of SQL connections to keep open in a pool. # (integer value) # Deprecated group/name - [DEFAULT]/sql_min_pool_size # Deprecated group/name - [DATABASE]/sql_min_pool_size #min_pool_size=1 -# Maximum number of SQL connections to keep open in a pool +# Maximum number of SQL connections to keep open in a pool. # (integer value) # Deprecated group/name - [DEFAULT]/sql_max_pool_size # Deprecated group/name - [DATABASE]/sql_max_pool_size #max_pool_size=<None> -# Maximum db connection retries during startup. (setting -1 -# implies an infinite retry count) (integer value) +# Maximum db connection retries during startup. Set to -1 to +# specify an infinite retry count. (integer value) # Deprecated group/name - [DEFAULT]/sql_max_retries # Deprecated group/name - [DATABASE]/sql_max_retries #max_retries=10 -# Interval between retries of opening a sql connection +# Interval between retries of opening a SQL connection. # (integer value) # Deprecated group/name - [DEFAULT]/sql_retry_interval # Deprecated group/name - [DATABASE]/reconnect_interval #retry_interval=10 -# If set, use this value for max_overflow with sqlalchemy +# If set, use this value for max_overflow with SQLAlchemy. # (integer value) # Deprecated group/name - [DEFAULT]/sql_max_overflow # Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow #max_overflow=<None> -# Verbosity of SQL debugging information. 0=None, -# 100=Everything (integer value) +# Verbosity of SQL debugging information: 0=None, +# 100=Everything. (integer value) # Deprecated group/name - [DEFAULT]/sql_connection_debug #connection_debug=0 -# Add python stack traces to SQL as comment strings (boolean +# Add Python stack traces to SQL as comment strings. (boolean # value) # Deprecated group/name - [DEFAULT]/sql_connection_trace #connection_trace=false -# If set, use this value for pool_timeout with sqlalchemy +# If set, use this value for pool_timeout with SQLAlchemy. # (integer value) # Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout #pool_timeout=<None> # Enable the experimental use of database reconnect on -# connection lost (boolean value) +# connection lost. (boolean value) #use_db_reconnect=false -# seconds between db connection retries (integer value) +# Seconds between database connection retries. (integer value) #db_retry_interval=1 -# Whether to increase interval between db connection retries, -# up to db_max_retry_interval (boolean value) +# If True, increases the interval between database connection +# retries up to db_max_retry_interval. (boolean value) #db_inc_retry_interval=true -# max seconds between db connection retries, if -# db_inc_retry_interval is enabled (integer value) +# If db_inc_retry_interval is set, the maximum seconds between +# database connection retries. (integer value) #db_max_retry_interval=10 -# maximum db connection retries before error is raised. -# (setting -1 implies an infinite retry count) (integer value) +# Maximum database connection retries before error is raised. +# Set to -1 to specify an infinite retry count. (integer +# value) #db_max_retries=20 |