Skip to content

Block the charm if there is no client relation #252

Description

@dragomirp

Currently the Pgbouncer VM charm is expected to be subordinated on one of the client interfaces, but needs to also allow subordination based on the juju-info interface. If the user subordinates based on juju-info by mistake the charm will go into active state despite not serving any client. The charm should detect this case and block/unblock itself based on presence of a client connection for a better UX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature, UI change, or workload upgradegood first issueGood for newcomers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions