Files
openstack-manuals/doc/config-reference/source/tables/glance-rpc.rst
venkatamahesh 0dcddcd7fa [config-ref] Update glance tables
Change-Id: I063acc08802ff40720183b27ba80b8307efecda8
2016-09-04 07:44:44 +00:00

8.6 KiB

Description of RPC configuration options
Configuration option = Default value Description
[DEFAULT]

allowed_rpc_exception_modules = glance.common.exception, builtins, exceptions

(List) List of allowed exception modules to handle RPC exceptions.

Provide a comma separated list of modules whose exceptions are permitted to be recreated upon receiving exception data via an RPC call made to Glance. The default list includes glance.common.exception, builtins, and exceptions.

The RPC protocol permits interaction with Glance via calls across a network or within the same system. Including a list of exception namespaces with this option enables RPC to propagate the exceptions back to the users.

Possible values: * A comma separated list of valid exception modules

Related options: * None

rpc_backend = rabbit (String) DEPRECATED: The messaging driver to use, defaults to rabbit. Other drivers include amqp and zmq. Replaced by [DEFAULT]/transport_url
rpc_cast_timeout = -1 (Integer) Seconds to wait before a cast expires (TTL). The default value of -1 specifies an infinite linger period. The value of 0 specifies no linger period. Pending messages shall be discarded immediately when the socket is closed. Only supported by impl_zmq.
rpc_conn_pool_size = 30 (Integer) Size of RPC connection pool.
rpc_poll_timeout = 1 (Integer) The default number of seconds that poll should wait. Poll raises timeout exception when timeout expired.
rpc_response_timeout = 60 (Integer) Seconds to wait for a response from a call.
[oslo_concurrency]
disable_process_locking = False (Boolean) Enables or disables inter-process locks.
lock_path = None (String) Directory to use for lock files. For security, the specified directory should only be writable by the user running the processes that need locking. Defaults to environment variable OSLO_LOCK_PATH. If external locks are used, a lock path must be set.
[oslo_messaging_amqp]
addressing_mode = dynamic (String) Indicates the addressing mode used by the driver. Permitted values: 'legacy' - use legacy non-routable addressing 'routable' - use routable addresses 'dynamic' - use legacy addresses if the message bus does not support routing otherwise use routable addressing
allow_insecure_clients = False (Boolean) Accept clients using either SSL or plain TCP
anycast_address = anycast (String) Appended to the address prefix when sending to a group of consumers. Used by the message bus to identify messages that should be delivered in a round-robin fashion across consumers.
broadcast_prefix = broadcast (String) address prefix used when broadcasting to all servers
connection_retry_backoff = 2 (Integer) Increase the connection_retry_interval by this many seconds after each unsuccessful failover attempt.
connection_retry_interval = 1 (Integer) Seconds to pause before attempting to re-connect.
connection_retry_interval_max = 30 (Integer) Maximum limit for connection_retry_interval + connection_retry_backoff
container_name = None (String) Name for the AMQP container. must be globally unique. Defaults to a generated UUID
default_notification_exchange = None (String) Exchange name used in notification addresses. Exchange name resolution precedence: Target.exchange if set else default_notification_exchange if set else control_exchange if set else 'notify'
default_notify_timeout = 30 (Integer) The deadline for a sent notification message delivery. Only used when caller does not provide a timeout expiry.
default_reply_timeout = 30 (Integer) The deadline for an rpc reply message delivery. Only used when caller does not provide a timeout expiry.
default_rpc_exchange = None (String) Exchange name used in RPC addresses. Exchange name resolution precedence: Target.exchange if set else default_rpc_exchange if set else control_exchange if set else 'rpc'
default_send_timeout = 30 (Integer) The deadline for an rpc cast or call message delivery. Only used when caller does not provide a timeout expiry.
group_request_prefix = unicast (String) address prefix when sending to any server in group
idle_timeout = 0 (Integer) Timeout for inactive connections (in seconds)
link_retry_delay = 10 (Integer) Time to pause between re-connecting an AMQP 1.0 link that failed due to a recoverable error.
multicast_address = multicast (String) Appended to the address prefix when sending a fanout message. Used by the message bus to identify fanout messages.
notify_address_prefix = openstack.org/om/notify (String) Address prefix for all generated Notification addresses
notify_server_credit = 100 (Integer) Window size for incoming Notification messages
password = (String) Password for message broker authentication
reply_link_credit = 200 (Integer) Window size for incoming RPC Reply messages.
rpc_address_prefix = openstack.org/om/rpc (String) Address prefix for all generated RPC addresses
rpc_server_credit = 100 (Integer) Window size for incoming RPC Request messages
sasl_config_dir = (String) Path to directory that contains the SASL configuration
sasl_config_name = (String) Name of configuration file (without .conf suffix)
sasl_mechanisms = (String) Space separated list of acceptable SASL mechanisms
server_request_prefix = exclusive (String) address prefix used when sending to a specific server
ssl_ca_file = (String) CA certificate PEM file to verify server certificate
ssl_cert_file = (String) Identifying certificate PEM file to present to clients
ssl_key_file = (String) Private key PEM file used to sign cert_file certificate
ssl_key_password = None (String) Password for decrypting ssl_key_file (if encrypted)
trace = False (Boolean) Debug: dump AMQP frames to stdout
unicast_address = unicast (String) Appended to the address prefix when sending to a particular RPC/Notification server. Used by the message bus to identify messages sent to a single destination.
username = (String) User name for message broker authentication
[oslo_messaging_rabbit]
rpc_listener_prefetch_count = 100 (Integer) Max number of not acknowledged message which RabbitMQ can send to rpc listener.
rpc_queue_expiration = 60 (Integer) Time to live for rpc queues without consumers in seconds.
rpc_reply_exchange = ${control_exchange}_rpc_reply (String) Exchange name for receiving RPC replies
rpc_reply_listener_prefetch_count = 100 (Integer) Max number of not acknowledged message which RabbitMQ can send to rpc reply listener.
rpc_reply_retry_attempts = -1 (Integer) Reconnecting retry count in case of connectivity problem during sending reply. -1 means infinite retry during rpc_timeout
rpc_reply_retry_delay = 0.25 (Floating point) Reconnecting retry delay in case of connectivity problem during sending reply.
rpc_retry_delay = 0.25 (Floating point) Reconnecting retry delay in case of connectivity problem during sending RPC message
socket_timeout = 0.25 (Floating point) Set socket timeout in seconds for connection's socket
ssl = None (Boolean) Enable SSL
ssl_options = None (Dict) Arguments passed to ssl.wrap_socket
tcp_user_timeout = 0.25 (Floating point) Set TCP_USER_TIMEOUT in seconds for connection's socket