Horizon dashboard shows 500 error after installation of tacker

Bug #1699891 reported by simar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Invalid
Medium
Unassigned

Bug Description

The dashboard was working perfectly for me till the installation of tacker.

As I was installing tacker I came across tox -e config-gen which showed some errors

python.h missing fatal error which I removed after installing python 3.4 for some packages (libffi, python-dev)

after which tacker.conf was produced.

After successfully installing tacker I went to dashboard but I got error 500.

Attached are the apache2 error log

[Thu Jun 22 11:02:52.971621 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] mod_wsgi (pid=23835): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Thu Jun 22 11:02:52.971747 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] Traceback (most recent call last):
[Thu Jun 22 11:02:52.971785 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 170, in __call__
[Thu Jun 22 11:02:52.971819 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] self.load_middleware()
[Thu Jun 22 11:02:52.971835 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 52, in load_middleware
[Thu Jun 22 11:02:52.971856 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] mw_instance = mw_class()
[Thu Jun 22 11:02:52.971869 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 24, in __init__
[Thu Jun 22 11:02:52.971888 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] for url_pattern in get_resolver(None).url_patterns:
[Thu Jun 22 11:02:52.971901 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 401, in url_patterns
[Thu Jun 22 11:02:52.971921 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
[Thu Jun 22 11:02:52.971933 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 395, in urlconf_module
[Thu Jun 22 11:02:52.971952 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] self._urlconf_module = import_module(self.urlconf_name)
[Thu Jun 22 11:02:52.971965 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Thu Jun 22 11:02:52.971983 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] __import__(name)
[Thu Jun 22 11:02:52.971996 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/share/openstack-dashboard/openstack_dashboard/urls.py", line 32, in <module>
[Thu Jun 22 11:02:52.972014 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] from openstack_dashboard.api import rest
[Thu Jun 22 11:02:52.972026 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/share/openstack-dashboard/openstack_dashboard/api/__init__.py", line 35, in <module>
[Thu Jun 22 11:02:52.972045 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] from openstack_dashboard.api import cinder
[Thu Jun 22 11:02:52.972057 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/share/openstack-dashboard/openstack_dashboard/api/cinder.py", line 38, in <module>
[Thu Jun 22 11:02:52.972075 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] from openstack_dashboard.api import nova
[Thu Jun 22 11:02:52.972120 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] File "/usr/share/openstack-dashboard/openstack_dashboard/api/nova.py", line 36, in <module>
[Thu Jun 22 11:02:52.972144 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] from novaclient.v2 import security_group_rules as nova_rules
[Thu Jun 22 11:02:52.972176 2017] [wsgi:error] [pid 23835:tid 139716980262656] [remote 142.104.74.210:31075] ImportError: cannot import name security_group_rules
[Thu Jun 22 11:02:59.208497 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] mod_wsgi (pid=23834): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
[Thu Jun 22 11:02:59.208606 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] Traceback (most recent call last):
[Thu Jun 22 11:02:59.208633 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 170, in __call__
[Thu Jun 22 11:02:59.208664 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] self.load_middleware()
[Thu Jun 22 11:02:59.208679 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 52, in load_middleware
[Thu Jun 22 11:02:59.208700 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] mw_instance = mw_class()
[Thu Jun 22 11:02:59.208713 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 24, in __init__
[Thu Jun 22 11:02:59.208732 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] for url_pattern in get_resolver(None).url_patterns:
[Thu Jun 22 11:02:59.208745 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 401, in url_patterns
[Thu Jun 22 11:02:59.208765 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
[Thu Jun 22 11:02:59.208777 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 395, in urlconf_module
[Thu Jun 22 11:02:59.208796 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] self._urlconf_module = import_module(self.urlconf_name)
[Thu Jun 22 11:02:59.208809 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
[Thu Jun 22 11:02:59.208827 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] __import__(name)
[Thu Jun 22 11:02:59.208840 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/share/openstack-dashboard/openstack_dashboard/urls.py", line 32, in <module>
[Thu Jun 22 11:02:59.208858 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] from openstack_dashboard.api import rest
[Thu Jun 22 11:02:59.208871 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/share/openstack-dashboard/openstack_dashboard/api/__init__.py", line 35, in <module>
[Thu Jun 22 11:02:59.208888 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] from openstack_dashboard.api import cinder
[Thu Jun 22 11:02:59.208900 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/share/openstack-dashboard/openstack_dashboard/api/cinder.py", line 38, in <module>
[Thu Jun 22 11:02:59.208918 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] from openstack_dashboard.api import nova
[Thu Jun 22 11:02:59.208958 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] File "/usr/share/openstack-dashboard/openstack_dashboard/api/nova.py", line 36, in <module>
[Thu Jun 22 11:02:59.208982 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] from novaclient.v2 import security_group_rules as nova_rules
[Thu Jun 22 11:02:59.209012 2017] [wsgi:error] [pid 23834:tid 139716946659072] [remote 142.104.74.210:63583] ImportError: cannot import name security_group_rules

and the following comes from tacker.log

2017-06-21 15:16:40.445 26843 DEBUG tacker.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802

2017-06-21 15:16:40.447 26843 DEBUG tacker.service [-] publish_errors = False log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802
2017-06-21 15:16:40.483 26843 DEBUG oslo_service.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802

2017-06-21 15:16:40.485 26843 DEBUG oslo_service.service [-] publish_errors = False log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802
2017-06-21 15:16:41.174 26843 DEBUG tacker.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802

2017-06-21 15:16:41.176 26843 DEBUG tacker.service [-] publish_errors = False log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802
2017-06-21 16:09:35.761 32544 DEBUG tacker.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802

2017-06-21 16:09:35.764 32544 DEBUG tacker.service [-] publish_errors = False log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802
2017-06-21 16:09:35.802 32544 DEBUG oslo_service.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802

2017-06-21 16:09:35.804 32544 DEBUG oslo_service.service [-] publish_errors = False log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802
2017-06-21 16:09:36.494 32544 DEBUG tacker.service [-] logging_exception_prefix = %(asctime)s.%(msecs)03d %(process)d ERROR %(name)s %(instance)s log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802

2017-06-21 16:09:36.496 32544 DEBUG tacker.service [-] publish_errors = False log_opt_values /usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py:2802

Tags: horizon tacker
simar (simar15)
tags: added: tacker
tags: added: horizon
Revision history for this message
venkatamahesh (venkatamaheshkotha) wrote :
Changed in tacker:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Manpreet Kaur (manpreetk) wrote :

This issue is irreproducible in the master branch.
Marking it invalid.
Feel free to reopen the bug in case the issue reproduces and set the bug status back to ''New''.

Changed in tacker:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.