Merge lp:~stub/charms/trusty/postgresql/fix-bsb into lp:charms/trusty/postgresql
Proposed by
Stuart Bishop
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Merged at revision: | 141 | ||||||||
Proposed branch: | lp:~stub/charms/trusty/postgresql/fix-bsb | ||||||||
Merge into: | lp:charms/trusty/postgresql | ||||||||
Diff against target: |
113 lines (+49/-5) 2 files modified
hooks/storage.py (+26/-5) tests/test_integration.py (+23/-0) |
||||||||
To merge this branch: | bzr merge lp:~stub/charms/trusty/postgresql/fix-bsb | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Review Queue (community) | automated testing | Approve | |
Björn Tillenius (community) | Approve | ||
Chris Glass | Pending | ||
Review via email: mp+282422@code.launchpad.net |
Description of the change
Fix the regressions in block storage broker external mounts.
Per Bug #1533502 and Bug #1533503, the request for disk was not being sent to the storage subordinate, and if it was, it would not do anything if an existing database was already in place. With this fixed, it again becomes possible to migrate PostgreSQL databases into fresh environments by remounting them on the new unit.
To post a comment you must log in.
I can't give an official +1, but the code looks good to me, and I've confirmed that it works with one postgresql unit having persistent storage. I haven't gotten it to work when two postgresql units are deployed, but it doesn't look like the postgresql charm is the blame for that.