[Bug 1504340] [NEW] Upgrade from 1.5 to 1.9 fails in network migration

2015-10-08 Thread John George
Public bug reported:

Attempted to upgrade Trusty from 1.5 to 1.9.
Please see the output below.

jenkins@juju-qa-maas-server-1:~$ sudo apt-get upgrade maas
[sudo] password for jenkins: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  avahi-daemon avahi-utils erlang-asn1 erlang-base erlang-corba erlang-crypto
  erlang-diameter erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit
  erlang-ic erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
  erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
  erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
  erlang-webtool erlang-xmerl libavahi-core7 libdaemon0 libjs-raphael
  libnss-mdns libodbc1 libsctp1 lksctp-tools pwgen python-amqp python-amqplib
  python-anyjson python-billiard python-celery python-cl python-dateutil
  python-iscpy python-kombu python-lockfile python-mailer python-memcache
  python-oops python-oops-amqp python-oops-datedir-repo python-oops-twisted
  python-oops-wsgi python-txamqp python-txlongpoll rabbitmq-server
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  squid-deb-proxy
The following NEW packages will be installed:
  libjs-angularjs maas-proxy
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
  maas maas-cli maas-cluster-controller maas-common maas-dhcp maas-dns
  maas-region-controller maas-region-controller-min python-django-maas
  python-maas-client python-maas-provisioningserver
