"juju status" says "Invalid SSH key"

Created by Julian Edwards
Keywords:
juju status Invalid SSH key
Last updated by:
Julian Edwards

When running "juju status" you may encounter an error that says "Invalid SSH key"

The most likely source of this error is that the nodes that juju started up have not finished booting and installing yet. This can happen when the clock on the node is too far out of sync for the OAuth verification to work, which results in the node timing out when trying to download from the metadata service and eventually continues booting to a login prompt without running the Juju preseed.

Try checking the clock on the node and reset it if it's very different from the MAAS server's clock.

If your problem is still not solved, please ask a question attaching these log files:
/var/log/cloud-init-output.log
/var/log/cloud-init.log
/var/log/juju