Uninstalling MAAS doesn't remove the postgresql DB
Bug #1416026 reported by
Raphaël Badin
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")
To post a comment you must log in.
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.