juju-solutions / matrix

Automatic testing of big software deployments under various failure conditions
Other
8 stars 9 forks source link

Cannot "juju ssh" to machines created in a matrix test #59

Closed pengale closed 7 years ago

pengale commented 7 years ago

To reproduce:

1) Run a matrix test. 2) As the test is running, "juju switch" to the model that the test created. 3) Try to "juju ssh" to one of the machines.

Note that you get a "permission denied (publickey)" error.

Either the path to the public key is not getting set in the terminal env (unlikely, because "juju ssh" to a model that I created works), or we're not copying the juju public key onto the machines that we create in a matrix test (weird, but it is possible that the websocket api is missing the command that creates those keys).

johnsca commented 7 years ago

This seems like an issue with libjuju / the API rather than with Matrix. Can we duplicate this using just libjuju?

johnsca commented 7 years ago

Closing this in favor of juju/python-libjuju#42