You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my CI/CD pipeline we use juju to provision machines by ssh-ing into the juju client machine. Machine in which juju controller was bootstrapped. This controller is connected to MaaS with Oauth1 and a API key. The example I want is a proper way to connect to that controller using the python juju client from a different machine (jenkins enviorment). I'm able to connect to the controller based on its endpoint, password and ca-cert found on machine on which the juju CLI is. But as soon as I want to add a model I get an error of trying to find the juju_id_rsa.pub key in ~/.local/share/juju/ssh/ . Since I'm on a machine on which the juju CLI wasn't ran.
I wonder if this is at all a possibility or if I had setup the controller in the proper way. Thank you for consideration!
Description
In my CI/CD pipeline we use juju to provision machines by ssh-ing into the juju client machine. Machine in which juju controller was bootstrapped. This controller is connected to MaaS with Oauth1 and a API key. The example I want is a proper way to connect to that controller using the python juju client from a different machine (jenkins enviorment). I'm able to connect to the controller based on its endpoint, password and ca-cert found on machine on which the juju CLI is. But as soon as I want to add a model I get an error of trying to find the juju_id_rsa.pub key in ~/.local/share/juju/ssh/ . Since I'm on a machine on which the juju CLI wasn't ran.
I wonder if this is at all a possibility or if I had setup the controller in the proper way. Thank you for consideration!
Urgency
It would save from a weird workaround
Code I'd Like to Run