Ask Your Question
1

Dashboard access error 500

asked 2015-08-04 10:34:22 -0500

Vasja Pupkin gravatar image

Hello Everyone, Getting error 500 with following error. Any help thank you.

 2015-08-04 15:17:33,783 13856 ERROR django.request Internal Server Error: /dashboard/auth/login/
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 75, in sensitive_post_parameters_wrapper
    return view(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 99, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/openstack_auth/views.py", line 111, in login
    **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", line 75, in sensitive_post_parameters_wrapper
    return view(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 99, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", line 52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 47, in login
    form = authentication_form(request)
  File "/usr/lib/python2.7/site-packages/django/utils/functional.py", line 15, in _curried
    return _curried_func(*(args + moreargs), **dict(kwargs, **morekwargs))
  File "/usr/lib/python2.7/site-packages/openstack_auth/forms.py", line 57, in __init__
    super(Login, self).__init__(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/forms.py", line 178, in __init__
    UserModel = get_user_model()
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 129, in get_user_model
    raise ImproperlyConfigured("AUTH_USER_MODEL refers to model '%s' that has not been installed" % settings.AUTH_USER_MODEL)
ImproperlyConfigured: AUTH_USER_MODEL refers to model 'openstack_auth.User' that has not been installed
edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2019-06-02 22:06:50 -0500

pekon gravatar image

Check your error in /var/log/apache2/error.log And then based on that update your /etc/openstack-dashboard/local_settings.py

In my case, problem was solved when I enabled "COMPRESS_ENABLED = not DEBUG", as I had error message which said something about compression being enabled. So I disabled it, and it worked.

edit flag offensive delete link more
0

answered 2015-10-22 06:21:05 -0500

grkim gravatar image

i have same problem. did you have any answer?

edit flag offensive delete link more
0

answered 2015-10-22 16:28:06 -0500

Did you try with these two?

  TMPF="/usr/share/openstack-dashboard/openstack_dashboard/settings.py"
  sed -i "s/MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'.*/\
MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage' \n\
AUTH_USER_MODEL = 'openstack_auth.User'/" $TMPF

  TMPF="/etc/openstack-dashboard/local_settings"
  sed -i "s/.*'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',.*/\
        'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',\n\
        'LOCATION': '127.0.0.1:11211', /" $TMPF
edit flag offensive delete link more
0

answered 2015-08-27 17:51:40 -0500

I am having the same issue. Did you get it fixed?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-08-04 10:34:22 -0500

Seen: 590 times

Last updated: Oct 22 '15