steps to reproduce: 1. Stop apache
2. Change backend for session(/etc/openstack-dashboard/local_settings.py): SESSION_ENGINE = 'django.contrib.sessions.backends.db'
DATABASES = { 'default': { # Database configuration here 'ENGINE': 'django.db.backends.mysql', 'NAME': 'dash', 'USER': 'dash', 'PASSWORD': 'DASH_DBPASS', 'HOST': 'localhost', 'default-character-set': 'utf8' } }
3. Run command: /usr/share/openstack-dashboard/manage.py syncdb
4. Start apache
5. Connect to mysql and swith database to dash: mysql dash
6. Look to records count in table: select * from django_session;
7. Run attached script : python <script.py>
6. Look to records count in table again: select * from django_session;
If count is not changed that bug not reproduced.
steps to reproduce:
1. Stop apache
2. Change backend for session( /etc/openstack- dashboard/ local_settings. py): contrib. sessions. backends. db'
SESSION_ENGINE = 'django.
DATABASES = { db.backends. mysql',
'default- character- set': 'utf8'
'default': {
# Database configuration here
'ENGINE': 'django.
'NAME': 'dash',
'USER': 'dash',
'PASSWORD': 'DASH_DBPASS',
'HOST': 'localhost',
}
}
3. Run command: openstack- dashboard/ manage. py syncdb
/usr/share/
4. Start apache
5. Connect to mysql and swith database to dash:
mysql dash
6. Look to records count in table:
select * from django_session;
7. Run attached script :
python <script.py>
6. Look to records count in table again:
select * from django_session;
If count is not changed that bug not reproduced.