maas package missing dependency on python-decorator

Bug #1330498 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas (Ubuntu)
Invalid
Critical
Unassigned
python-django-piston (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

As seen here: http://d-jenkins.ubuntu-ci:8080/view/MAAS/job/utopic-adt-maas/74/console

Setting up maas-dns (1.6+bzr2367+2423+279-0ubuntu1) ...
Traceback (most recent call last):
  File "/usr/bin/django-admin", line 5, in <module>
    management.execute_from_command_line()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 284, in execute
    self.validate()
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 310, in validate
    num_errors = get_validation_errors(s, app)
  File "/usr/lib/python2.7/dist-packages/django/core/management/validation.py", line 34, in get_validation_errors
    for (app_name, error) in get_app_errors().items():
  File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line 196, in get_app_errors
    self._populate()
  File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line 78, in _populate
    self.load_app(app_name)
  File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line 99, in load_app
    models = import_module('%s.models' % app_name)
  File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/maasserver/models/__init__.py", line 46, in <module>
    from maasserver.models.bootimage import BootImage
  File "/usr/lib/python2.7/dist-packages/maasserver/models/bootimage.py", line 26, in <module>
    from maasserver.models.nodegroup import NodeGroup
  File "/usr/lib/python2.7/dist-packages/maasserver/models/nodegroup.py", line 37, in <module>
    from maasserver.refresh_worker import refresh_worker
  File "/usr/lib/python2.7/dist-packages/maasserver/refresh_worker.py", line 20, in <module>
    from maasserver.models.user import get_creds_tuple
  File "/usr/lib/python2.7/dist-packages/maasserver/models/user.py", line 25, in <module>
    from piston.models import (
  File "/usr/lib/python2.7/dist-packages/piston/models.py", line 11, in <module>
    from signals import consumer_post_save, consumer_post_delete
  File "/usr/lib/python2.7/dist-packages/piston/signals.py", line 5, in <module>
    from utils import send_consumer_mail
  File "/usr/lib/python2.7/dist-packages/piston/utils.py", line 13, in <module>
    from decorator import decorator
ImportError: No module named decorator
Setting up maas-region-controller (1.6+bzr2367+2423+279-0ubuntu1) ...

Tags: ci
Revision history for this message
Raphaël Badin (rvb) wrote :

Looks like this is a problem with python-django-piston's packaging:

Result of `apt-cache show python-django-piston` in trusty: http://paste.ubuntu.com/7653328/ and in utopic: http://paste.ubuntu.com/7653329/

Note the difference in 'Depends':
Trusty:
Depends: python (>= 2.7), python (<< 2.8), python:any (>= 2.7.1-0ubuntu2), python-django (>= 1.1), python-oauth (>= 1.0.1), python-decorator
Utopic:
Depends: python (>= 2.7), python (<< 2.8)

The upstream version is the same: 0.2.3-1ubuntu5 in Trusty, 0.2.3-2 in Utopic.

Changed in maas (Ubuntu):
status: Triaged → Invalid
tags: added: ci
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-django-piston - 0.2.3-2ubuntu1

---------------
python-django-piston (0.2.3-2ubuntu1) utopic; urgency=medium

  * debian/control: Re-add missing Depends on python-django (>= 1.1),
    python-oauth (>= 1.0.1), python-decorator (LP: #1330498)
 -- Andres Rodriguez <email address hidden> Thu, 19 Jun 2014 10:45:30 -0400

Changed in python-django-piston (Ubuntu):
status: New → 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.