Merge lp:~wgrant/charms/trusty/turnip/storage-really into lp:~canonical-launchpad-branches/charms/trusty/turnip/devel
Proposed by
William Grant
Status: | Merged |
---|---|
Merged at revision: | 54 |
Proposed branch: | lp:~wgrant/charms/trusty/turnip/storage-really |
Merge into: | lp:~canonical-launchpad-branches/charms/trusty/turnip/devel |
Diff against target: |
92 lines (+28/-18) 4 files modified
config.yaml (+7/-4) hooks/actions.py (+7/-1) hooks/services.py (+13/-3) hooks/turnip_helpers.py (+1/-10) |
To merge this branch: | bzr merge lp:~wgrant/charms/trusty/turnip/storage-really |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email:
|
Commit message
Rework storage support: the storage_external config option now requests a volume and waits until the volume is mounted.
Description of the change
Redesign storage subordinate support, ignoring the services framework even harder.
Previously we'd request a volume (setting the relation's mountpoint value) after service startup, and not wait until it was mounted. Now, instead, if the storage_external option is set we emit the request and wait until it's mounted (ie. the mountpoint value is set from the other end). If the option is not set, we assume local storage and ignore the data relation entirely.
To post a comment you must log in.