roles relation attribute breaks with replication
Bug #1247767 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql (Juju Charms Collection) |
Fix Released
|
Critical
|
Stuart Bishop |
Bug Description
A client can set the 'roles' attribute on the relation to have the PostgreSQL charm grant roles to the generated user.
This feature is not documented.
This feature is not tested.
This feature probably doesn't work with a replicated PostgreSQL service, as slave units will attempt to grant roles and fail.
Related branches
lp:~stub/charms/precise/postgresql/pg93
- Marco Ceppi (community): Approve
-
Diff: 1315 lines (+538/-184)19 files modified.bzrignore (+3/-0)
Makefile (+20/-3)
README.md (+6/-3)
config.yaml (+38/-15)
hooks/charmhelpers/fetch/__init__.py (+2/-2)
hooks/hooks.py (+283/-132)
lib/ACCC4CF8.asc (+45/-0)
templates/pg_hba.conf.tmpl (+1/-1)
templates/pg_ident.conf.tmpl (+1/-0)
templates/postgresql.conf.tmpl (+5/-0)
templates/recovery.conf.tmpl (+1/-1)
test.py (+91/-21)
testing/jujufixture.py (+17/-5)
tests/00_setup.test (+12/-0)
tests/01_lint.test (+3/-0)
tests/02_unit_test.test (+1/-1)
tests/91_integration_test_91.test (+3/-0)
tests/92_integration_test_92.test (+3/-0)
tests/93_integration_test_93.test (+3/-0)
Changed in postgresql (Juju Charms Collection): | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Stuart Bishop (stub) |
Changed in postgresql (Juju Charms Collection): | |
status: | In Progress → Fix Released |
To post a comment you must log in.