Skip to content

libjuju not prepared for HA usage #395

@AdamIsrael

Description

@AdamIsrael

In reviewing libjuju for it's readiness for use with Juju configured in high availability mode, it looks like there are some gaps.

endpoint = controller['api-endpoints'][0]

The above implies that while libjuju receives a list of API endpoints it only uses the first endpoint. There's a TODO above this code that Connection needs to be modified to accept a list of endpoints, rather than a single endpoint.

Expected behavior:

We would expect libjuju to consume the list of API endpoints and failover if the selected address fails to connect.

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