Skip to content

Commit 7448edb

Browse files
author
Brant Knudson
committed
Keystone use new section for eventlet server options
Configuration options that are only relevant when running keystone under eventlet (rather than Apache httpd) were moved to the [eventlet_server] and [eventlet_server_ssl] groups in the keystone.conf file to avoid confusion. This change updates devstack to use the new non-deprecated group for these options. Change-Id: I651a278d09f6a3a32b2e96fac87f1e5ea0f18c39
1 parent 05163d6 commit 7448edb

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

lib/keystone

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -227,21 +227,21 @@ function configure_keystone {
227227
# Set the URL advertised in the ``versions`` structure returned by the '/' route
228228
iniset $KEYSTONE_CONF DEFAULT public_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/"
229229
iniset $KEYSTONE_CONF DEFAULT admin_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_AUTH_PORT/"
230-
iniset $KEYSTONE_CONF DEFAULT admin_bind_host "$KEYSTONE_ADMIN_BIND_HOST"
230+
iniset $KEYSTONE_CONF eventlet_server admin_bind_host "$KEYSTONE_ADMIN_BIND_HOST"
231231

232232
# Register SSL certificates if provided
233233
if is_ssl_enabled_service key; then
234234
ensure_certificates KEYSTONE
235235

236-
iniset $KEYSTONE_CONF ssl enable True
237-
iniset $KEYSTONE_CONF ssl certfile $KEYSTONE_SSL_CERT
238-
iniset $KEYSTONE_CONF ssl keyfile $KEYSTONE_SSL_KEY
236+
iniset $KEYSTONE_CONF eventlet_server_ssl enable True
237+
iniset $KEYSTONE_CONF eventlet_server_ssl certfile $KEYSTONE_SSL_CERT
238+
iniset $KEYSTONE_CONF eventlet_server_ssl keyfile $KEYSTONE_SSL_KEY
239239
fi
240240

241241
if is_service_enabled tls-proxy; then
242242
# Set the service ports for a proxy to take the originals
243-
iniset $KEYSTONE_CONF DEFAULT public_port $KEYSTONE_SERVICE_PORT_INT
244-
iniset $KEYSTONE_CONF DEFAULT admin_port $KEYSTONE_AUTH_PORT_INT
243+
iniset $KEYSTONE_CONF eventlet_server public_port $KEYSTONE_SERVICE_PORT_INT
244+
iniset $KEYSTONE_CONF eventlet_server admin_port $KEYSTONE_AUTH_PORT_INT
245245
fi
246246

247247
iniset $KEYSTONE_CONF DEFAULT admin_token "$SERVICE_TOKEN"
@@ -317,7 +317,7 @@ function configure_keystone {
317317

318318
iniset $KEYSTONE_CONF DEFAULT max_token_size 16384
319319

320-
iniset $KEYSTONE_CONF DEFAULT admin_workers "$API_WORKERS"
320+
iniset $KEYSTONE_CONF eventlet_server admin_workers "$API_WORKERS"
321321
# Public workers will use the server default, typically number of CPU.
322322
}
323323

0 commit comments

Comments
 (0)