Skip to content

Units with a VIP with CIDR/32 which is alphabetical first comparing to actual address are failing #753

@skatsaounis

Description

@skatsaounis

Steps to reproduce

Follow the charmed maas installation described in: canonical/maas-anvil#85

Expected behavior

Postgres is creating a database for the consumer application, and everything works as expected.

Actual behavior

The consumer application is getting nothing at the relation. No database and credentials are created.

Versions

Operating system: Ubuntu Jammy

Juju CLI: 3.4.6-genericlinux-amd64

Juju agent: 3.4.6

Charm revision: 468

LXD: N/A

Log output

ubuntu@maas-1:~$ cat /var/log/juju/unit-postgresql-0.log
...
2025-02-01 20:16:34 ERROR unit.postgresql/0.juju-log server.go:325 Failed to list PostgreSQL database users: could not translate host name "None" to address: Temporary failure in name resolution
...

Additional context

This is a bug on the bind_address of network binding when calculated by the operator framework: canonical/operator#1556

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions