Enable longer Keystone token life
The devstack plugin sets a 3 hour Keystone token life but Keystone is already running when this configuration change is called so Keystone still runs with the default for the tests. Add a restart of Keystone to enable the longer life. Change-Id: Ie340b1c0b56652fc9ca4c0981468363c1be9fb25
This commit is contained in:
parent
efd2ad9ee9
commit
a3514d8420
@ -118,6 +118,9 @@ function configure_keystone_token_life() {
|
||||
KEYSTONE_TOKEN_LIFE=${KEYSTONE_TOKEN_LIFE:-10800}
|
||||
iniset $KEYSTONE_CONF token expiration ${KEYSTONE_TOKEN_LIFE}
|
||||
echo "configure_keystone_token_life: setting keystone token life to ${KEYSTONE_TOKEN_LIFE}"
|
||||
echo "configure_keystone_token_life: restarting Keystone"
|
||||
stop_keystone
|
||||
start_keystone
|
||||
}
|
||||
|
||||
# configure_nova_kvm() - update the nova hypervisor configuration if possible
|
||||
|
Loading…
x
Reference in New Issue
Block a user