Comment 4 for bug 1956975

Revision history for this message
Heather Lanigan (hmlanigan) wrote (last edit ): Re: Agent lost

This error:
2021-11-18 23:40:54 ERROR juju.worker.apicaller connect.go:204 Failed to connect to controller: invalid entity name or password (unauthorized access)

Triggered a worker.ErrTerminateAgent, which didn't do what it's supposed to because the agent wasn't running. Stop and Remove agent are done as one...

I can reproduce with a wrench in the apiserver authorization/login code.

How to get out of this state? What is the root cause?