diff --git a/etc/glance-api.conf b/etc/glance-api.conf index e851c42152..a4be5413a0 100644 --- a/etc/glance-api.conf +++ b/etc/glance-api.conf @@ -5144,6 +5144,148 @@ #lock_path = +[oslo_limit] + +# +# From oslo.limit +# + +# The service's endpoint id which is registered in Keystone. (string value) +#endpoint_id = + +# PEM encoded Certificate Authority to use when verifying HTTPs connections. +# (string value) +#cafile = + +# PEM encoded client certificate cert file (string value) +#certfile = + +# PEM encoded client certificate key file (string value) +#keyfile = + +# Verify HTTPS connections. (boolean value) +#insecure = false + +# Timeout value for http requests (integer value) +#timeout = + +# Collect per-API call timing information. (boolean value) +#collect_timing = false + +# Log requests to multiple loggers. (boolean value) +#split_loggers = false + +# Authentication URL (string value) +#auth_url = + +# Scope for system operations (string value) +#system_scope = + +# Domain ID to scope to (string value) +#domain_id = + +# Domain name to scope to (string value) +#domain_name = + +# Project ID to scope to (string value) +#project_id = + +# Project name to scope to (string value) +#project_name = + +# Domain ID containing project (string value) +#project_domain_id = + +# Domain name containing project (string value) +#project_domain_name = + +# ID of the trust to use as a trustee use (string value) +#trust_id = + +# Optional domain ID to use with v3 and v2 parameters. It will be used for both +# the user and project domain in v3 and ignored in v2 authentication. (string +# value) +#default_domain_id = + +# Optional domain name to use with v3 API and v2 parameters. It will be used for +# both the user and project domain in v3 and ignored in v2 authentication. +# (string value) +#default_domain_name = + +# User ID (string value) +#user_id = + +# Username (string value) +# Deprecated group/name - [oslo_limit]/user_name +#username = + +# User's domain id (string value) +#user_domain_id = + +# User's domain name (string value) +#user_domain_name = + +# User's password (string value) +#password = + +# Tenant ID (string value) +#tenant_id = + +# Tenant Name (string value) +#tenant_name = + +# The default service_type for endpoint URL discovery. (string value) +#service_type = + +# The default service_name for endpoint URL discovery. (string value) +#service_name = + +# List of interfaces, in order of preference, for endpoint URL. (list value) +#valid_interfaces = + +# The default region_name for endpoint URL discovery. (string value) +#region_name = + +# Always use this endpoint URL for requests for this client. NOTE: The +# unversioned endpoint should be specified here; to request a particular API +# version, use the `version`, `min-version`, and/or `max-version` options. +# (string value) +#endpoint_override = + +# Minimum Major API version within a given Major API version for endpoint URL +# discovery. Mutually exclusive with min_version and max_version (string value) +#version = + +# The minimum major version of a given API, intended to be used as the lower +# bound of a range with max_version. Mutually exclusive with version. If +# min_version is given with no max_version it is as if max version is "latest". +# (string value) +#min_version = + +# The maximum major version of a given API, intended to be used as the upper +# bound of a range with min_version. Mutually exclusive with version. (string +# value) +#max_version = + +# The maximum number of retries that should be attempted for connection errors. +# (integer value) +#connect_retries = + +# Delay (in seconds) between two retries for connection errors. If not set, +# exponential retry starting with 0.5 seconds up to a maximum of 60 seconds is +# used. (floating point value) +#connect_retry_delay = + +# The maximum number of retries that should be attempted for retriable HTTP +# status codes. (integer value) +#status_code_retries = + +# Delay (in seconds) between two retries for retriable status codes. If not set, +# exponential retry starting with 0.5 seconds up to a maximum of 60 seconds is +# used. (floating point value) +#status_code_retry_delay = + + [oslo_messaging_amqp] # diff --git a/etc/oslo-config-generator/glance-api.conf b/etc/oslo-config-generator/glance-api.conf index 8e1dc06c07..bafa606276 100644 --- a/etc/oslo-config-generator/glance-api.conf +++ b/etc/oslo-config-generator/glance-api.conf @@ -10,6 +10,7 @@ namespace = oslo.messaging namespace = oslo.db namespace = oslo.policy namespace = keystonemiddleware.auth_token +namespace = oslo.limit namespace = oslo.log namespace = oslo.middleware.cors namespace = oslo.middleware.healthcheck diff --git a/requirements.txt b/requirements.txt index 1d24f6a2a3..0554a36474 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,7 +36,7 @@ pyOpenSSL>=17.1.0 # Apache-2.0 oslo.db>=5.0.0 # Apache-2.0 oslo.i18n>=5.0.0 # Apache-2.0 -oslo.limit>=1.4.0 # Apache-2.0 +oslo.limit>=1.6.0 # Apache-2.0 oslo.log>=4.5.0 # Apache-2.0 oslo.messaging>=5.29.0,!=9.0.0 # Apache-2.0 oslo.middleware>=3.31.0 # Apache-2.0