Public bug reported:

Hi,
I'm having difficulty with my MAAS set up 0.1+bzr415+dfsg-0ubuntu2 on 12.04 B2).
I wanted to flush/purge my settings and start again - but now I've lost the 
ability to re-install the application - I get a --configure error:

Setting up maas (0.1+bzr415+dfsg-0ubuntu2) ...
 * Stopping web server apache2                                                  
                                                                                
          [ OK ]
Syncing...
Traceback (most recent call last):
  File "/usr/bin/django-admin", line 5, in <module>
    management.execute_from_command_line()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", 
line 429, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", 
line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 
191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 
220, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 
351, in handle
    return self.handle_noargs(**options)
  File "/usr/lib/python2.7/dist-packages/south/management/commands/syncdb.py", 
line 90, in handle_noargs
    syncdb.Command().execute(**options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 
220, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 
351, in handle
    return self.handle_noargs(**options)
  File 
"/usr/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", 
line 56, in handle_noargs
    cursor = connection.cursor()
  File "/usr/lib/python2.7/dist-packages/django/db/backends/__init__.py", line 
252, in cursor
    cursor = util.CursorWrapper(self._cursor(), self)
  File 
"/usr/lib/python2.7/dist-packages/django/db/backends/postgresql_psycopg2/base.py",
 line 140, in _cursor
    self.connection = Database.connect(**conn_params)
  File "/usr/lib/python2.7/dist-packages/psycopg2/__init__.py", line 179, in 
connect
    connection_factory=connection_factory, async=async)
psycopg2.OperationalError: FATAL:  password authentication failed for user 
"maas"
FATAL:  password authentication failed for user "maas"

My install was quite basic - just following the steps verbatim from
wiki.ubuntu.com/ServerTeam/MAAS

I wanted to modify a node and was unable to delete this (I've raised a
bug on this [978706]) but as it was a lab set up I thought I'd try and
purge the database:

maas flush

This prompted me to delete the database, then I thought I could recreate
this using the syncdb command.

I'm now at the stage where I can't re-install maas.

Cheers,

Kev

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

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

Title:
  Unable to re-install maas after truncating/flushing database

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

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

Reply via email to