cobbler-web throws 500 internal server error

Bug #1076290 reported by Jon Anning
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Fresh install of 12.10 server. Cobbler itself works just fine, but the webui won't run - error in /var/log/apache2/error.log is as follows:

mod_wsgi (pid=11576): Exception occurred processing WSGI script '/usr/share/cobbler/web/cobbler.wsgi'.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 219, in __call__
     self.load_middleware()
   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 47, in load_middleware
     raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))
 ImproperlyConfigured: Error importing middleware django.contrib.csrf.middleware: "No module named csrf.middleware"

A bit of investigation led me to a bug on cobbler's github issues:

https://github.com/cobbler/cobbler/issues/191 seems to be similar. The team suggested the OP contact the packagers then, so that's what I'm doing now as well :)

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

There seem to be several issues with cobbler and the current python-django on 12.10. This bug is the same as https://bugzilla.redhat.com/show_bug.cgi?id=828632 but fixing reveals other bugs. Seems like no-one has tested cobbler on 12.10 before release..

Changed in cobbler (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Steve Conklin (sconklin) wrote :

Still occurs in Raring Daily release 2013-03-14

Happy pi day

Revision history for this message
Lorin Hochstein (lorinh) wrote :

I'm getting this on 12.04 now, although I didn't when I originally installed cobbler.

Revision history for this message
Lorin Hochstein (lorinh) wrote :

Follow up: on my 12.04 install, I've installed OpenStack via cloud archive, so the version of python-django I'm running is 1.4.1-2ubuntu0.3~cloud0

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

a new version will be uploaded to saucy soon

Changed in cobbler (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cobbler - 2.4.0-0ubuntu2

---------------
cobbler (2.4.0-0ubuntu2) saucy; urgency=low

  * cobbler-web.postinst: Generate a random key for SECURITY_KEY in settings.py.
 -- Timo Aaltonen <email address hidden> Thu, 29 Aug 2013 19:32:56 +0300

Changed in cobbler (Ubuntu):
status: Fix Committed → Fix Released
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.