r139 of the postgresql charm doesn't work with the storage charm

Bug #1534606 reported by Björn Tillenius
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
postgresql (Juju Charms Collection)
New
Undecided
Unassigned

Bug Description

I tried to use the block-storage-broker and storage charms to provide persistent storage for postgresql. After relating block-storage-broker -> storage and storage -> postgresql, I still don't get persistent storage. A volume is attached, but it's mounted under /mnt, not /srv/data.

I debugged using debug-hooks, and for some reason "mountpoint" doesn't get set in the relation (even though handle_storage_relation() does get called and tries to set it). If I manually do 'relation-set mountpoint=/srv/data" after the hook has run, the volume does the mounted and data migrated. It still fails with a permission error, but maybe that's debug-hooks related.

Revision history for this message
Björn Tillenius (bjornt) wrote :

FWIW, I'm not sure whether it matters, but my tests included two postgresql units.

tags: added: kanban-cross-team
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.