Skip to content
New issue

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

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

Already on GitHub? # to your account

Postgres Operator Failing to Connect to Postgres Cluster #94

Open
timwill3 opened this issue Jan 14, 2025 · 0 comments
Open

Postgres Operator Failing to Connect to Postgres Cluster #94

timwill3 opened this issue Jan 14, 2025 · 0 comments
Labels
possible-bug 🐛 Something may not be working

Comments

@timwill3
Copy link

Environment

App/package versions: 1.13.0-uds.6-upstream
Kubernetes distro being used: K3s v1.30.4+k3s1
Other:

Steps to reproduce

  1. Deploy Postgres Operator using uds run dev

Expected result

Postgres Operator successfully connecting to the Postgres cluster over port 8008.

Actual Result

Postgres Operator failing to make request to Postgres cluster over port 8008.

Visual Proof (screenshots, videos, text, etc)

Relevant logs:

Postgres cluster istio-proxy container logs:

│ [2025-01-14T15:38:25.853Z] "- - -" 0 NR filter_chain_not_found - "-" 0 0 0 - "-" "-" "-" "-" "-" - - 10.42.0.48:8008 10.42.0.46:32812 - -
│ [2025-01-14T15:38:25.854Z] "- - -" 0 NR filter_chain_not_found - "-" 0 0 0 - "-" "-" "-" "-" "-" - - 10.42.0.48:8008 10.42.0.46:32836 - -

I believe these logs are associated to the following logs in the Postgres operator postgres-operator container:

│ time="2025-01-14T15:38:25Z" level=debug msg="making GET http request: http://10.42.0.48:8008/patroni" cluster-name=postgres/pg-cluster pkg=cluster   │
│ time="2025-01-14T15:38:25Z" level=error msg="errors while restarting Postgres in pods via Patroni API: could not restart Postgres in master pod post │
│ gres/pg-cluster-0: could not get member data: could not make request: Get \"http://10.42.0.48:8008/patroni\": EOF" cluster-name=postgres/pg-cluster  │
│ pkg=cluster
@timwill3 timwill3 added the possible-bug 🐛 Something may not be working label Jan 14, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
possible-bug 🐛 Something may not be working
Projects
None yet
Development

No branches or pull requests

1 participant