Connection to template1 can block units from creating databases
Bug #1274906 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql (Juju Charms Collection) |
Fix Released
|
Undecided
|
Andreas Hasenack |
Bug Description
We ran into an issue where our charm was prevented from creating a database because the database "template1", the default template for new postgresql databases, was in use by another connection. Turns out this other connection came from the postgresql charm.
It's probably best to have the postgresql charm connect to the "postgres" database instead of template1.
Related branches
lp:~ahasenack/charms/precise/postgresql/use-postgres-instead-of-template1
- Stuart Bishop (community): Approve
-
Diff: 20 lines (+2/-2)1 file modifiedhooks/hooks.py (+2/-2)
Changed in postgresql (Juju Charms Collection): | |
assignee: | nobody → Andreas Hasenack (ahasenack) |
status: | New → In Progress |
Changed in postgresql (Juju Charms Collection): | |
status: | In Progress → Fix Released |
tags: | added: landscape |
To post a comment you must log in.