From 5ee3cc2ba7e68a91a8fbe00ccb0ff643e1316ea8 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sat, 23 Aug 2014 09:03:56 +0200 Subject: [PATCH] Restore HP lefthand flag mappings They disappear with a previous run of the autohelp script, so restore them. Add a new RPC option discovered by autohelp.py. Change-Id: Iaccd5cf273098d0e48fada51fe32c5dbc7e9aaba --- doc/common/tables/cinder-rpc.xml | 18 +++++++++++------- .../cinder.flagmappings | 7 +++++++ 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/doc/common/tables/cinder-rpc.xml b/doc/common/tables/cinder-rpc.xml index 19406441c8..bbef30b620 100644 --- a/doc/common/tables/cinder-rpc.xml +++ b/doc/common/tables/cinder-rpc.xml @@ -17,6 +17,10 @@ [DEFAULT] + + allowed_rpc_exception_modules = nova.exception, cinder.exception, exceptions + (ListOpt) Modules of exceptions that are permitted to be recreatedupon receiving exception data from an rpc call. + amqp_auto_delete = False (BoolOpt) Auto-delete queues in amqp. @@ -27,7 +31,7 @@ control_exchange = openstack - (StrOpt) The default exchange under which topics are scoped. May be overridden by an exchange name specified in the transport_url option. + (StrOpt) AMQP exchange to connect to if using RabbitMQ or Qpid default_timeout = 525600 @@ -35,7 +39,7 @@ fake_rabbit = False - (BoolOpt) If passed, use a fake RabbitMQ provider. + (BoolOpt) If passed, use a fake RabbitMQ provider kombu_reconnect_delay = 1.0 @@ -166,8 +170,8 @@ (StrOpt) The RabbitMQ virtual host. - rpc_backend = rabbit - (StrOpt) The messaging driver to use, defaults to rabbit. Other drivers include qpid and zmq. + rpc_backend = cinder.openstack.common.rpc.impl_kombu + (StrOpt) The messaging module to use, defaults to kombu. rpc_cast_timeout = 30 @@ -175,15 +179,15 @@ rpc_conn_pool_size = 30 - (IntOpt) Size of RPC connection pool. + (IntOpt) Size of RPC connection pool rpc_response_timeout = 60 - (IntOpt) Seconds to wait for a response from a call. + (IntOpt) Seconds to wait for a response from call or multicall rpc_thread_pool_size = 64 - (IntOpt) Size of RPC greenthread pool. + (IntOpt) Size of RPC thread pool rpc_zmq_bind_address = * diff --git a/tools/autogenerate-config-flagmappings/cinder.flagmappings b/tools/autogenerate-config-flagmappings/cinder.flagmappings index a9123f5d15..45519240b2 100644 --- a/tools/autogenerate-config-flagmappings/cinder.flagmappings +++ b/tools/autogenerate-config-flagmappings/cinder.flagmappings @@ -1,5 +1,6 @@ allocated_capacity_weight_multiplier storage allowed_direct_url_schemes images +allowed_rpc_exception_modules rpc amqp_auto_delete rpc amqp_durable_queues rpc api_paste_config api @@ -105,6 +106,12 @@ hp3par_password hp3par hp3par_snapshot_expiration hp3par hp3par_snapshot_retention hp3par hp3par_username hp3par +hplefthand_api_url hplefthand +hplefthand_clustername hplefthand +hplefthand_debug hplefthand +hplefthand_iscsi_chap_enabled hplefthand +hplefthand_password hplefthand +hplefthand_username hplefthand iet_conf common image_conversion_dir images initiator_auto_registration emc