juju / plugins

Basic collection of the first few plugins for Juju
28 stars 29 forks source link

juju dhx does not work when I have no configuration file #45

Closed mbruzek closed 9 years ago

mbruzek commented 9 years ago

I am trying to use the juju-dhx plugin and I encountered a reproducable error. When I have no configuration file the juju dhx command returns the error:

error: no ssh key id specified ERROR subprocess encountered error code 2

Adding a configuration file resolves this problem. Please handle the case where no configuration file exists.

johnsca commented 9 years ago

Specifically, it's calling (the API behind) juju authorized-keys import with an empty list, which fails.