Skip to content

Addition of a controller endpoint connect example #1261

@Kimovac

Description

@Kimovac

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

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions