corrupt macaroon

Bug #1826478 reported by james beedy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Low
Unassigned

Bug Description

I'm experiencing a strange problem with my juju client .... `juju controllers` returns, but just about any other command returns "ERROR cannot load cookies: unexpected EOF".

Looking back at my terminal history I had displayed the ~/.local/share/juju/cookies/<controller-name>.json file, here is a pastebin of what was in the macaroons file https://paste.ubuntu.com/p/C4mjKbycFR/.

Blowing the file ~/local/share/juju/cookies/<controller-name>.json away and reauthing to the controller seemed to regenerate the file (which now looks to have a valid macaroon) and now my client is working again.

james beedy (jamesbeedy)
description: updated
description: updated
Revision history for this message
Richard Harding (rharding) wrote :

We can definitely provide a better error message with the hint on how to possibly fix it. Thanks.

Changed in juju:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.

Changed in juju:
importance: Medium → Low
tags: added: expirebugs-bot
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.