login fails forever if identity public key cannot be retrieved

Bug #1713048 reported by Roger Peppe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Roger Peppe

Bug Description

The apiserver.newExternalMacaroonAuth function retrieves the public key of the identity server if one is not already set. If that isn't available for whatever reason, it will never try again - the same error will always be returned and the machine-0 agent will need to be restarted.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

It sounds like one of the area that may benefit from re-try logic.
However, if re-tries failed, we'd still have no public key for Identity Server and machine agent will need to be re-started...

It may be helpful to identify some failures that are worth a re-try, i.e. retries might succeed.

tags: added: usability
Changed in juju:
status: New → Triaged
importance: Undecided → Low
importance: Low → Medium
tags: added: retry
Roger Peppe (rogpeppe)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Roger Peppe (rogpeppe)
Roger Peppe (rogpeppe)
Changed in juju:
status: In Progress → Fix Committed
Harry Pidcock (hpidcock)
Changed in juju:
status: Fix Committed → 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.