Public bug reported:
os system: centos7.4
openstack(horizon,nova,glance): rocky
keystone: ocata
dashboard: http://$ip/dashboard web is ok
region: have two region
less /var/log/httpd/error_log
[Fri May 10 06:02:19.989590 2019] [auth_digest:notice] [pid 118545] AH01757:
generating secret for digest authentication ...
[Fri May 10 06:02:19.990169 2019] [lbmethod_heartbeat:notice] [pid 118545]
AH02282: No slotmem from mod_heartmonitor
[Fri May 10 06:02:19.995029 2019] [mpm_prefork:notice] [pid 118545] AH00163:
Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal
operations
[Fri May 10 06:02:19.995050 2019] [core:notice] [pid 118545] AH00094: Command
line: '/usr/sbin/httpd -D FOREGROUND'
[Fri May 10 16:22:33.626411 2019] [:error] [pid 118549] WARNING:root:Use of
this 'djano.wsgi' file has been deprecated since the Rocky release in favor of
'wsgi.py' in the 'openstack_dashboard' module. This fi
le is a legacy naming from before Django 1.4 and an importable 'wsgi.py' is now
the default. This file will be removed in the T release cycle.
[Fri May 10 08:22:56.809565 2019] [:error] [pid 118549] INFO
openstack_auth.plugin.base Attempted scope to domain default failed, will
attempt to scope to another domain.
[Fri May 10 08:22:57.492431 2019] [:error] [pid 118549] INFO
openstack_auth.forms Login successful for user "admin" using domain "default",
remote address 10.4.10.101.
[Fri May 10 08:23:04.971785 2019] [:error] [pid 118549] ERROR django.request
Internal Server Error: /dashboard/project/
[Fri May 10 08:23:04.971810 2019] [:error] [pid 118549] Traceback (most recent
call last):
[Fri May 10 08:23:04.971814 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41,
in inner
[Fri May 10 08:23:04.971817 2019] [:error] [pid 118549] response =
get_response(request)
[Fri May 10 08:23:04.971820 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in
_get_response
[Fri May 10 08:23:04.971823 2019] [:error] [pid 118549] response =
self.process_exception_by_middleware(e, request)
[Fri May 10 08:23:04.971826 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in
_get_response
[Fri May 10 08:23:04.971829 2019] [:error] [pid 118549] response =
wrapped_callback(request, *callback_args, **callback_kwargs)
[Fri May 10 08:23:04.971832 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
[Fri May 10 08:23:04.971835 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971837 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
[Fri May 10 08:23:04.971840 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971842 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
[Fri May 10 08:23:04.971845 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971859 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 113, in dec
[Fri May 10 08:23:04.971862 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971865 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
[Fri May 10 08:23:04.971868 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971870 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in
view
[Fri May 10 08:23:04.971873 2019] [:error] [pid 118549] return
self.dispatch(request, *args, **kwargs)
[Fri May 10 08:23:04.971876 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in
dispatch
[Fri May 10 08:23:04.971878 2019] [:error] [pid 118549] return
handler(request, *args, **kwargs)
[Fri May 10 08:23:04.971881 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 226, in get
[Fri May 10 08:23:04.971884 2019] [:error] [pid 118549] context =
self.get_context_data(**kwargs)
[Fri May 10 08:23:04.971887 2019] [:error] [pid 118549] File
"/usr/share/openstack-dashboard/openstack_dashboard/usage/views.py", line 194,
in get_context_data
[Fri May 10 08:23:04.971890 2019] [:error] [pid 118549] context['charts'] =
self._get_charts_data()
[Fri May 10 08:23:04.971892 2019] [:error] [pid 118549] File
"/usr/share/openstack-dashboard/openstack_dashboard/usage/views.py", line 150,
in _get_charts_data
[Fri May 10 08:23:04.971895 2019] [:error] [pid 118549] chart_data =
self._process_chart_section(section['charts'])
[Fri May 10 08:23:04.971898 2019] [:error] [pid 118549] File
"/usr/share/openstack-dashboard/openstack_dashboard/usage/views.py", line 163,
in _process_chart_section
[Fri May 10 08:23:04.971900 2019] [:error] [pid 118549] used =
self.usage.limits[key]['used']
[Fri May 10 08:23:04.971903 2019] [:error] [pid 118549] KeyError: 'used'
[Fri May 10 08:23:25.600763 2019] [:error] [pid 118549] ERROR django.request
Internal Server Error: /dashboard/project/
** Affects: horizon
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1828768
Title:
dashboard can‘t access,http error.log:KeyError: 'used'
Status in OpenStack Dashboard (Horizon):
New
Bug description:
os system: centos7.4
openstack(horizon,nova,glance): rocky
keystone: ocata
dashboard: http://$ip/dashboard web is ok
region: have two region
less /var/log/httpd/error_log
[Fri May 10 06:02:19.989590 2019] [auth_digest:notice] [pid 118545] AH01757:
generating secret for digest authentication ...
[Fri May 10 06:02:19.990169 2019] [lbmethod_heartbeat:notice] [pid 118545]
AH02282: No slotmem from mod_heartmonitor
[Fri May 10 06:02:19.995029 2019] [mpm_prefork:notice] [pid 118545] AH00163:
Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal
operations
[Fri May 10 06:02:19.995050 2019] [core:notice] [pid 118545] AH00094: Command
line: '/usr/sbin/httpd -D FOREGROUND'
[Fri May 10 16:22:33.626411 2019] [:error] [pid 118549] WARNING:root:Use of
this 'djano.wsgi' file has been deprecated since the Rocky release in favor of
'wsgi.py' in the 'openstack_dashboard' module. This fi
le is a legacy naming from before Django 1.4 and an importable 'wsgi.py' is
now the default. This file will be removed in the T release cycle.
[Fri May 10 08:22:56.809565 2019] [:error] [pid 118549] INFO
openstack_auth.plugin.base Attempted scope to domain default failed, will
attempt to scope to another domain.
[Fri May 10 08:22:57.492431 2019] [:error] [pid 118549] INFO
openstack_auth.forms Login successful for user "admin" using domain "default",
remote address 10.4.10.101.
[Fri May 10 08:23:04.971785 2019] [:error] [pid 118549] ERROR django.request
Internal Server Error: /dashboard/project/
[Fri May 10 08:23:04.971810 2019] [:error] [pid 118549] Traceback (most
recent call last):
[Fri May 10 08:23:04.971814 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41,
in inner
[Fri May 10 08:23:04.971817 2019] [:error] [pid 118549] response =
get_response(request)
[Fri May 10 08:23:04.971820 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in
_get_response
[Fri May 10 08:23:04.971823 2019] [:error] [pid 118549] response =
self.process_exception_by_middleware(e, request)
[Fri May 10 08:23:04.971826 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in
_get_response
[Fri May 10 08:23:04.971829 2019] [:error] [pid 118549] response =
wrapped_callback(request, *callback_args, **callback_kwargs)
[Fri May 10 08:23:04.971832 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
[Fri May 10 08:23:04.971835 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971837 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
[Fri May 10 08:23:04.971840 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971842 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
[Fri May 10 08:23:04.971845 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971859 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 113, in dec
[Fri May 10 08:23:04.971862 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971865 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
[Fri May 10 08:23:04.971868 2019] [:error] [pid 118549] return
view_func(request, *args, **kwargs)
[Fri May 10 08:23:04.971870 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in
view
[Fri May 10 08:23:04.971873 2019] [:error] [pid 118549] return
self.dispatch(request, *args, **kwargs)
[Fri May 10 08:23:04.971876 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in
dispatch
[Fri May 10 08:23:04.971878 2019] [:error] [pid 118549] return
handler(request, *args, **kwargs)
[Fri May 10 08:23:04.971881 2019] [:error] [pid 118549] File
"/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 226, in get
[Fri May 10 08:23:04.971884 2019] [:error] [pid 118549] context =
self.get_context_data(**kwargs)
[Fri May 10 08:23:04.971887 2019] [:error] [pid 118549] File
"/usr/share/openstack-dashboard/openstack_dashboard/usage/views.py", line 194,
in get_context_data
[Fri May 10 08:23:04.971890 2019] [:error] [pid 118549] context['charts']
= self._get_charts_data()
[Fri May 10 08:23:04.971892 2019] [:error] [pid 118549] File
"/usr/share/openstack-dashboard/openstack_dashboard/usage/views.py", line 150,
in _get_charts_data
[Fri May 10 08:23:04.971895 2019] [:error] [pid 118549] chart_data =
self._process_chart_section(section['charts'])
[Fri May 10 08:23:04.971898 2019] [:error] [pid 118549] File
"/usr/share/openstack-dashboard/openstack_dashboard/usage/views.py", line 163,
in _process_chart_section
[Fri May 10 08:23:04.971900 2019] [:error] [pid 118549] used =
self.usage.limits[key]['used']
[Fri May 10 08:23:04.971903 2019] [:error] [pid 118549] KeyError: 'used'
[Fri May 10 08:23:25.600763 2019] [:error] [pid 118549] ERROR django.request
Internal Server Error: /dashboard/project/
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1828768/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp