rabbitmq error and traceback when re-installing maas
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Undecided
|
Unassigned |
Bug Description
Seeing problems re-installing maas during testing of cloud-installer:
1. install maas
2. uninstall maas (as part of cloud-uninstall script here: https:/
maas-relevant parts of that script:
juju destroy-environment --yes --force maas
rm -r ~/.maascli.db
apt_purge '.*maas.*' 'bind9'
sudo -u postgres psql -c 'drop database maasdb;'
3. re-install maas as part of the dependencies for the cloud installer
=> apt hangs - the following excerpt shows errors printed to the screen before it hangs.
Setting up rabbitmq-server (3.2.4-1) ...
* Starting message broker rabbitmq-server [ OK ]
Setting up maas-region-
* Stopping web server apache2 *
* Restarting PostgreSQL 9.3 database server [ OK ]
Considering dependency proxy for proxy_http:
Module proxy already enabled
Module proxy_http already enabled
Module expires already enabled
Module wsgi already enabled
* Restarting message broker rabbitmq-server [ OK ]
Error: {'EXIT',
Changing password for user "maas_longpoll" ...
...done.
Changing password for user "maas_workers" ...
...done.
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.
File "/usr/lib/
self.connect()
File "/usr/lib/
six.
File "/usr/lib/
self.connect()
File "/usr/lib/
self.connection = self.get_
File "/usr/lib/
return Database.
File "/usr/lib/
connection_
django.
FATAL: password authentication failed for user "maas"
Oops, sorry about the dupe. I will make a note to check the package bugs next time.