Common Juju errors and their solutions
These address some common errors I've run into and their workarounds.
ERROR juju.worker.dependency "leadership-tracker" manifold worker returned unexpected error: leadership failure: lease manager stopped
Juju 2.0 beta17
Several applications will be in a blocked state with their agent status listed as 'failed'.
Login to controller
$ juju switch controller $ juju ssh 0
$ ps -ef |grep jujud $ kill <pid>
Make sure jujud is restarted
$ ps -ef |grep jujud
Switch back to your model where services are deployed
$ juju switch default
Verify deployment is unwedged
$ juju status