deploying a new service with multiple units sometimes fails

Bug #1179847 reported by Stuart Bishop
6
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

Revision history for this message
Stuart Bishop (stub) wrote :

The changed hook was attempting to grant access to relations that had not yet been setup, raising key errors.

Stuart Bishop (stub)
Changed in postgresql (Juju Charms Collection):
status: New → In Progress
assignee: nobody → Stuart Bishop (stub)
Stuart Bishop (stub)
Changed in postgresql (Juju Charms Collection):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.