new unit installation fails when last unit removed

Bug #1959133 reported by Erik Lönroth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PostgreSQL Charm
New
Undecided
Unassigned

Bug Description

I do:

$ juju deploy postgresql

I then mess up the server, by performing some configs.

$ juju config postgresql wal_e_storage_uri="file://localhost/var/backups/pg"

So I need to remove the unit.

$ juju remove-unit postgresql/0

The application is still there, so I want to install a new unit.

$ juju add-unit postgresql

..... Now, the installation fails by getting stucp in maintenance. See attached screenshot.

Consequence: I cant restore my database without removing the application and thereby also losing my configs etc.

I don't know if this is the expected and desired behaviour. Should I need to remove the application as whole in this case to be able to re-deploy a new master?

Revision history for this message
Erik Lönroth (erik-lonroth) wrote :
summary: - new unit Installation fails when last unit removed
+ new unit installation fails when last unit removed
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.