app should differentiate between DBs being temporarily unavailable, and being marked as down by a human (via the /readonly interface)

Bug #1119510 reported by Tom Haddon
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical SSO provider
Invalid
High
Łukasz Czyżykowski

Bug Description

Currently if the app is unable to connect to a DB it creates a file marking it as down. This is the same file that's created if an admin marks the backend as down in the /readonly UI. What this means is, the app won't try to reconnect to this DB until that file is removed. For temporary DB issues, the app should try to reconnect, but when an admin marks a DB as down, it shouldn't retry until it's been updated in the /readonly UI.

Tom Haddon (mthaddon)
tags: added: canonical-webops-as
Julien Funk (jaboing)
tags: added: u1-notrack
Revision history for this message
Tom Haddon (mthaddon) wrote :
Haw Loeung (hloeung)
Changed in canonical-identity-provider:
status: New → Confirmed
Martin Albisetti (beuno)
Changed in canonical-identity-provider:
importance: Undecided → High
assignee: nobody → Łukasz Czyżykowski (lukasz-czyzykowski)
Revision history for this message
Tom Haddon (mthaddon) wrote :

We were bitten by this again (on staging) recently per RT#62402

Revision history for this message
Ricardo Kirkner (ricardokirkner) wrote :

Failover mode was removed from SSO, so this bug is no longer valid.

Changed in canonical-identity-provider:
status: Confirmed → Invalid
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.