MAAS installation from Ubuntu Server ISO failing after 08 Aug 2017

Bug #1711370 reported by TripleO
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
New
Undecided
Unassigned

Bug Description

Installing MAAS from Ubuntu Server ISO has been failing since earlier part of this month.
This affects images of 16.04.01, 16.04.02, and 16.04.03 (Being the only images I tested).

1)
If apt mirror is disabled (Expert Mode), at install time, when using 16.04.01 and 16.04.02, installation is successful. But fails if enabled.
16.04.03 fails regardless of whether apt mirror is enabled or disabled.

2)
Installation fails with following errors during maas dbconfig:

Aug 12 10:24:48 in-target: /usr/sbin/policy-rc.d returned 101, not running 'restart postgresql'
Aug 12 10:24:48 in-target: dbconfig-common: writing config to /etc/dbconfig-common/maas-region-controller.conf
Aug 12 10:24:48 in-target: Replacing config file /etc/dbconfig-common/maas-region-controller.conf with new version
Aug 12 11:24:48 su[28083]: Successful su for postgres by root
Aug 12 11:24:48 su[28083]: + ??? root:postgres
Aug 12 11:24:48 su[28083]: pam_unix(su:session): session opened for user postgres by (uid=0)
Aug 12 11:24:48 su[28083]: pam_systemd(su:session): Failed to connect to system bus: No such file or directory
Aug 12 11:24:48 su[28083]: pam_unix(su:session): session closed for user postgres
Aug 12 10:24:48 in-target: unable to connect to postgresql server.
Aug 12 10:24:48 in-target: error encountered creating user:
Aug 12 10:24:48 in-target: psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Aug 12 10:24:56 in-target: dbconfig-common: maas-region-controller configure: aborted.
Aug 12 10:24:56 in-target: dbconfig-common: flushing administrative password
Aug 12 10:24:56 in-target: dpkg: error processing package maas-region-controller (--configure):
Aug 12 10:24:56 in-target: subprocess installed post-installation script returned error exit status 1
Aug 12 10:24:56 in-target: dpkg: dependency problems prevent configuration of maas:
Aug 12 10:24:56 in-target: maas depends on maas-region-controller (= 2.2.0+bzr6054-0ubuntu2~16.04.1); however:
Aug 12 10:24:56 in-target: Package maas-region-controller is not configured yet.

A new update in the trunk seems to setting policy-rc.d to exit(101), preventing postgresdb from starting up and be available for MAAS configuration.

I have tried installing MAAS from Ubuntu Server ISO on different hardware (including Dell PowerEdge and HP Proliant), and the result is the same.

Kindly help fix this major problem.

Regards,

Revision history for this message
TripleO (ooyekanmi) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.