Merge "remove unused configuration options"

This commit is contained in:
Jenkins 2015-10-21 10:30:47 +00:00 committed by Gerrit Code Review
commit d71c56eb7b
2 changed files with 1 additions and 6 deletions

View File

@ -32,10 +32,6 @@ OPTS = [
help='Name of this node, which must be valid in an AMQP '
'key. Can be an opaque identifier. For ZeroMQ only, must '
'be a valid host name, FQDN, or IP address.'),
cfg.IntOpt('notification_workers',
default=1,
help='Number of workers for notification service. A single '
'notification agent is enabled by default.'),
cfg.IntOpt('http_timeout',
default=600,
help='Timeout seconds for HTTP requests. Set it to None to '

View File

@ -155,7 +155,6 @@ function cleanup_aodh {
function _aodh_configure_storage_backend {
if [ "$AODH_BACKEND" = 'mysql' ] || [ "$AODH_BACKEND" = 'postgresql' ] ; then
iniset $AODH_CONF database connection $(database_connection_url aodh)
iniset $AODH_CONF DEFAULT collector_workers $API_WORKERS
elif [ "$AODH_BACKEND" = 'mongodb' ] ; then
iniset $AODH_CONF database connection mongodb://localhost:27017/aodh
cleanup_aodh
@ -189,7 +188,7 @@ function configure_aodh {
iniset $AODH_CONF service_credentials os_region_name $REGION_NAME
iniset $AODH_CONF service_credentials os_auth_url $KEYSTONE_SERVICE_URI/v2.0
configure_auth_token_middleware $AODH_CONF aodh $AODH_AUTH_CACHE_DIR
configure_auth_token_middleware $AODH_CONF aodh $AODH_AUTH_CACHE_DIR
iniset $AODH_CONF notification store_events $AODH_EVENTS