Use the absolute path for the session backend
Now the session backend NAME did not use the absolute path, caused the dashboard error: OperationalError: no such table: django_session This patch add the absolute path for the session backend NAME. Change-Id: I9ecaae5bf3a61dd9f646f3e566630a58bc9db315 Closes-Bug: #1598378
This commit is contained in:
parent
75bab1fa8b
commit
89952c17b9
|
@ -449,6 +449,7 @@ function configure_local_settings_py() {
|
|||
# Change Murano dashboard settings
|
||||
sed -e "s/\(^\s*MURANO_USE_GLARE\s*=\).*$/\1 $murano_use_glare/" -i $HORIZON_DIR/openstack_dashboard/local/local_settings.d/_50_murano.py
|
||||
sed -e "s%\(^\s*MURANO_REPO_URL\s*=\).*$%\1 '$MURANO_REPOSITORY_URL'%" -i $HORIZON_DIR/openstack_dashboard/local/local_settings.d/_50_murano.py
|
||||
sed -e "s%\(^\s*'NAME':\).*$%\1 os.path.join('$MURANO_DASHBOARD_DIR', 'openstack-dashboard.sqlite')%" -i $HORIZON_DIR/openstack_dashboard/local/local_settings.d/_50_murano.py
|
||||
echo -e $"\nMETADATA_CACHE_DIR = '$MURANO_DASHBOARD_CACHE_DIR'" | sudo tee -a $HORIZON_DIR/openstack_dashboard/local/local_settings.d/_50_murano.py
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue