From 1f4f380bd7e08f3219ff06c8cd168e28dc29519d Mon Sep 17 00:00:00 2001 From: Cyril Roelandt Date: Mon, 10 Mar 2025 14:01:56 +0100 Subject: [PATCH] Refresh Glance example configs for Epoxy rc1 Change-Id: Idabe0164a82b6aacaab313aa16e96799d847b074 --- etc/glance-api.conf | 102 ++++++++++++++++++++------------------- etc/glance-cache.conf | 6 --- etc/glance-manage.conf | 6 --- etc/glance-scrubber.conf | 6 --- 4 files changed, 52 insertions(+), 68 deletions(-) diff --git a/etc/glance-api.conf b/etc/glance-api.conf index d72c837b23..f14a3100a1 100644 --- a/etc/glance-api.conf +++ b/etc/glance-api.conf @@ -1098,12 +1098,6 @@ # set. (boolean value) #use_stderr = false -# DEPRECATED: Log output to Windows Event Log. (boolean value) -# This option is deprecated for removal. -# Its value may be silently ignored in the future. -# Reason: Windows support is no longer maintained. -#use_eventlog = false - # (Optional) Set the 'color' key according to log levels. This option takes # effect only when logging to stderr or stdout is used. This option is ignored # if log_config_append is set. (boolean value) @@ -1198,16 +1192,6 @@ # From oslo.messaging # -# Size of RPC connection pool. (integer value) -# Minimum value: 1 -#rpc_conn_pool_size = 30 - -# The pool size limit for connections expiration policy (integer value) -#conn_pool_min_size = 2 - -# The time-to-live in sec of idle connections in the pool (integer value) -#conn_pool_ttl = 1200 - # Size of executor thread pool when executor is threading or eventlet. (integer # value) # Deprecated group/name - [DEFAULT]/rpc_thread_pool_size @@ -4943,6 +4927,26 @@ # limits the types of VMDK images we will convert from. (list value) #vmdk_allowed_types = streamOptimized,monolithicSparse +# When enabled, glance will inspect the content of uploads and require that they +# match the disk_format set on the image. A mismatch will abort the upload with +# an error. Disabling this may be required in the case of false match (or +# mismatch) issues, but those are bugs that should be filed and fixed. Enabling +# this feature improves security and consistency by ensuring that images +# claiming to be a given format have content matching that format. (boolean +# value) +#require_image_format_match = true + +# List of safety check names to consider non-fatal when validating +# disk_format=gpt images (or images detected as gpt). Since MBR is very loosely- +# defined and GPT (which is strictly defined) depends on the MBR structure, it +# is easy to craft a GPT disk image that works, but is not valid according to +# the spec. While not recommended, it is possible to disable MBR or GPT-specific +# safety checks if necessary for compatibility. This can include "mbr" and/or +# "gptmbr" to avoid failing format validation if those checks fail. Use this +# with caution as it makes glance relax its definition of what a valid GPT disk +# image looks like and prevents strict adherence to the GPT spec. (list value) +#gpt_safety_checks_nonfatal = mbr + [key_manager] @@ -5174,6 +5178,16 @@ # used to validate tokens that have restricted access rules. (string value) #service_type = +# Enable the SASL(Simple Authentication and Security Layer) if the SASL_enable +# is true, else disable. (boolean value) +#memcache_sasl_enabled = false + +# the user name for the SASL (string value) +#memcache_username = + +# the username password for SASL (string value) +#memcache_password = + # Authentication type to load (string value) # Deprecated group/name - [keystone_authtoken]/auth_plugin #auth_type = @@ -5313,14 +5327,14 @@ # (string value) #default_domain_name = -# User ID (string value) +# User's user ID (string value) #user_id = -# Username (string value) +# User's username (string value) # Deprecated group/name - [oslo_limit]/user_name #username = -# User's domain id (string value) +# User's domain ID (string value) #user_domain_id = # User's domain name (string value) @@ -5403,26 +5417,6 @@ # Default timeout(s) for Kafka consumers (floating point value) #kafka_consumer_timeout = 1.0 -# DEPRECATED: Pool Size for Kafka Consumers (integer value) -# This option is deprecated for removal. -# Its value may be silently ignored in the future. -# Reason: Driver no longer uses connection pool. -#pool_size = 10 - -# DEPRECATED: The pool size limit for connections expiration policy (integer -# value) -# This option is deprecated for removal. -# Its value may be silently ignored in the future. -# Reason: Driver no longer uses connection pool. -#conn_pool_min_size = 2 - -# DEPRECATED: The time-to-live in sec of idle connections in the pool (integer -# value) -# This option is deprecated for removal. -# Its value may be silently ignored in the future. -# Reason: Driver no longer uses connection pool. -#conn_pool_ttl = 1200 - # Group id for Kafka consumer. Consumers in one group will coordinate message # consumption (string value) #consumer_group = oslo_messaging_consumer @@ -5483,17 +5477,13 @@ # The Drivers(s) to handle sending notifications. Possible values are messaging, # messagingv2, routing, log, test, noop (multi valued) -# Deprecated group/name - [DEFAULT]/notification_driver #driver = # A URL representing the messaging driver to use for notifications. If not set, # we fall back to the same configuration used for RPC. (string value) -# Deprecated group/name - [DEFAULT]/notification_transport_url #transport_url = # AMQP topic used for OpenStack notifications. (list value) -# Deprecated group/name - [rpc_notifier2]/topics -# Deprecated group/name - [DEFAULT]/notification_topics #topics = notifications # The maximum number of attempts to re-send a notification message which failed @@ -5515,26 +5505,31 @@ # Auto-delete queues in AMQP. (boolean value) #amqp_auto_delete = false +# Size of RPC connection pool. (integer value) +# Minimum value: 1 +#rpc_conn_pool_size = 30 + +# The pool size limit for connections expiration policy (integer value) +#conn_pool_min_size = 2 + +# The time-to-live in sec of idle connections in the pool (integer value) +#conn_pool_ttl = 1200 + # Connect over SSL. (boolean value) -# Deprecated group/name - [oslo_messaging_rabbit]/rabbit_use_ssl #ssl = false # SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and # SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some # distributions. (string value) -# Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_version #ssl_version = # SSL key file (valid only if SSL enabled). (string value) -# Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_keyfile #ssl_key_file = # SSL cert file (valid only if SSL enabled). (string value) -# Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_certfile #ssl_cert_file = # SSL certification authority file (valid only if SSL enabled). (string value) -# Deprecated group/name - [oslo_messaging_rabbit]/kombu_ssl_ca_certs #ssl_ca_file = # Global toggle for enforcing the OpenSSL FIPS mode. This feature requires @@ -5564,6 +5559,11 @@ # Maximum value: 4.5 #kombu_reconnect_delay = 1.0 +# Random time to wait for when reconnecting in response to an AMQP consumer +# cancel notification. (floating point value) +# Minimum value: 0.0 +#kombu_reconnect_splay = 0.0 + # EXPERIMENTAL: Possible values are: gzip, bz2. If not set compression will not # be used. This option may not be available in future versions. (string value) #kombu_compression = @@ -5590,14 +5590,16 @@ #rabbit_login_method = AMQPLAIN # How frequently to retry connecting with RabbitMQ. (integer value) +# Minimum value: 1 #rabbit_retry_interval = 1 # How long to backoff for between retries when connecting to RabbitMQ. (integer # value) +# Minimum value: 0 #rabbit_retry_backoff = 2 -# Maximum interval of RabbitMQ connection retries. Default is 30 seconds. -# (integer value) +# Maximum interval of RabbitMQ connection retries. (integer value) +# Minimum value: 1 #rabbit_interval_max = 30 # Try to use HA queues in RabbitMQ (x-ha-policy: all). If you change this diff --git a/etc/glance-cache.conf b/etc/glance-cache.conf index b30aadff8b..d098f2e48c 100644 --- a/etc/glance-cache.conf +++ b/etc/glance-cache.conf @@ -669,12 +669,6 @@ # set. (boolean value) #use_stderr = false -# DEPRECATED: Log output to Windows Event Log. (boolean value) -# This option is deprecated for removal. -# Its value may be silently ignored in the future. -# Reason: Windows support is no longer maintained. -#use_eventlog = false - # (Optional) Set the 'color' key according to log levels. This option takes # effect only when logging to stderr or stdout is used. This option is ignored # if log_config_append is set. (boolean value) diff --git a/etc/glance-manage.conf b/etc/glance-manage.conf index 5524369d64..d63ceac9a4 100644 --- a/etc/glance-manage.conf +++ b/etc/glance-manage.conf @@ -69,12 +69,6 @@ # set. (boolean value) #use_stderr = false -# DEPRECATED: Log output to Windows Event Log. (boolean value) -# This option is deprecated for removal. -# Its value may be silently ignored in the future. -# Reason: Windows support is no longer maintained. -#use_eventlog = false - # (Optional) Set the 'color' key according to log levels. This option takes # effect only when logging to stderr or stdout is used. This option is ignored # if log_config_append is set. (boolean value) diff --git a/etc/glance-scrubber.conf b/etc/glance-scrubber.conf index 82c52368f9..2397c8fc6e 100644 --- a/etc/glance-scrubber.conf +++ b/etc/glance-scrubber.conf @@ -673,12 +673,6 @@ # set. (boolean value) #use_stderr = false -# DEPRECATED: Log output to Windows Event Log. (boolean value) -# This option is deprecated for removal. -# Its value may be silently ignored in the future. -# Reason: Windows support is no longer maintained. -#use_eventlog = false - # (Optional) Set the 'color' key according to log levels. This option takes # effect only when logging to stderr or stdout is used. This option is ignored # if log_config_append is set. (boolean value)