← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1193983] Re: No module named horizon.middleware

 

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1193983

Title:
  No module named horizon.middleware

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  CentOS 6 Openstack grizzly environment, nova works fine.

  I executed these command to install horizon:
  yum install -y memcached
  yum install -y openstack-dashboard  
  yum install -y mod_ssl
  keystone role-create --name Member
  service memcached start
  service httpd start

  and then visit 'https://xx.xx.xx.xx/', i saw the apache welcome page.
  But when I visit 'https://xx.xx.xx.xx/dashboard', i got the error page:
  "Internal Server Error
  The server encountered an internal error or misconfiguration and was unable to complete your request.
  Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
  More information about this error may be available in the server error log.
  Apache/2.2.15 (CentOS) Server at openstack.xxxxx.com.cn Port 443"

  the /var/log/httpd/error_log is:

  [Mon Jun 24 02:31:41 2013] [error] [client 10.217.86.77] mod_wsgi (pid=26460): Exception occurred processing WSGI script '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.
  [Mon Jun 24 02:31:41 2013] [error] [client 10.217.86.77] Traceback (most recent call last):
  [Mon Jun 24 02:31:41 2013] [error] [client 10.217.86.77]   File "/usr/lib/python2.6/site-packages/django/core/handlers/wsgi.py", line 219, in __call__
  [Mon Jun 24 02:31:41 2013] [error] [client 10.217.86.77]     self.load_middleware()
  [Mon Jun 24 02:31:41 2013] [error] [client 10.217.86.77]   File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 49, in load_middleware
  [Mon Jun 24 02:31:41 2013] [error] [client 10.217.86.77]     raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))
  [Mon Jun 24 02:31:41 2013] [error] [client 10.217.86.77] ImproperlyConfigured: Error importing middleware horizon.middleware: "No module named horizon.middleware"

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1193983/+subscriptions