05a8443e12
* Extract and remove --config-file amqp_openstack.conf(or amqp-openstack-neutron and --config-file amqp-powervc.conf from sys.argv to create 2 AMQP cfg.ConfigOpts objects without conflicting with other options parsing as before, particularly those OpenStack AMQP configurations in [DEFAULT] section of nova.conf, cinder.conf. * adapt all affected code to the new config strategy Implements: blueprint https://blueprints.launchpad.net/powervc-driver/+spec/new-configuration-strategy-needed-to-adapt-to-oslo-messaging Closes-Bug: 1356225 Change-Id: I61a4fd0c28148e31a8cb85acea3793f40028dfb4
150 lines
4.0 KiB
Plaintext
150 lines
4.0 KiB
Plaintext
[DEFAULT]
|
|
|
|
###############################################################################
|
|
# Transport options
|
|
#
|
|
# A URL representing the messaging driver to use and its full configuration. If
|
|
# not set, we fall back to the rpc_backend option and driver specific
|
|
# configuration.
|
|
# e.g. rabbit://me:passwd@host:5672/virtual_host
|
|
# transport_url=
|
|
|
|
# The messaging driver to use, defaults to rabbit. Other drivers include qpid
|
|
# and zmq
|
|
# rpc_backend=rabbit
|
|
|
|
# The default exchange under which topics are scoped. May be overridden by an
|
|
# exchange name specified in the tranport_url option
|
|
# Keep this the same as PowerVC Nova exchange
|
|
control_exchange=nova
|
|
|
|
###############################################################################
|
|
# AMQP options
|
|
#
|
|
# User durable queues in amqp
|
|
# amqp_durable_queues=False
|
|
|
|
# Auto-delete queues in amqp
|
|
# amqp_auto_delete=False
|
|
|
|
# Size of RPC connection pool
|
|
# rpc_conn_pool_size=30
|
|
|
|
# Seconds to wait for a response from a call
|
|
# rpc_response_timeout=60
|
|
|
|
###############################################################################
|
|
# Notification options
|
|
#
|
|
# Driver or drivers to handle sending notifications
|
|
# notification_driver=[]
|
|
|
|
# AMQP topic used for OpenStack notifications
|
|
# notification_topics=['notifications', ]
|
|
|
|
###############################################################################
|
|
# Eventlet options
|
|
#
|
|
# Size of RPC greenthread pool
|
|
# rpc_thread_pool_size=64
|
|
|
|
###############################################################################
|
|
# Qpid driver configuration
|
|
#
|
|
# Qpid broker hostname
|
|
# qpid_hostname=localhost
|
|
|
|
# Qpid broker port
|
|
# qpid_port=5672
|
|
|
|
# Qpid HA cluster host:port pairs
|
|
# qpid_hosts=['$qpid_hostname:$qpid_port']
|
|
|
|
# Username for Qpid connection
|
|
# qpid_username=
|
|
|
|
# Password for Qpid connection
|
|
# qpid_password=
|
|
|
|
# Space separted list of SASL mechanisms to use for auth
|
|
# qpid_sasl_mechanisms=
|
|
|
|
# Seconds between connection keepalive heartbeats
|
|
# qpid_heartbeat=60
|
|
|
|
# Transport to use either 'tcp' or 'ssl'
|
|
# qpid_protocol=tcp
|
|
|
|
# Whether to disable the Nagle algorithm
|
|
#qpid_tcp_nodelay=True
|
|
|
|
# The Qpid topology verson to use. Version 1 is what was originally used by
|
|
# impl_qpid. Version 2 includes some backwards-incompatible changes that allow
|
|
# broker federation to work. Users should update to version 2 when they are
|
|
# able to take everything down, as it requires a clean break.
|
|
# qpid_topology_version=1
|
|
|
|
###############################################################################
|
|
# RabbitMQ driver configuration
|
|
#
|
|
# SSL version to use (valid only if SSL enabled), valid values are TLSv1,
|
|
# SSLv23 and SSLv3. SSLv2 may be avialable on some distributions.
|
|
# kombu_ssl_version=
|
|
|
|
# SSL key file (valid only if SSL enabled)
|
|
# kombu_ssl_keyfile=
|
|
|
|
# SSL cert file (valid only if SSL enabled)
|
|
# kombu_ssl_certfile=
|
|
|
|
# SSL certificaiton authority file (valid only if SSL enabled)
|
|
# kombu_ssl_ca_certs
|
|
|
|
# How long to wait before reconnectin in response to an AMPQ consumer cancel
|
|
# notification
|
|
# kombu_reconnect_delay=1.0
|
|
|
|
# The RabbitMQ broker address where a single node is used
|
|
# rabbit_host=localhost
|
|
|
|
# The RabbitMQ broker port where a single node is used
|
|
# rabbit_port=5672
|
|
|
|
# RabbitMQ HA cluster host:port pairs
|
|
# rabbit_hosts=['$rabbit_host:$rabbit_port']
|
|
|
|
# Connect over SSL for RabbitMQ
|
|
# rabbit_use_ssl=False
|
|
|
|
# The RabbitMQ userid
|
|
# rabbit_userid=guest
|
|
|
|
# The RabbitMQ password
|
|
# rabbit_password=guest
|
|
|
|
# The RabbitMQ login method
|
|
# rabbit_login_method=AMQPLAIN
|
|
|
|
# The RabbitMQ virtual host
|
|
# rabbit_virtual_host=/
|
|
|
|
# How frequently to retry connecting with RabbitMQ
|
|
# rabbit_retry_interval=1
|
|
|
|
# How long to backoff for between retries when connection to RabbitMQ
|
|
# rabbit_retry_backoff=2
|
|
|
|
# Maximum nubmer of RabbitMQ connection retries. Default is 0 (infinite retry
|
|
# count)
|
|
# rabbit_max_retries=0
|
|
|
|
# Use HA queues in RabbitMQ (x-ha-policy: all). If you change this option, you
|
|
# must wipe the RabbitMQ database
|
|
# rabbit_ha_queues=False
|
|
|
|
# If passed, use a fake RabbitMQ provider
|
|
# fake_rabbit=False
|
|
|
|
###############################################################################
|
|
# ZeroMQ driver configuration(Not supported yet)
|