Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

no matter what i do i get

ERROR error parsing environment "maas": no public ssh keys found

My environments.yaml file. (authorized key added as per another ask, ubuntu help example)

juju: environments (dimitern edit: what is this line for?)

        type: maas
        maas-server: ''
        maas-oauth: ' WVNY2RCzVUKSpur3xW:pEpz9QUcLmzV5Kqq3G:mLyWusVjbSAMPLE'
        admin-secret: 'SAMPLE'
        bootstrap-addresses-delay: 10
        bootstrap-retry-delay: 5
        bootstrap-timeout: 3600
        authorized-keys-path: ~/.ssh/
share|improve this question

You don't need to specify authorized-keys-path as juju will automatically discover your ~/.ssh/* keys and try to use them.

See juju help authorized-keys for more information how to manage these in an environment.

Also you don't need to specify admin-secret, it will be auto-generated when bootstrapping. The bootstrap-addresses-delay and bootstrap-retry-delay rarely need to be overridden in environments.yaml at all (and you're using the defaults anyway, so I'd skip them), just bootstrap-timeout.

share|improve this answer
nothing is happening still getting the same error – JUAN CABALLERO May 24 '14 at 23:00
What version of Juju are you using (run juju version) ? You might need to upgrade to a more recent version, as lots of bugs were fixed between 16 May and now. – dimitern Jul 27 '14 at 15:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.