[Bug 1095775] [NEW] maas 0.1+bzr482 (precise) incompatible with python-django 1.4 (cloud-archive)

Ryan Finnie ryan.finnie at canonical.com
Thu Jan 3 19:36:25 UTC 2013


Public bug reported:

We have a MAAS server on precise which we added cloud-archive precise-
updates/folsom to, which upgraded python-django to
1.4.1-2ubuntu0.2~cloud0.  After that, MAAS began failing:

[Thu Jan 03 17:56:34 2013] [error] [client 10.33.0.3] mod_wsgi (pid=31732): Exception occurred processing WSGI script '/usr/share/maas/wsgi.py'.
[Thu Jan 03 17:56:34 2013] [error] [client 10.33.0.3] Traceback (most recent call last):
[Thu Jan 03 17:56:34 2013] [error] [client 10.33.0.3]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 219, in __call__
[Thu Jan 03 17:56:34 2013] [error] [client 10.33.0.3]     self.load_middleware()
[Thu Jan 03 17:56:34 2013] [error] [client 10.33.0.3]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 51, in load_middleware
[Thu Jan 03 17:56:34 2013] [error] [client 10.33.0.3]     raise exceptions.ImproperlyConfigured('Middleware module "%s" does not define a "%s" class' % (mw_module, mw_classname))
[Thu Jan 03 17:56:34 2013] [error] [client 10.33.0.3] ImproperlyConfigured: Middleware module "django.middleware.csrf" does not define a "CsrfResponseMiddleware" class

Apparently the way maas in precise does csrf is incompatible with django
1.4. [0]  Downgrading back to 1.3.1-4ubuntu1.4 worked.  I ultimately
removed cloud-archive and its packages from the MAAS server since we
were just using it to test folsom on an openstack juju deployment and it
wasn't strictly needed, but I imagine that will be a common occurrence
going forward for others.

[0] https://lists.launchpad.net/launchpad-reviewers/msg09325.html

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1095775

Title:
  maas 0.1+bzr482 (precise) incompatible with python-django 1.4 (cloud-
  archive)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1095775/+subscriptions



More information about the Ubuntu-server-bugs mailing list