Merge "remove unused configuration options"
This commit is contained in:
commit
d71c56eb7b
@ -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 '
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user