11 upgraded, 2 newly installed, 1 to remove and 3 not upgraded.
Need to get 2,542 kB of archives.
After this operation, 12.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main python-maas-provisioningserver all 
1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [211 kB]
Get:2 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-cluster-controller all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 
[33.0 kB]
Get:3 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-region-controller all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 
[23.0 kB]
Get:4 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-dns all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [21.4 kB]
Get:5 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-region-controller-min all 
1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [1,330 kB]
Get:6 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main python-django-maas all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [500 
kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty/universe libjs-angularjs all 
1.2.11-1 [272 kB]
Get:8 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-cli all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [34.2 kB]
Get:9 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main python-maas-client all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [26.8 
kB]
Get:10 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-common all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [21.3 kB]
Get:11 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-dhcp all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [23.8 kB]
Get:12 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-proxy all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [23.5 kB]
Get:13 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [21.2 kB]
Fetched 2,542 kB in 1s (2,255 kB/s)   
Preconfiguring packages ...
(Reading database ... 76605 files and directories currently installed.)
Preparing to unpack 
.../python-maas-provisioningserver_1.9.0~alpha3+bzr4363-0ubuntu1~trusty1_all.deb
 ...
Unpacking python-maas-provisioningserver 
(1.9.0~alpha3+bzr4363-0ubuntu1~trusty1) over (1.5.4+bzr2294-0ubuntu1.1) ...
Preparing to unpack 
.../maas-cluster-controller_1.9.0~alpha3+bzr4363-0ubuntu1~trusty1_all.deb ...
maas-cluster-celery stop/waiting
maas-pserv stop/waiting
Obsolete conffile /etc/maas/bootresources.yaml has been modified by you.
Saving as /etc/maas/bootresources.yaml.dpkg-bak ...
Obsolete conffile /etc/maas/maas_local_celeryconfig_cluster.py has been 
modified by you.
Saving as /etc/maas/maas_local_celeryconfig_cluster.py.dpkg-bak ...
Moving obsolete conffile /etc/init/maas-cluster-celery.conf out of the way...
Moving obsolete conffile /etc/init/maas-pserv.conf out of the way...
Moving obsolete conffile /etc/maas/maas-cluster-http.conf out of the way...
Moving obsolete conffile /etc/maas/templates/power/mscm.template out of the 
way...
Moving obsolete conffile 

[Bug 1504340] [NEW] Upgrade from 1.5 to 1.9 fails in network migration

2015-10-08 Thread John George
Public bug reported:

Attempted to upgrade Trusty from 1.5 to 1.9.
Please see the output below.

jenkins@juju-qa-maas-server-1:~$ sudo apt-get upgrade maas
[sudo] password for jenkins: 
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  avahi-daemon avahi-utils erlang-asn1 erlang-base erlang-corba erlang-crypto
  erlang-diameter erlang-edoc erlang-eldap erlang-erl-docgen erlang-eunit
  erlang-ic erlang-inets erlang-mnesia erlang-nox erlang-odbc erlang-os-mon
  erlang-parsetools erlang-percept erlang-public-key erlang-runtime-tools
  erlang-snmp erlang-ssh erlang-ssl erlang-syntax-tools erlang-tools
  erlang-webtool erlang-xmerl libavahi-core7 libdaemon0 libjs-raphael
  libnss-mdns libodbc1 libsctp1 lksctp-tools pwgen python-amqp python-amqplib
  python-anyjson python-billiard python-celery python-cl python-dateutil
  python-iscpy python-kombu python-lockfile python-mailer python-memcache
  python-oops python-oops-amqp python-oops-datedir-repo python-oops-twisted
  python-oops-wsgi python-txamqp python-txlongpoll rabbitmq-server
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  squid-deb-proxy
The following NEW packages will be installed:
  libjs-angularjs maas-proxy
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
The following packages will be upgraded:
  maas maas-cli maas-cluster-controller maas-common maas-dhcp maas-dns
  maas-region-controller maas-region-controller-min python-django-maas
  python-maas-client python-maas-provisioningserver
11 upgraded, 2 newly installed, 1 to remove and 3 not upgraded.
Need to get 2,542 kB of archives.
After this operation, 12.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main python-maas-provisioningserver all 
1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [211 kB]
Get:2 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-cluster-controller all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 
[33.0 kB]
Get:3 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-region-controller all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 
[23.0 kB]
Get:4 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-dns all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [21.4 kB]
Get:5 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-region-controller-min all 
1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [1,330 kB]
Get:6 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main python-django-maas all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [500 
kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty/universe libjs-angularjs all 
1.2.11-1 [272 kB]
Get:8 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-cli all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [34.2 kB]
Get:9 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main python-maas-client all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [26.8 
kB]
Get:10 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-common all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [21.3 kB]
Get:11 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-dhcp all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [23.8 kB]
Get:12 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas-proxy all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [23.5 kB]
Get:13 http://ppa.launchpad.net/maas-maintainers/experimental/ubuntu/ 
trusty/main maas all 1.9.0~alpha3+bzr4363-0ubuntu1~trusty1 [21.2 kB]
Fetched 2,542 kB in 1s (2,255 kB/s)   
Preconfiguring packages ...
(Reading database ... 76605 files and directories currently installed.)
Preparing to unpack 
.../python-maas-provisioningserver_1.9.0~alpha3+bzr4363-0ubuntu1~trusty1_all.deb
 ...
Unpacking python-maas-provisioningserver 
(1.9.0~alpha3+bzr4363-0ubuntu1~trusty1) over (1.5.4+bzr2294-0ubuntu1.1) ...
Preparing to unpack 
.../maas-cluster-controller_1.9.0~alpha3+bzr4363-0ubuntu1~trusty1_all.deb ...
maas-cluster-celery stop/waiting
maas-pserv stop/waiting
Obsolete conffile /etc/maas/bootresources.yaml has been modified by you.
Saving as /etc/maas/bootresources.yaml.dpkg-bak ...
Obsolete conffile /etc/maas/maas_local_celeryconfig_cluster.py has been 
modified by you.
Saving as /etc/maas/maas_local_celeryconfig_cluster.py.dpkg-bak ...
Moving obsolete conffile /etc/init/maas-cluster-celery.conf out of the way...
Moving obsolete conffile /etc/init/maas-pserv.conf out of the way...
Moving obsolete conffile /etc/maas/maas-cluster-http.conf out of the way...
Moving obsolete conffile /etc/maas/templates/power/mscm.template out of the 
way...
Moving obsolete conffile