[Bug 1317958] Re: Right after installation, /var/log/apache2/error.log contains a stacktrace "FATAL: password authentication failed for user "maas"
Gavin Panella
gavin.panella at canonical.com
Mon Oct 13 15:46:10 UTC 2014
Observed again today. It results in 100s of lines of errors and
stack-traces in Apache's error.log. It would be good to fix this in
packaging, but we can also help in MAAS itself, by retrying in
start_up.py every second or two, and handling the exception ourselves.
A recent example of the error, running on Trusty, using packages from
trunk r3243:
mod_wsgi (pid=28482): Target WSGI script '/usr/share/maas/wsgi.py' cannot be loaded as Python module.
mod_wsgi (pid=28482): Exception occurred processing WSGI script '/usr/share/maas/wsgi.py'.
Traceback (most recent call last):
File "/usr/share/maas/wsgi.py", line 32, in <module>
start_up()
File "/usr/lib/python2.7/dist-packages/maasserver/start_up.py", line 53, in start_up
security.get_shared_secret()
File "/usr/lib/python2.7/dist-packages/provisioningserver/utils/twisted.py", line 108, in wrapper
return func_in_reactor(*args, **kwargs).wait(timeout)
File "/usr/lib/python2.7/dist-packages/crochet/_eventloop.py", line 219, in wait
result.raiseException()
File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 191, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
return func(*args,**kw)
File "/usr/lib/python2.7/dist-packages/provisioningserver/utils/twisted.py", line 143, in wrapper
return func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/maasserver/utils/async.py", line 152, in call_within_transaction
with transaction.atomic():
File "/usr/lib/python2.7/dist-packages/django/db/transaction.py", line 237, in __enter__
if not connection.get_autocommit():
File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 324, in get_autocommit
self.ensure_connection()
File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 124, in ensure_connection
self.connect()
File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 99, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 124, in ensure_connection
self.connect()
File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 112, in connect
self.connection = self.get_new_connection(conn_params)
File "/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py", line 116, in get_new_connection
return Database.connect(**conn_params)
File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in connect
connection_factory=connection_factory, async=async)
OperationalError: FATAL: password authentication failed for user "maas"
FATAL: password authentication failed for user "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/1317958
Title:
Right after installation, /var/log/apache2/error.log contains a
stacktrace "FATAL: password authentication failed for user "maas"
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1317958/+subscriptions
More information about the Ubuntu-server-bugs
mailing list