From a575d500bae42646471cafef72d39a4f61c1c56f Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Thu, 26 Jan 2012 12:59:26 -0800 Subject: [PATCH] Remove horizon session db. * Removes stale sessions * Forcefully logs out the user between runs Change-Id: I5374076283b8bc63826004c455b86afc86009b00 --- stack.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stack.sh b/stack.sh index 1dadb235d0..86764f043d 100755 --- a/stack.sh +++ b/stack.sh @@ -749,6 +749,8 @@ if [[ "$ENABLED_SERVICES" =~ "horizon" ]]; then rm -fr ${HORIZON_DIR}/openstack-dashboard/quantum ln -s ${QUANTUM_CLIENT_DIR}/quantum ${HORIZON_DIR}/openstack-dashboard/quantum + # Remove stale session database. + rm -f $HORIZON_DIR/openstack-dashboard/local/dashboard_openstack.sqlite3 # ``local_settings.py`` is used to override horizon default settings. local_settings=$HORIZON_DIR/openstack-dashboard/local/local_settings.py