I can duplicate this on two identical systems, both upgraded from precise through to trusty:
root@xamot:/var/www# apt-get install maas Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: maas-region-controller The following NEW packages will be installed: maas maas-region-controller 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/6,754 B of archives. After this operation, 93.2 kB of additional disk space will be used. Do you want to continue? [Y/n] Selecting previously unselected package maas-region-controller. (Reading database ... 128110 files and directories currently installed.) Preparing to unpack .../maas-region-controller_1.5.2+bzr2282-0ubuntu0.2_all.deb ... Unpacking maas-region-controller (1.5.2+bzr2282-0ubuntu0.2) ... Selecting previously unselected package maas. Preparing to unpack .../maas_1.5.2+bzr2282-0ubuntu0.2_all.deb ... Unpacking maas (1.5.2+bzr2282-0ubuntu0.2) ... Setting up maas-region-controller (1.5.2+bzr2282-0ubuntu0.2) ... Considering dependency proxy for proxy_http: Module proxy already enabled Module proxy_http already enabled Module expires already enabled Module wsgi already enabled rsyslog stop/waiting rsyslog start/running, process 12044 squid-deb-proxy stop/waiting squid-deb-proxy start/running, process 12100 * Restarting message broker rabbitmq-server [ OK ] Changing password for user "maas_longpoll" ... ...done. Changing password for user "maas_workers" ... ...done. * Restarting PostgreSQL 9.3 database server [ OK ] dbconfig-common: writing config to /etc/dbconfig-common/maas-region-controller.conf creating postgres user maas: success. verifying creation of user: success. creating database maasdb: success. verifying database maasdb exists: success. dbconfig-common: flushing administrative password Syncing... Creating tables ... Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Creating table auth_user_groups Creating table auth_user_user_permissions Creating table auth_user Creating table django_content_type Creating table django_session Creating table django_site Creating table piston_nonce Creating table piston_consumer Creating table piston_token Creating table south_migrationhistory Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s)
Synced: > django.contrib.auth > django.contrib.contenttypes > django.contrib.sessions > django.contrib.sites > django.contrib.messages > django.contrib.staticfiles > piston > south
Not synced (use migrations): - maasserver - metadataserver (use ./manage.py migrate to migrate these) UnknownMigration: Migration 'maasserver:0072_remove_ipmi_autodetect' probably doesn't exist. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/south/migration/base.py", line 297, in migration migration = __import__(full_name, {}, {}, ['Migration']) File "/usr/lib/python2.7/dist-packages/maasserver/migrations/0072_remove_ipmi_autodetect.py", line 4, in <module> from django.db.utils import ProgrammingError ImportError: cannot import name ProgrammingError
I can duplicate this on two identical systems, both upgraded from precise through to trusty:
root@xamot: /var/www# apt-get install maas region- controller controller controller. region- controller_ 1.5.2+bzr2282- 0ubuntu0. 2_all.deb ... controller (1.5.2+ bzr2282- 0ubuntu0. 2) ... 1.5.2+bzr2282- 0ubuntu0. 2_all.deb ... bzr2282- 0ubuntu0. 2) ... controller (1.5.2+ bzr2282- 0ubuntu0. 2) ... common/ maas-region- controller. conf permissions user_permission s history
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
maas-
The following NEW packages will be installed:
maas maas-region-
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,754 B of archives.
After this operation, 93.2 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Selecting previously unselected package maas-region-
(Reading database ... 128110 files and directories currently installed.)
Preparing to unpack .../maas-
Unpacking maas-region-
Selecting previously unselected package maas.
Preparing to unpack .../maas_
Unpacking maas (1.5.2+
Setting up maas-region-
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Module expires already enabled
Module wsgi already enabled
rsyslog stop/waiting
rsyslog start/running, process 12044
squid-deb-proxy stop/waiting
squid-deb-proxy start/running, process 12100
* Restarting message broker rabbitmq-server [ OK ]
Changing password for user "maas_longpoll" ...
...done.
Changing password for user "maas_workers" ...
...done.
* Restarting PostgreSQL 9.3 database server [ OK ]
dbconfig-common: writing config to /etc/dbconfig-
creating postgres user maas: success.
verifying creation of user: success.
creating database maasdb: success.
verifying database maasdb exists: success.
dbconfig-common: flushing administrative password
Syncing...
Creating tables ...
Creating table auth_permission
Creating table auth_group_
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_
Creating table auth_user
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table piston_nonce
Creating table piston_consumer
Creating table piston_token
Creating table south_migration
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Synced: contrib. contenttypes contrib. sessions contrib. sites contrib. messages contrib. staticfiles
> django.contrib.auth
> django.
> django.
> django.
> django.
> django.
> piston
> south
Not synced (use migrations): 0072_remove_ ipmi_autodetect ' probably doesn't exist. python2. 7/dist- packages/ south/migration /base.py" , line 297, in migration _(full_ name, {}, {}, ['Migration']) python2. 7/dist- packages/ maasserver/ migrations/ 0072_remove_ ipmi_autodetect .py", line 4, in <module>
- maasserver
- metadataserver
(use ./manage.py migrate to migrate these)
UnknownMigration: Migration 'maasserver:
Traceback (most recent call last):
File "/usr/lib/
migration = __import_
File "/usr/lib/
from django.db.utils import ProgrammingError
ImportError: cannot import name ProgrammingError