[Bug 1430025] Re: maas uninstallable on vivid

Scott Moser smoser at ubuntu.com
Thu Mar 12 13:25:38 UTC 2015


I think we're down to the maas issue that Raphael described now.
Postgres is fixed (I marked bug 1427950 fix-released).

See full log attached, but here is what I see now.

$ apt-cache policy maas
maas:
  Installed: (none)
  Candidate: 1.7.1+bzr3341-0ubuntu1
  Version table:
     1.7.1+bzr3341-0ubuntu1 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages

$ sudo apt-get install -qy maas
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  apache2 apache2-bin apache2-data apache2-utils authbind bind9 bind9utils
...

dbconfig-common: writing config to /etc/dbconfig-common/maas-region-
controller.conf

Creating config file /etc/dbconfig-common/maas-region-controller.conf with new version
creating postgres user maas:  success.
verifying creation of user: success.
creating database maasdb: success.
verifying database maasdb exists: success.
dbconfig-common: flushing administrative password
System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
	HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information.
Syncing...
Traceback (most recent call last):
  File "/usr/sbin/maas-region-admin", line 16, in <module>
    management.execute_from_command_line()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 533, in handle
    return self.handle_noargs(**options)
  File "/usr/lib/python2.7/dist-packages/south/management/commands/syncdb.py", line 82, in handle_noargs
    old_app_store, cache.app_store = cache.app_store, SortedDict([
AttributeError: 'Apps' object has no attribute 'app_store'
dpkg: error processing package maas-region-controller (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of maas:
 maas depends on maas-region-controller (= 1.7.1+bzr3341-0ubuntu1); however:
  Package maas-region-controller is not configured yet.

dpkg: error processing package maas (--configure):
 dependency problems - leaving unconfigured
Setting up maas-dns (1.7.1+bzr3341-0ubuntu1) ...
No apport report written because the error message indicates its a followup error from a previous failure.
System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
	HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information.
System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
	HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information.
System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
	HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information.
Setting up libnss3-nssdb (2:3.17.4-0ubuntu1) ...
Setting up libnss3:amd64 (2:3.17.4-0ubuntu1) ...
Setting up librados2 (0.87-0ubuntu5) ...
Setting up librbd1 (0.87-0ubuntu5) ...
Setting up tgt (1:1.0.43-0ubuntu4) ...
Setting up maas-cluster-controller (1.7.1+bzr3341-0ubuntu1) ...
invoke-rc.d: maas-clusterd.service doesn't exist but the upstart job does. Nothing to start or stop until a systemd or init job is present.
Processing triggers for libc-bin (2.19-15ubuntu2) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 maas-region-controller
 maas
E: Sub-process /usr/bin/dpkg returned an error code (1)

$ sudo pg_lsclusters
Ver Cluster Port Status Owner    Data directory               Log file
9.4 main    5432 online postgres /var/lib/postgresql/9.4/main /var/log/postgresql/postgresql-9.4-main.log


** Changed in: maas (Ubuntu)
       Status: Incomplete => Confirmed

-- 
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/1430025

Title:
  maas uninstallable on vivid

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



More information about the Ubuntu-server-bugs mailing list