From 81e336699e85bdcda8b0dfa8fbaa465d8708ea3c Mon Sep 17 00:00:00 2001 From: Adam Gandelman Date: Thu, 4 Dec 2014 12:22:25 -0800 Subject: [PATCH] Remove check_uptodate.sh check from tox.ini This removes the check_uptodate.sh test from the py2* tox envs and run_tests.sh. It also syncs the sample config one last time to document some new options available to users running with the newer oslo.messaging versions. Change-Id: I6107b996d5da808c3222696a9549ee06c22f80b9 Closes-bug: #1399085 --- etc/cinder/cinder.conf.sample | 62 +++++++++++++++++++++++++++++++---- run_tests.sh | 2 -- tox.ini | 1 - 3 files changed, 56 insertions(+), 9 deletions(-) diff --git a/etc/cinder/cinder.conf.sample b/etc/cinder/cinder.conf.sample index 359eeb847..30c3f15b2 100644 --- a/etc/cinder/cinder.conf.sample +++ b/etc/cinder/cinder.conf.sample @@ -4,11 +4,11 @@ # Options defined in oslo.messaging # -# Use durable queues in amqp. (boolean value) +# Use durable queues in AMQP. (boolean value) # Deprecated group/name - [DEFAULT]/rabbit_durable_queues #amqp_durable_queues=false -# Auto-delete queues in amqp. (boolean value) +# Auto-delete queues in AMQP. (boolean value) #amqp_auto_delete=false # Size of RPC connection pool. (integer value) @@ -56,8 +56,8 @@ #qpid_topology_version=1 # SSL version to use (valid only if SSL enabled). valid values -# are TLSv1, SSLv23 and SSLv3. SSLv2 may be available on some -# distributions. (string value) +# are TLSv1 and SSLv23. SSLv2 and SSLv3 may be available on +# some distributions. (string value) #kombu_ssl_version= # SSL key file (valid only if SSL enabled). (string value) @@ -94,7 +94,7 @@ # The RabbitMQ password. (string value) #rabbit_password=guest -# the RabbitMQ login method (string value) +# The RabbitMQ login method. (string value) #rabbit_login_method=AMQPLAIN # The RabbitMQ virtual host. (string value) @@ -117,7 +117,8 @@ # value) #rabbit_ha_queues=false -# If passed, use a fake RabbitMQ provider. (boolean value) +# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake +# (boolean value) #fake_rabbit=false # ZeroMQ bind address. Should be a wildcard (*), an ethernet @@ -2741,6 +2742,55 @@ #ringfile=/etc/oslo/matchmaker_ring.json +[oslo_messaging_amqp] + +# +# Options defined in oslo.messaging +# +# NOTE: Options in this group are supported when using oslo.messaging >=1.5.0. + +# address prefix used when sending to a specific server +# (string value) +#server_request_prefix=exclusive + +# address prefix used when broadcasting to all servers (string +# value) +#broadcast_prefix=broadcast + +# address prefix when sending to any server in group (string +# value) +#group_request_prefix=unicast + +# Name for the AMQP container (string value) +#container_name= + +# Timeout for inactive connections (in seconds) (integer +# value) +#idle_timeout=0 + +# Debug: dump AMQP frames to stdout (boolean value) +#trace=false + +# CA certificate PEM file for verifing server certificate +# (string value) +#ssl_ca_file= + +# Identifying certificate PEM file to present to clients +# (string value) +#ssl_cert_file= + +# Private key PEM file used to sign cert_file certificate +# (string value) +#ssl_key_file= + +# Password for decrypting ssl_key_file (if encrypted) (string +# value) +#ssl_key_password= + +# Accept clients using either SSL or plain TCP (boolean value) +#allow_insecure_clients=false + + [profiler] # diff --git a/run_tests.sh b/run_tests.sh index bf4350849..d7b6fa2c4 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -233,7 +233,6 @@ fi if [ $just_pep8 -eq 1 ]; then run_pep8 - ${wrapper} bash ./tools/config/check_uptodate.sh exit fi @@ -264,6 +263,5 @@ run_tests if [ -z "$testrargs" ]; then if [ $no_pep8 -eq 0 ]; then run_pep8 - ${wrapper} bash ./tools/config/check_uptodate.sh fi fi diff --git a/tox.ini b/tox.ini index 86bd6eaad..c26e625cc 100644 --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,6 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = python setup.py testr --slowest --testr-args='--concurrency 1 {posargs}' - {toxinidir}/tools/config/check_uptodate.sh whitelist_externals = bash [tox:jenkins] -- 2.45.2