deploying a new service with multiple units sometimes fails
Bug #1179847 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgresql (Juju Charms Collection) |
Fix Released
|
Undecided
|
Stuart Bishop |
Bug Description
A command like 'juju deploy -n 4 postgresql' will often leave relations in error states. There appears to be a race condition if the hot standby's hooks run before the master is fully setup.
Work around is to deploy a single unit service, then add-unit the remaining units.
Related branches
lp:~stub/charms/precise/postgresql/bug-1179847
- Tom Haddon: Approve
-
Diff: 17 lines (+6/-1)1 file modifiedhooks/hooks.py (+6/-1)
Changed in postgresql (Juju Charms Collection): | |
status: | New → In Progress |
assignee: | nobody → Stuart Bishop (stub) |
Changed in postgresql (Juju Charms Collection): | |
status: | In Progress → Fix Released |
To post a comment you must log in.
The changed hook was attempting to grant access to relations that had not yet been setup, raising key errors.