unable to see the dashboard

asked 2019-02-05 04:19:05 -0500

opensourceengineer gravatar image

Its a fresh installation of openstack using the packstack on centos machine.

Installation completed successfully but when i browse the dashboard I see the below error:

mportError at / No module named urls Request Method: GET Request URL: http://xx.xx.xx.xx/dashboard/ Django Version: 1.8.14 Exception Type: ImportError Exception Value:
No module named urls Exception Location: /usr/lib/python2.7/site-packages/horizon/base.py in <module>, line 34 Python Executable: /usr/bin/python Python Version: 2.7.5 Python Path:
['/usr/share/openstack-dashboard', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib/python2.7/site-packages', '/usr/share/openstack-dashboard/openstack_dashboard'] Server time: Tue, 5 Feb 2019 09:46:58 +0000

When I checked the logs I could see that :

other domain. 2019-01-23 12:48:30,803 26566 INFO openstack_auth.forms Login successful for user "sunilka", remote address 149.24.41.184. 2019-01-25 15:59:43,320 26564 WARNING openstack_auth.forms Login failed for user "root", remote address 10.24.241.210. 2019-02-04 11:20:41,120 111334 ERROR django.request Internal Server Error: /dashboard/ Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 119, in get_response resolver_match = resolver.resolve(request.path_info) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 365, in resolve for pattern in self.url_patterns: File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 401, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 395, in urlconf_module self._urlconf_module = import_module(self.urlconf_name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/share/openstack-dashboard/openstack_dashboard/urls.py", line 31, in <module> import horizon.base File "/usr/lib/python2.7/site-packages/horizon/base.py", line 34, in <module> from django.urls import reverse ImportError: No module named urls 2019-02-04 11:24:52,880 4784 ERROR django.request Internal Server Error: /dashboard/ Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 119, in get_response resolver_match = resolver.resolve(request.path_info) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 365, in resolve for pattern in self.url_patterns: File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 401, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/usr/lib/python2.7/site-packages/django/core/urlresolvers.py", line 395, in urlconf_module self._urlconf_module = import_module(self.urlconf_name) File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module __import__(name) File "/usr/share/openstack-dashboard/openstack_dashboard/urls.py", line 31, in <module> import horizon.base File "/usr/lib/python2.7/site-packages/horizon/base.py", line 34, in <module> from django.urls import reverse ImportError: No module named urls 2019-02-04 11:25:07,030 4787 ERROR django.request Internal Server Error: /dashboard/ Traceback (most ... (more)

edit retag flag offensive close merge delete