From ee6d0b4462da3442412e9e20f85ba747f50e74b1 Mon Sep 17 00:00:00 2001 From: Boris Pavlovic Date: Mon, 9 Oct 2017 23:02:50 -0700 Subject: [PATCH] Update Rally config sample Change-Id: I726e600d74a1d3523a6a76943e0ef7d81de799b0 --- etc/rally/rally.conf.sample | 305 ++++++++++++++++-------------------- 1 file changed, 139 insertions(+), 166 deletions(-) diff --git a/etc/rally/rally.conf.sample b/etc/rally/rally.conf.sample index 82a60285f4..f567e4eff5 100644 --- a/etc/rally/rally.conf.sample +++ b/etc/rally/rally.conf.sample @@ -117,20 +117,131 @@ # From rally # -# Print debugging output only for Rally. Off-site components stay -# quiet. (boolean value) -#rally_debug = false - # HTTP timeout for any of OpenStack service in seconds (floating point # value) #openstack_client_http_timeout = 180.0 +# Print debugging output only for Rally. Off-site components stay +# quiet. (boolean value) +#rally_debug = false + # Size of raw result chunk in iterations (integer value) # Minimum value: 1 #raw_result_chunk_size = 1000 -[benchmark] +[database] + +# +# From oslo.db +# + +# If True, SQLite uses synchronous mode. (boolean value) +#sqlite_synchronous = true + +# The back end to use for the database. (string value) +# Deprecated group/name - [DEFAULT]/db_backend +#backend = sqlalchemy + +# 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 = + +# The SQLAlchemy connection string to use to connect to the slave +# database. (string value) +#slave_connection = + +# 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, set this to no value. +# Example: mysql_sql_mode= (string value) +#mysql_sql_mode = TRADITIONAL + +# If True, transparently enables support for handling MySQL Cluster +# (NDB). (boolean value) +#mysql_enable_ndb = false + +# Connections which have been present in the connection pool longer +# than this number of seconds will be replaced with a new one the next +# time they are checked out from the pool. (integer value) +# Deprecated group/name - [DATABASE]/idle_timeout +# Deprecated group/name - [database]/idle_timeout +# Deprecated group/name - [DEFAULT]/sql_idle_timeout +# Deprecated group/name - [DATABASE]/sql_idle_timeout +# Deprecated group/name - [sql]/idle_timeout +#connection_recycle_time = 3600 + +# 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. Setting a +# value of 0 indicates no limit. (integer value) +# Deprecated group/name - [DEFAULT]/sql_max_pool_size +# Deprecated group/name - [DATABASE]/sql_max_pool_size +#max_pool_size = 5 + +# Maximum number of database 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. (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. (integer +# value) +# Deprecated group/name - [DEFAULT]/sql_max_overflow +# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow +#max_overflow = 50 + +# Verbosity of SQL debugging information: 0=None, 100=Everything. +# (integer value) +# Minimum value: 0 +# Maximum value: 100 +# Deprecated group/name - [DEFAULT]/sql_connection_debug +#connection_debug = 0 + +# 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. (integer +# value) +# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout +#pool_timeout = + +# Enable the experimental use of database reconnect on connection +# lost. (boolean value) +#use_db_reconnect = false + +# Seconds between retries of a database transaction. (integer value) +#db_retry_interval = 1 + +# If True, increases the interval between retries of a database +# operation up to db_max_retry_interval. (boolean value) +#db_inc_retry_interval = true + +# If db_inc_retry_interval is set, the maximum seconds between retries +# of a database operation. (integer value) +#db_max_retry_interval = 10 + +# Maximum retries in case of connection error or deadlock error before +# error is raised. Set to -1 to specify an infinite retry count. +# (integer value) +#db_max_retries = 20 + + +[openstack] # # From rally @@ -284,7 +395,7 @@ # Time(in sec) to wait for k8s rc to be created. (floating point # value) -#k8s_rc_create_timeout = 600.0 +#k8s_rc_create_timeout = 1200.0 # Time interval(in sec) between checks when waiting for k8s rc # creation. (floating point value) @@ -557,23 +668,18 @@ #enable_profiler = true # A timeout in seconds for a cluster create operation (integer value) -# Deprecated group/name - [benchmark]/cluster_create_timeout #sahara_cluster_create_timeout = 1800 # A timeout in seconds for a cluster delete operation (integer value) -# Deprecated group/name - [benchmark]/cluster_delete_timeout #sahara_cluster_delete_timeout = 900 # Cluster status polling interval in seconds (integer value) -# Deprecated group/name - [benchmark]/cluster_check_interval #sahara_cluster_check_interval = 5 # A timeout in seconds for a Job Execution to complete (integer value) -# Deprecated group/name - [benchmark]/job_execution_timeout #sahara_job_execution_timeout = 600 # Job Execution status polling interval in seconds (integer value) -# Deprecated group/name - [benchmark]/job_check_interval #sahara_job_check_interval = 5 # Amount of workers one proxy should serve to. (integer value) @@ -610,154 +716,6 @@ # Watcher audit launch timeout (integer value) #watcher_audit_launch_timeout = 300 -# Time in seconds to wait for senlin action to finish. (floating point -# value) -#senlin_action_timeout = 3600 - -# Neutron create loadbalancer timeout (floating point value) -#neutron_create_loadbalancer_timeout = 500.0 - -# Neutron create loadbalancer poll interval (floating point value) -#neutron_create_loadbalancer_poll_interval = 2.0 - - -[cleanup] - -# -# From rally -# - -# A timeout in seconds for deleting resources (integer value) -#resource_deletion_timeout = 600 - -# Number of cleanup threads to run (integer value) -#cleanup_threads = 20 - - -[database] - -# -# From oslo.db -# - -# If True, SQLite uses synchronous mode. (boolean value) -#sqlite_synchronous = true - -# The back end to use for the database. (string value) -# Deprecated group/name - [DEFAULT]/db_backend -#backend = sqlalchemy - -# 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 = - -# The SQLAlchemy connection string to use to connect to the slave -# database. (string value) -#slave_connection = - -# 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, set this to no value. -# Example: mysql_sql_mode= (string value) -#mysql_sql_mode = TRADITIONAL - -# If True, transparently enables support for handling MySQL Cluster -# (NDB). (boolean value) -#mysql_enable_ndb = false - -# 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. (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. Setting a -# value of 0 indicates no limit. (integer value) -# Deprecated group/name - [DEFAULT]/sql_max_pool_size -# Deprecated group/name - [DATABASE]/sql_max_pool_size -#max_pool_size = 5 - -# Maximum number of database 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. (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. (integer -# value) -# Deprecated group/name - [DEFAULT]/sql_max_overflow -# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow -#max_overflow = 50 - -# Verbosity of SQL debugging information: 0=None, 100=Everything. -# (integer value) -# Minimum value: 0 -# Maximum value: 100 -# Deprecated group/name - [DEFAULT]/sql_connection_debug -#connection_debug = 0 - -# 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. (integer -# value) -# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout -#pool_timeout = - -# Enable the experimental use of database reconnect on connection -# lost. (boolean value) -#use_db_reconnect = false - -# Seconds between retries of a database transaction. (integer value) -#db_retry_interval = 1 - -# If True, increases the interval between retries of a database -# operation up to db_max_retry_interval. (boolean value) -#db_inc_retry_interval = true - -# If db_inc_retry_interval is set, the maximum seconds between retries -# of a database operation. (integer value) -#db_max_retry_interval = 10 - -# Maximum retries in case of connection error or deadlock error before -# error is raised. Set to -1 to specify an infinite retry count. -# (integer value) -#db_max_retries = 20 - - -[roles_context] - -# -# From rally -# - -# How many concurrent threads to use for serving roles context -# (integer value) -#resource_management_workers = 30 - - -[tempest] - -# -# From rally -# - # image URL (string value) #img_url = http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img @@ -801,16 +759,15 @@ # RAM size flavor used for orchestration test cases (integer value) #heat_instance_type_ram = 64 - -[users_context] - -# -# From rally -# +# How many concurrent threads to use for serving roles context +# (integer value) +# Deprecated group/name - [roles_context]/resource_management_workers +#roles_context_resource_management_workers = 30 # The number of concurrent threads to use for serving users context. # (integer value) -#resource_management_workers = 20 +# Deprecated group/name - [users_context]/resource_management_workers +#users_context_resource_management_workers = 20 # ID of domain in which projects will be created. (string value) #project_domain = default @@ -821,3 +778,19 @@ # The default role name of the keystone to assign to users. (string # value) #keystone_default_role = member + +# A timeout in seconds for deleting resources (integer value) +#resource_deletion_timeout = 600 + +# Number of cleanup threads to run (integer value) +#cleanup_threads = 20 + +# Time in seconds to wait for senlin action to finish. (floating point +# value) +#senlin_action_timeout = 3600 + +# Neutron create loadbalancer timeout (floating point value) +#neutron_create_loadbalancer_timeout = 500.0 + +# Neutron create loadbalancer poll interval (floating point value) +#neutron_create_loadbalancer_poll_interval = 2.0