summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Matzek <smatzek@us.ibm.com>2017-10-23 10:10:29 -0500
committerSamuel Matzek <smatzek@us.ibm.com>2017-10-30 19:04:30 +0000
commit64a4a987357696115bd13b3339a85534c6ce9343 (patch)
treeb70851f42a1531e17eb681f098fb3099ed267932
parente6d4b4b3fe1768348c9df815940b97cecb5e7ee2 (diff)
downloadtrove-64a4a987357696115bd13b3339a85534c6ce9343.tar.gz
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 (cherry picked from commit a3514d84208d0244bb3a8aa3fc76092349c40115)
-rw-r--r--devstack/plugin.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index e64e8b0d..dc0f1b87 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -119,6 +119,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