root@node-9:/usr/share/openstack-dashboard# python manage.py runserver 0.0.0.0:80
/usr/lib/python2.7/dist-packages/pbr/version.py:21: UserWarning: Module openstack_dashboard was already imported from /usr/share/openstack-dashboard/openstack_dashboard/__init__.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
import pkg_resources
/usr/lib/python2.7/dist-packages/pbr/version.py:21: UserWarning: Module openstack_dashboard was already imported from /usr/share/openstack-dashboard/openstack_dashboard/__init__.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
import pkg_resources
Validating models...
0 errors found
February 26, 2016 - 11:45:22
Django version 1.6.5, using settings 'openstack_dashboard.settings'
Starting development server at http://0.0.0.0:80/
Quit the server with CONTROL-C.
Error: That port is already in use.
root@node-9:/usr/share/openstack-dashboard# service ap
apache2 apparmor
root@node-9:/usr/share/openstack-dashboard# service apache2 stop
* Stopping web server apache2 WARNING: MaxClients (3212) is not an integer multiple
of ThreadsPerChild (25), lowering MaxClients to 3200
for a maximum of 128 child processes,
... waiting . [ OK ]
root@node-9:/usr/share/openstack-dashboard# python manage.py runserver 0.0.0.0:80
/usr/lib/python2.7/dist-packages/pbr/version.py:21: UserWarning: Module openstack_dashboard was already imported from /usr/share/openstack-dashboard/openstack_dashboard/__init__.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
import pkg_resources
/usr/lib/python2.7/dist-packages/pbr/version.py:21: UserWarning: Module openstack_dashboard was already imported from /usr/share/openstack-dashboard/openstack_dashboard/__init__.pyc, but /usr/lib/python2.7/dist-packages is being added to sys.path
import pkg_resources
Validating models...
0 errors found
February 26, 2016 - 11:45:48
Django version 1.6.5, using settings 'openstack_dashboard.settings'
Starting development server at http://0.0.0.0:80/
Quit the server with CONTROL-C.
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 67, in __call__
return self.application(environ, start_response)
File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 187, in __call__
self.load_middleware()
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 47, in load_middleware
mw_instance = mw_class()
File "/usr/lib/python2.7/dist-packages/django/middleware/locale.py", line 24, in __init__
for url_pattern in get_resolver(None).url_patterns:
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 365, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/usr/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 360, in urlconf_module
self._urlconf_module = import_module(self.urlconf_name)
File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/usr/share/openstack-dashboard/openstack_dashboard/urls.py", line 36, in <module>
url(r'', include(horizon.urls))
File "/usr/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 27, in include
patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 213, in inner
self._setup()
File "/usr/lib/python2.7/dist-packages/django/utils/functional.py", line 298, in _setup
self._wrapped = self._setupfunc()
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 778, in url_patterns
return self._urls()[0]
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 812, in _urls
url(r'^%s/' % dash.slug, include(dash._decorated_urls)))
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 487, in _decorated_urls
url(r'^%s/' % url_slug, include(panel._decorated_urls)))
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 257, in _decorated_urls
urlpatterns = self._get_default_urlpatterns()
File "/usr/lib/python2.7/dist-packages/horizon/base.py", line 87, in _get_default_urlpatterns
urls_mod = import_module('.urls', package_string)
File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
__import__(name)
File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/diyiti/urls.py", line 23, in <module>
from openstack_dashboard.dashboards.project.diyiti import views
File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/diyiti/views.py", line 193, in <module>
class InstanceView(tables.DataTableView):
NameError: name 'tables' is not defined
[26/Feb/2016 11:46:04] "GET /horizon/ HTTP/1.1" 500 59