Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
skatsaounis opened this issue Feb 1, 2025 · 2 comments
Labels
bug Something isn't working as expected

Comments

@skatsaounis
Copy link

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

@skatsaounis skatsaounis added the bug Something isn't working as expected label Feb 1, 2025
Copy link

Thank you for reporting your feedback to us!

The internal ticket has been created: https://warthogs.atlassian.net/browse/DPE-6508.

This message was autogenerated

@dragomirp
Copy link
Contributor

dragomirp commented Feb 4, 2025

Hi, @skatsaounis, sounds like we will need to implement network spaces so that the postgresql charm is aware which IP address to use. The ticket for supporting that is DPE-5902

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants