Bug 827213 - [openstack][dashboard] Internal Server Error - ImportError django_nose: No module named django_nose
[openstack][dashboard] Internal Server Error - ImportError django_nose: No mo...
Status: CLOSED CURRENTRELEASE
Product: Fedora EPEL
Classification: Fedora
Component: python-django-horizon (Show other bugs)
el6
Unspecified Unspecified
unspecified Severity high
: ---
: ---
Assigned To: Pádraig Brady
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-31 18:02 EDT by David Naori
Modified: 2012-05-31 19:58 EDT (History)
15 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-31 19:58:30 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Naori 2012-05-31 18:02:47 EDT
Description of problem:

Internal Server Error: 
ImportError django_nose: No module named django_nose

django_nose was removed from dashboard's dependencies. 

* reference to django_nose should be removed from openstack_dashboard/settings.py

 92 INSTALLED_APPS = (
 93     'openstack_dashboard',
 94     'django.contrib.sessions',
 95     'django.contrib.messages',
 96     'django.contrib.staticfiles',
 97 #    'django_nose',
 98     'horizon',
 99     'horizon.dashboards.nova',
100     'horizon.dashboards.syspanel',
101     'horizon.dashboards.settings',
102 )
103 
104 #TEST_RUNNER = 'django_nose.NoseTestSuiteRunner

#TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'

Version:
openstack-dashboard-2012.1-5.el6.noarch
Comment 1 Pádraig Brady 2012-05-31 18:18:37 EDT
So when testing the above we noticed missing static files,
which I partially worked around by creating a symlink.

There were still issues like:
 Unable to retrieve image list 
 Unable to retrieve project list

Hopefully with the above change in the package proper,
the collectstatic construct will work correctly,
and all static issues will be avoided.
Comment 2 Pádraig Brady 2012-05-31 19:58:30 EDT
Note this bug is really against a scratch build and was not present in EPEL
Hence I'm closing this as CURRENTRELEASE.

I've tested another scratch build with this change:
http://pkgs.fedoraproject.org/gitweb/?p=python-django-horizon.git;a=commitdiff;h=52371f3

The static files are now installed as expected.

Note You need to log in before you can comment on or make changes to this bug.