Uninstalling MAAS doesn't remove the postgresql DB

Bug #1416026 reported by Raphaël Badin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas (Ubuntu)
Expired
Low
Unassigned

Bug Description

I just removed MAAS 1.7 from my system (apt-get purge maas maas...) and the maasdb hasn't been removed although I answered 'yes' to the two questions that I got from dpkg during the installation process (the last one being something like : "Do you want the MAAS' DB to be removed")

Revision history for this message
Andres Rodriguez (andreserl) wrote :

When purging a package, you will be asked the following two questions:

* Deconfigure database for maas-region-controller with dbconfig-common?
You have to answer Yes

* Do you want to purge the database for maas-region-controller?
You have to answer Yes.

After which, you will see the following:

dbconfig-common: dumping pgsql database maasdb to /var/tmp/maas-region-controller.maasdb.2015-01-29-12.46.pgsql.u0yCGb.
dbconfig-common: dropping pgsql database maasdb.
dropping database maasdb: success.
verifying database maasdb was dropped: success.
dbconfig-common: revoking privileges for user maas on maasdb.
revoking access to database maasdb from maas@localhost: success.

After this point, I reinstalled MAAS without any issues yields into a new MAAS DB.

Changed in maas (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Raphaël Badin (rvb) wrote :

Hum, I tested again this morning (and answered yes to the two uninstall questions, as I did before) and this time the DB got removed okay. Maybe it's because the first time, I installed the packages differently (with dpkg -i *.deb).

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for maas (Ubuntu) because there has been no activity for 60 days.]

Changed in maas (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.