Public bug reported:

trying to Install MaaS on Ubuntu 16.04 LTS in Virtualbox

Error looks like

Module proxy_wstunnel already enabled
Module expires already enabled
Module rewrite already enabled
Setting up maas-dns (2.2.0+bzr6054-0ubuntu2~16.04.1) ...
Setting up postgresql (9.5+173) ...
Setting up maas-region-controller (2.2.0+bzr6054-0ubuntu2~16.04.1) ...
apache2.service is not a native service, redirecting to systemd-sysv-install
Executing /lib/systemd/systemd-sysv-install is-enabled apache2
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 
130, in ensure_connection
    self.connect()
  File "/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 
119, in connect
    self.connection = self.get_new_connection(conn_params)
  File 
"/usr/lib/python3/dist-packages/django/db/backends/postgresql_psycopg2/base.py",
 line 176, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 164, in 
connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
psycopg2.OperationalError: FATAL:  password authentication failed for user 
"maas"
FATAL:  password authentication failed for user "maas"


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/sbin/maas-region", line 65, in <module>
    main()
  File "/usr/sbin/maas-region", line 61, in main
    run()
  File "/usr/sbin/maas-region", line 49, in run
    management.execute_from_command_line()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 354, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
line 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
445, in execute
    output = self.handle(*args, **options)
  File 
"/usr/lib/python3/dist-packages/maasserver/management/commands/dbupgrade.py", 
line 368, in handle
    self._drop_all_views(database)
  File 
"/usr/lib/python3/dist-packages/maasserver/management/commands/dbupgrade.py", 
line 344, in _drop_all_views
    dbviews.drop_all_views()
  File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 685, in 
call_within_transaction
    with connected(), post_commit_hooks:
  File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 621, in 
connected
    connection.ensure_connection()
  File "/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 
130, in ensure_connection
    self.connect()
  File "/usr/lib/python3/dist-packages/django/db/utils.py", line 98, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python3/dist-packages/django/utils/six.py", line 685, in 
reraise
    raise value.with_traceback(tb)
  File "/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 
130, in ensure_connection
    self.connect()
  File "/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 
119, in connect
    self.connection = self.get_new_connection(conn_params)
  File 
"/usr/lib/python3/dist-packages/django/db/backends/postgresql_psycopg2/base.py",
 line 176, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 164, in 
connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
django.db.utils.OperationalError: FATAL:  password authentication failed for 
user "maas"
FATAL:  password authentication failed for user "maas"

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 (= 2.2.0+bzr6054-0ubuntu2~16.04.1); 
however:
  Package maas-region-controller is not configured yet.

dpkg: error processing package maas (--configure):
 dependency problems - leaving unconfigured
Setting up python3-bson-ext (3.2-1build1) ...
Setting up python3-pam (0.4.2-13.2ubuntu2) ...
Setting up python3-serial (3.0.1-1) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
                                                                                
                          Setting up python3-sqlparse (0.1.18-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 maas-region-controller
 maas
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: maas-region-controller 2.2.0+bzr6054-0ubuntu2~16.04.1
ProcVersionSignature: Ubuntu 4.4.0-83.106-generic 4.4.70
Uname: Linux 4.4.0-83-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Wed Aug 16 01:56:47 2017
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt  1.2.24
SourcePackage: maas
Title: package maas-region-controller 2.2.0+bzr6054-0ubuntu2~16.04.1 failed to 
install/upgrade: subprocess installed post-installation script returned error 
exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1711012

Title:
  package maas-region-controller 2.2.0+bzr6054-0ubuntu2~16.04.1 failed
  to install/upgrade: subprocess installed post-installation script
  returned error exit status 1

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to