Re-install maas ?

Asked by Kevin Jackson

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

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu maas Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug. Precise is not ready and not stable.

Revision history for this message
gadLinux (gad-aguilardelgado) said :
#2

I have this problem too

Revision history for this message
Rahul kumar (rahulbca18) said :
#3

I am also facing same problem Have any Help ?????

Can you help with this problem?

Provide an answer of your own, or ask Kevin Jackson for more information if necessary.

To post a message you must log in.