Public bug reported:

Hello, 
i tried to install the murano-dashboard plugin to an existing 
openstack-dashboard deployed with juju charms. 
I set the cloud archive to stein (same as the charm) and run apt get 
pyhton3-murano-dashboard. 
The install goes fine. However when i  try to access the dashboard i get the 
following error: 

Environment:


Request Method: POST
Request URL: https://10.150.5.84/auth/login/

Django Version: 1.11.11
Python Version: 3.6.9
Installed Applications:
['openstack_dashboard.dashboards.project',
 'neutron_lbaas_dashboard',
 'heat_dashboard',
 'designatedashboard',
 'openstack_dashboard.dashboards.admin',
 'openstack_dashboard.dashboards.identity',
 'openstack_dashboard.dashboards.settings',
 'neutron_fwaas_dashboard',
 'openstack_dashboard',
 'django.contrib.contenttypes',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'django_pyscss',
 'debreach',
 'openstack_dashboard.django_pyscss_fix',
 'compressor',
 'horizon',
 'openstack_auth']
Installed Middleware:
('openstack_auth.middleware.OpenstackAuthMonkeyPatchMiddleware',
 'debreach.middleware.RandomCommentMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'horizon.middleware.OperationLogMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'horizon.middleware.HorizonMiddleware',
 'horizon.themes.ThemeMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 
'openstack_dashboard.contrib.developer.profiler.middleware.ProfilerClientMiddleware',
 'openstack_dashboard.contrib.developer.profiler.middleware.ProfilerMiddleware')


Traceback:

File "/usr/lib/python3/dist-packages/django/db/backends/utils.py" in execute
  64.                 return self.cursor.execute(sql, params)

File "/usr/lib/python3/dist-packages/django/db/backends/sqlite3/base.py" in 
execute
  328.         return Database.Cursor.execute(self, query, params)

The above exception (no such table: django_session) was the direct cause
of the following exception:

File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py" in inner
  41.             response = get_response(request)

File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in 
_get_response
  187.                 response = self.process_exception_by_middleware(e, 
request)

File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in 
_get_response
  185.                 response = wrapped_callback(request, *callback_args, 
**callback_kwargs)

File "/usr/lib/python3/dist-packages/django/views/decorators/debug.py" in 
sensitive_post_parameters_wrapper
  76.             return view(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/django/utils/decorators.py" in 
_wrapped_view
  149.                     response = view_func(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/django/views/decorators/cache.py" in 
_wrapped_view_func
  57.         response = view_func(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/openstack_auth/views.py" in login
  124.                                   **kwargs)

File "/usr/lib/python3/dist-packages/django/contrib/auth/views.py" in inner
  54.         return func(*args, **kwargs)

File "/usr/lib/python3/dist-packages/django/contrib/auth/views.py" in login
  150.     )(request)

File "/usr/lib/python3/dist-packages/django/views/generic/base.py" in view
  68.             return self.dispatch(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/django/utils/decorators.py" in _wrapper
  67.             return bound_func(*args, **kwargs)

File "/usr/lib/python3/dist-packages/django/views/decorators/debug.py" in 
sensitive_post_parameters_wrapper
  76.             return view(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/django/utils/decorators.py" in bound_func
  63.                 return func.__get__(self, type(self))(*args2, **kwargs2)

File "/usr/lib/python3/dist-packages/django/utils/decorators.py" in _wrapper
  67.             return bound_func(*args, **kwargs)

File "/usr/lib/python3/dist-packages/django/utils/decorators.py" in 
_wrapped_view
  149.                     response = view_func(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/django/utils/decorators.py" in bound_func
  63.                 return func.__get__(self, type(self))(*args2, **kwargs2)

File "/usr/lib/python3/dist-packages/django/utils/decorators.py" in _wrapper
  67.             return bound_func(*args, **kwargs)

File "/usr/lib/python3/dist-packages/django/views/decorators/cache.py" in 
_wrapped_view_func
  57.         response = view_func(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/django/utils/decorators.py" in bound_func
  63.                 return func.__get__(self, type(self))(*args2, **kwargs2)

File "/usr/lib/python3/dist-packages/django/contrib/auth/views.py" in dispatch
  90.         return super(LoginView, self).dispatch(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/django/views/generic/base.py" in dispatch
  88.         return handler(request, *args, **kwargs)

File "/usr/lib/python3/dist-packages/django/views/generic/edit.py" in post
  183.             return self.form_valid(form)

File "/usr/lib/python3/dist-packages/django/contrib/auth/views.py" in form_valid
  119.         auth_login(self.request, form.get_user())

File "/usr/lib/python3/dist-packages/django/contrib/auth/__init__.py" in login
  140.         request.session.cycle_key()

File "/usr/lib/python3/dist-packages/django/contrib/sessions/backends/base.py" 
in cycle_key
  311.         self.create()

File "/usr/lib/python3/dist-packages/django/contrib/sessions/backends/db.py" in 
create
  50.             self._session_key = self._get_new_session_key()

File "/usr/lib/python3/dist-packages/django/contrib/sessions/backends/base.py" 
in _get_new_session_key
  164.             if not self.exists(session_key):

File "/usr/lib/python3/dist-packages/django/contrib/sessions/backends/db.py" in 
exists
  46.         return self.model.objects.filter(session_key=session_key).exists()

File "/usr/lib/python3/dist-packages/django/db/models/query.py" in exists
  670.             return self.query.has_results(using=self.db)

File "/usr/lib/python3/dist-packages/django/db/models/sql/query.py" in 
has_results
  517.         return compiler.has_results()

File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py" in 
has_results
  858.         return bool(self.execute_sql(SINGLE))

File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py" in 
execute_sql
  899.             raise original_exception

File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py" in 
execute_sql
  889.             cursor.execute(sql, params)

File "/usr/lib/python3/dist-packages/django/db/backends/utils.py" in execute
  79.             return super(CursorDebugWrapper, self).execute(sql, params)

File "/usr/lib/python3/dist-packages/django/db/backends/utils.py" in execute
  64.                 return self.cursor.execute(sql, params)

File "/usr/lib/python3/dist-packages/django/db/utils.py" in __exit__
  94.                 six.reraise(dj_exc_type, dj_exc_value, traceback)

File "/usr/lib/python3/dist-packages/django/utils/six.py" in reraise
  685.             raise value.with_traceback(tb)

File "/usr/lib/python3/dist-packages/django/db/backends/utils.py" in execute
  64.                 return self.cursor.execute(sql, params)

File "/usr/lib/python3/dist-packages/django/db/backends/sqlite3/base.py" in 
execute
  328.         return Database.Cursor.execute(self, query, params)

Exception Type: OperationalError at /auth/login/
Exception Value: no such table: django_session

i tried : python3 manage.py migrate --run-syncdb it did not help. 
I removed the openstack-dashboard and redeployed multiple times but still same 
error.
Any idea how to fix that ? 
Best Regards

** Affects: murano-dashboard (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1869009

Title:
  install murano-dashboard on existing openstack dashboard charm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/murano-dashboard/+bug/1869009/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to