[Bug 1367266] [NEW] missing dependancy for python-pexpect for maas-region-controller

Louis Bouchard louis.bouchard at canonical.com
Tue Sep 9 12:38:31 UTC 2014


Public bug reported:

Foreword

It is agreed upon that installing maas-region-controller by itself is
not correct

maas version : 1.5.2+bzr2282-0ubuntu0.2

When installing the maas-region-controller by itself, the installation hangs after the following python backtrace :
...
verifying database maasdb exists: success.
dbconfig-common: flushing administrative password
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 44, 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 35, in <module>
    from maasserver.refresh_worker import refresh_worker
  File "/usr/lib/python2.7/dist-packages/maasserver/refresh_worker.py", line 21, in <module>
    from provisioningserver.tasks import refresh_secrets
  File "/usr/lib/python2.7/dist-packages/provisioningserver/tasks.py", line 49, in <module>
    from provisioningserver.custom_hardware.virsh import probe_virsh_and_enlist
  File "/usr/lib/python2.7/dist-packages/provisioningserver/custom_hardware/virsh.py", line 18, in <module>
    import pexpect
ImportError: No module named pexpect

This is caused by a missing depedency on python-pexpect.  Installing
python-pexpect prior to installing maas-region-controller is a valid
workaround

** 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/1367266

Title:
  missing dependancy for python-pexpect for maas-region-controller

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



More information about the Ubuntu-server-bugs mailing list