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
| ... | ... |
@@ -227,21 +227,21 @@ function configure_keystone {
|
| 227 | 227 |
# Set the URL advertised in the ``versions`` structure returned by the '/' route |
| 228 | 228 |
iniset $KEYSTONE_CONF DEFAULT public_endpoint "$KEYSTONE_SERVICE_PROTOCOL://$KEYSTONE_SERVICE_HOST:$KEYSTONE_SERVICE_PORT/" |
| 229 | 229 |
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" |
|
| 231 | 231 |
|
| 232 | 232 |
# Register SSL certificates if provided |
| 233 | 233 |
if is_ssl_enabled_service key; then |
| 234 | 234 |
ensure_certificates KEYSTONE |
| 235 | 235 |
|
| 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 |
|
| 239 | 239 |
fi |
| 240 | 240 |
|
| 241 | 241 |
if is_service_enabled tls-proxy; then |
| 242 | 242 |
# 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 |
|
| 245 | 245 |
fi |
| 246 | 246 |
|
| 247 | 247 |
iniset $KEYSTONE_CONF DEFAULT admin_token "$SERVICE_TOKEN" |
| ... | ... |
@@ -317,7 +317,7 @@ function configure_keystone {
|
| 317 | 317 |
|
| 318 | 318 |
iniset $KEYSTONE_CONF DEFAULT max_token_size 16384 |
| 319 | 319 |
|
| 320 |
- iniset $KEYSTONE_CONF DEFAULT admin_workers "$API_WORKERS" |
|
| 320 |
+ iniset $KEYSTONE_CONF eventlet_server admin_workers "$API_WORKERS" |
|
| 321 | 321 |
# Public workers will use the server default, typically number of CPU. |
| 322 | 322 |
} |
| 323 | 323 |
|