Browse code

Remove horizon session db.

* Removes stale sessions
* Forcefully logs out the user between runs

Change-Id: I5374076283b8bc63826004c455b86afc86009b00

Anthony Young authored on 2012/01/27 05:59:26
Showing 1 changed files
... ...
@@ -749,6 +749,8 @@ if [[ "$ENABLED_SERVICES" =~ "horizon" ]]; then
749 749
     rm -fr ${HORIZON_DIR}/openstack-dashboard/quantum
750 750
     ln -s ${QUANTUM_CLIENT_DIR}/quantum ${HORIZON_DIR}/openstack-dashboard/quantum
751 751
 
752
+    # Remove stale session database.
753
+    rm -f $HORIZON_DIR/openstack-dashboard/local/dashboard_openstack.sqlite3
752 754
 
753 755
     # ``local_settings.py`` is used to override horizon default settings.
754 756
     local_settings=$HORIZON_DIR/openstack-dashboard/local/local_settings.py