Merge lp://staging/~joetalbott/charms/precise/postgresql/ensure_credentials_after_mount into lp://staging/charms/postgresql
Proposed by
Joe Talbott
Status: | Merged |
---|---|
Merged at revision: | 102 |
Proposed branch: | lp://staging/~joetalbott/charms/precise/postgresql/ensure_credentials_after_mount |
Merge into: | lp://staging/charms/postgresql |
Diff against target: |
26 lines (+16/-0) 1 file modified
hooks/hooks.py (+16/-0) |
To merge this branch: | bzr merge lp://staging/~joetalbott/charms/precise/postgresql/ensure_credentials_after_mount |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stuart Bishop (community) | Needs Fixing | ||
charmers | Pending | ||
Review via email:
|
Commit message
Ensure client credentials are up-to-date after an external mountpoint is mounted.
Description of the change
When using the block-storage-
This patch iterates through client relations and ensures the expected users have access.
To post a comment you must log in.
Thanks for this work.
There are two minor problems with this:
1) Only the db relations are handled. db-admin relation also need to be done.
2) The passwords may have changed, since we likely don't have the plaintext around and create_user will reset them. The new passwords need to be set on the relation so the clients can react.