Unable to re-install maas after truncating/flushing database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
Confirmed
|
Medium
|
Andres Rodriguez |
Bug Description
Hi,
I'm having difficulty with my MAAS set up 0.1+bzr415+
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+
* Stopping web server apache2 [ OK ]
Syncing...
Traceback (most recent call last):
File "/usr/bin/
management.
File "/usr/lib/
utility.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
output = self.handle(*args, **options)
File "/usr/lib/
return self.handle_
File "/usr/lib/
syncdb.
File "/usr/lib/
output = self.handle(*args, **options)
File "/usr/lib/
return self.handle_
File "/usr/lib/
cursor = connection.cursor()
File "/usr/lib/
cursor = util.CursorWrap
File "/usr/lib/
self.connection = Database.
File "/usr/lib/
connection_
psycopg2.
FATAL: password authentication failed for user "maas"
My install was quite basic - just following the steps verbatim from wiki.ubuntu.
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
Changed in maas (Ubuntu): | |
assignee: | nobody → Andres Rodriguez (andreserl) |
Changed in maas (Ubuntu): | |
importance: | Undecided → Medium |
Changed in maas (Ubuntu): | |
status: | New → Confirmed |
Need to recreate the postgresql user manually with the info in maas_local_ settings. py before re-install.
/etc/maas/