Can’t bootstrap with Juju due to " error back from server: 401 UNAUTHORIZED"

May 5, 2014 in answer

0 votes, 0.00 avg. rating (0% score)

ANSWER:

401 is essentially letting you know you’re credentials are not clearing at the MAAS level. Make sure your SSH key from both machines are enlisted in MAAS, and that you removed ~/.juju/environments/maas.jenv from your machine as it caches information.

Marco Ceppi from http://askubuntu.com/questions/461161