Added running of charm-pre-install hooks
Need glob to execute preinstall hooks
[gnuoy,r=mthaddon] Added running of charm-pre-install hooks
Merge upstream mongo charm RT#66519
On bac's advice, kept the union of all text in the conflict.
Thanks to bac for doing the testing on this.
Add block-storage and persistant-storage interface and relation to metadata
We don't need the persistant-storage interface
Add data-relation-changed hook symlink
Add dummy data-relation-changed hook
Add data_relation_joined hook to hooks.py
Add data departed hook
Add symlinking logic around storage mountpoints via data relation
Remove extra symlink for mountpoint, won't work as expected when using realpath
Use existing volume handling logic in charm to handle mounts from storage subordinate
Don't try to get the mointpoint from config
Add data-relation-joined symlink
Generate data relation id from unit name
Ensure data- hooks are definitely run
Add relation_ids helper and use it to get data relation_id for volumes
Fix silly UnboundLocalError
Use mountpoint relation config and define default path via mongodb charm config