[Bug 1274448] Re: MAAS packages do not respect debconf seeded options

Dustin Kirkland  dustin.kirkland at gmail.com
Fri Jan 31 10:20:22 UTC 2014


$ echo "maas-cluster-controller maas-cluster-controller/maas-url        string  http://10.0.0.1/MAAS" | sudo debconf-set-selections
$ echo "maas-region-controller-min      maas/default-maas-url   string  10.0.0.1" | sudo debconf-set-selections

$ sudo dpkg -i *deb
Selecting previously unselected package maas.
(Reading database ... 71202 files and directories currently installed.)
Preparing to unpack maas_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking maas (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package maas-cli.
Preparing to unpack maas-cli_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking maas-cli (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package maas-cluster-controller.
Preparing to unpack maas-cluster-controller_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking maas-cluster-controller (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package maas-common.
Preparing to unpack maas-common_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking maas-common (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package maas-dhcp.
Preparing to unpack maas-dhcp_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking maas-dhcp (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package maas-dns.
Preparing to unpack maas-dns_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking maas-dns (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package maas-region-controller.
Preparing to unpack maas-region-controller_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking maas-region-controller (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package maas-region-controller-min.
Preparing to unpack maas-region-controller-min_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking maas-region-controller-min (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package python-django-maas.
Preparing to unpack python-django-maas_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking python-django-maas (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package python-maas-client.
Preparing to unpack python-maas-client_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking python-maas-client (1.4+bzr1853+dfsg-0ubuntu1) ...
Selecting previously unselected package python-maas-provisioningserver.
Preparing to unpack python-maas-provisioningserver_1.4+bzr1853+dfsg-0ubuntu1_all.deb ...
Unpacking python-maas-provisioningserver (1.4+bzr1853+dfsg-0ubuntu1) ...
Setting up maas-common (1.4+bzr1853+dfsg-0ubuntu1) ...
Setting up maas-dhcp (1.4+bzr1853+dfsg-0ubuntu1) ...
maas-dhcp-server stop/pre-start, process 21996
Setting up python-maas-client (1.4+bzr1853+dfsg-0ubuntu1) ...
Setting up python-maas-provisioningserver (1.4+bzr1853+dfsg-0ubuntu1) ...
Setting up maas-cli (1.4+bzr1853+dfsg-0ubuntu1) ...
Setting up python-django-maas (1.4+bzr1853+dfsg-0ubuntu1) ...
Setting up maas-region-controller-min (1.4+bzr1853+dfsg-0ubuntu1) ...
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Module expires already enabled
Module wsgi already enabled
sed: -e expression #1, char 77: unterminated `s' command
dpkg: error processing package maas-region-controller-min (--install):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of maas-dns:
 maas-dns depends on maas-region-controller-min (= 1.4+bzr1853+dfsg-0ubuntu1); however:
  Package maas-region-controller-min is not configured yet.

dpkg: error processing package maas-dns (--install):
 dependency problems - leaving unconfigured
Setting up python-maas-provisioningserver (1.4+bzr1853+dfsg-0ubuntu1) ...
Setting up maas-cli (1.4+bzr1853+dfsg-0ubuntu1) ...
Setting up python-django-maas (1.4+bzr1853+dfsg-0ubuntu1) ...
Setting up maas-region-controller-min (1.4+bzr1853+dfsg-0ubuntu1) ...
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Module expires already enabled
Module wsgi already enabled
sed: -e expression #1, char 77: unterminated `s' command
dpkg: error processing package maas-region-controller-min (--install):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of maas-dns:
 maas-dns depends on maas-region-controller-min (= 1.4+bzr1853+dfsg-0ubuntu1); however:
  Package maas-region-controller-min is not configured yet.

dpkg: error processing package maas-dns (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of maas-region-controller:
 maas-region-controller depends on maas-region-controller-min (= 1.4+bzr1853+dfsg-0ubuntu1); however:
  Package maas-region-controller-min is not configured yet.

dpkg: error processing package maas-region-controller (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of maas:
 maas depends on maas-region-controller; however:
  Package maas-region-controller is not configured yet.

dpkg: error processing package maas (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Setting up maas-cluster-controller (1.4+bzr1853+dfsg-0ubuntu1) ...
 * Restarting web server apache2
   ...done.
maas-pserv start/running, process 22391
maas-cluster-celery start/running, process 22427
Processing triggers for man-db (2.6.6-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 maas-region-controller-min
 maas-dns
 maas-region-controller
 maas

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

Title:
  MAAS packages do not respect debconf seeded options

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



More information about the Ubuntu-server-bugs mailing list