Comment 16 for bug 2074017

Revision history for this message
Alex Lutay (taurus) wrote : Re: Postgresql charm fails to initialize (rev 429)_

As traced by Anna Savchenko and Jeff Hillman in Matrix:

https://matrix.to/#/!BukWfnyOTgQSKAxdtT:ubuntu.com/$PZW8sileim3sNFg7q1-lycwKWgWK3pYsOIkCArGWqpQ?via=ubuntu.com&via=matrix.org&via=laquadrature.net

The initially deployed model was destroyed with --force which left snap mounts in place and all the following snap installations failed.

The similar story has happened with MAAS Anvil project: https://github.com/canonical/maas-anvil/issues/9#issue-2322906346

TL;DR: clean SNAP mount points IF you --force model/app removal.