Skip to content

Cannot connect externally to a juju controller #406

@davigar15

Description

@davigar15

When adding the fix for the HA controller, I used `jujudata.currentController() to the the list of api endpoints. I thought that command got the information from the juju controller, but it didn't. It was just checking the api_endpoint from the controllers.yaml inside .local/share/juju. Therefore, if you execute that part of the code from a machine that doesn't have that information, this error will happen:

FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/share/juju/controllers.yaml'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions