From e42306d9db86a6cbb7cf1c062d8a5bdcd8479654 Mon Sep 17 00:00:00 2001 From: gordon chung Date: Thu, 10 Dec 2015 14:54:01 -0500 Subject: [PATCH] only set admin_* options for eventlet keystone+apache don't need these values set. Change-Id: Iebdb31b5f0888613e0454f09a426933d6fcd71b3 see: http://lists.openstack.org/pipermail/openstack-dev/2015-December/081984.html --- lib/keystone | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/keystone b/lib/keystone index b19202b0f7..6b4118de0b 100644 --- a/lib/keystone +++ b/lib/keystone @@ -218,8 +218,6 @@ function configure_keystone { iniset_rpc_backend keystone $KEYSTONE_CONF - iniset $KEYSTONE_CONF eventlet_server admin_bind_host "$KEYSTONE_ADMIN_BIND_HOST" - # Register SSL certificates if provided if is_ssl_enabled_service key; then ensure_certificates KEYSTONE @@ -296,13 +294,14 @@ function configure_keystone { iniset $KEYSTONE_CONF DEFAULT logging_debug_format_suffix "%(funcName)s %(pathname)s:%(lineno)d" iniset $KEYSTONE_CONF DEFAULT logging_exception_prefix "%(process)d TRACE %(name)s %(instance)s" _config_keystone_apache_wsgi + else + iniset $KEYSTONE_CONF eventlet_server admin_bind_host "$KEYSTONE_ADMIN_BIND_HOST" + iniset $KEYSTONE_CONF eventlet_server admin_workers "$API_WORKERS" + # Public workers will use the server default, typically number of CPU. fi iniset $KEYSTONE_CONF DEFAULT max_token_size 16384 - iniset $KEYSTONE_CONF eventlet_server admin_workers "$API_WORKERS" - # Public workers will use the server default, typically number of CPU. - iniset $KEYSTONE_CONF fernet_tokens key_repository "$KEYSTONE_CONF_DIR/fernet-keys/" }