Merge lp://staging/~jseutter/charms/precise/storage/storage-with-broker-provider into lp://staging/~dpb/charms/precise/storage/trunk
Status: | Merged |
---|---|
Merge reported by: | David Britton |
Merged at revision: | not available |
Proposed branch: | lp://staging/~jseutter/charms/precise/storage/storage-with-broker-provider |
Merge into: | lp://staging/~dpb/charms/precise/storage/trunk |
Diff against target: |
741 lines (+324/-106) 10 files modified
Makefile (+3/-0) config.yaml (+12/-2) hooks/common_util.py (+89/-15) hooks/storage-provider.d/block-storage-broker/block-storage-relation-broken (+6/-0) hooks/storage-provider.d/block-storage-broker/block-storage-relation-changed (+50/-0) hooks/storage-provider.d/nfs/data-relation-changed (+0/-7) hooks/storage-provider.d/nfs/data-relation-departed (+1/-1) hooks/test_common_util.py (+158/-81) hooks/testing.py (+3/-0) metadata.yaml (+2/-0) |
To merge this branch: | bzr merge lp://staging/~jseutter/charms/precise/storage/storage-with-broker-provider |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
David Britton | Approve | ||
Chad Smith (community) | Approve | ||
Review via email: mp+205283@code.staging.launchpad.net |
Description of the change
The storage charm now relates to the block-storage-
The postgresql charm is the only one that currently works with the storage subordinate charm. To test, you could use the following juju-deployer config:
#######
common:
services:
branch: lp:~chad.smith/charms/precise/block-storage-broker/trunk
storage:
branch: lp:~jseutter/charms/precise/storage/storage-with-broker-provider/
postgresql:
branch: lp:~jseutter/charms/precise/postgresql/delegate-blockstorage-to-storage-subordinate-patched
doit:
inherits: common
series: precise
relations:
- [postgresql, storage]
- [storage, block-storage-
#######
then run something like:
juju-deployer -c storage-
To verify, ssh to the postgresql/0 unit. You should see a symlink in postgresql that points to the volume that the storage charm mounted:
root@juju-
lrwxrwxrwx 1 root root 40 Feb 7 04:01 /var/lib/
I think you forgot the 'storage- provider. d/blockstoragep rovider' dir?