← Back to team overview

canonical-hw-cert team mailing list archive

Re: [Merge] ~rodsmith/maas-cert-server:update-maniacs-setup-for-2204 into maas-cert-server:master

 

Looks like it halts after created the MAAS user, as its not logging in.
(testing on 22.04)

* A MAAS administrative account with a name of z3r0 is being
* created.
*
* Please enter a password for this account:
* Please re-enter the password for verification:
* Setting up the z3r0 MAAS account using the supplied password
Failed to perfom migrations:ations
Traceback (most recent call last):
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 217, in ensure_connection
    self.connect()
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 195, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/snap/maas/23947/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 126, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: fe_sendauth: no password supplied


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

Traceback (most recent call last):
  File "/snap/maas/23947/bin/maas-region", line 8, in <module>
    sys.exit(run())
  File "/snap/maas/23947/lib/python3.8/site-packages/maasserver/region_script.py", line 77, in run
    run_django(is_snap, is_devenv)
  File "/snap/maas/23947/lib/python3.8/site-packages/maasserver/region_script.py", line 66, in run_django
    management.execute_from_command_line()
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/core/management/base.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/core/management/base.py", line 364, in execute
    output = self.handle(*args, **options)
  File "/snap/maas/23947/lib/python3.8/site-packages/maasserver/management/commands/dbupgrade.py", line 107, in handle
    conn.ensure_connection()
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 217, in ensure_connection
    self.connect()
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 217, in ensure_connection
    self.connect()
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 195, in connect
    self.connection = self.get_new_connection(conn_params)
  File "/snap/maas/23947/usr/lib/python3/dist-packages/django/db/backends/postgresql/base.py", line 178, in get_new_connection
    connection = Database.connect(**conn_params)
  File "/snap/maas/23947/usr/lib/python3/dist-packages/psycopg2/__init__.py", line 126, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: fe_sendauth: no password supplied
-- 
https://code.launchpad.net/~rodsmith/maas-cert-server/+git/maas-cert-server/+merge/431157
Your team hardware-certification-users is subscribed to branch maas-cert-server:master.



References