Giter Club home page Giter Club logo

Comments (4)

def avatar def commented on May 15, 2024

Is psqlha-postgresql-ha-postgresql-2 displayed on the Instances tab?
Can you also check the Coroot's log for errors?

Replication roles are currently discovered only for clusters managed by the k8s operators for Postgres (Zalando, CrunchyData, Percona).

from coroot.

Compunctus avatar Compunctus commented on May 15, 2024

Yep, it's displayed on instances tab. All three are green on the instances tab, now psqlha-postgresql-ha-postgresql-1 is not recognised as a postgres service.

I do see new errors in logs, namely:

couldn't find actual instance for "postgres", initial instance is "10.1.18.172:80" (map[])

and that ip (18.172) does belong to pod psqlha-postgresql-ha-postgresql-1

from coroot.

def avatar def commented on May 15, 2024

Please show the output of the following Prometheus queries:

  • container_net_tcp_listen_info{listen_addr="10.1.18.172:80"}
  • container_net_tcp_listen_info{container_id=~".*psqlha-postgresql-ha-postgresql-1.*"}

from coroot.

Compunctus avatar Compunctus commented on May 15, 2024

Both metrics were empty. I also noticed that they were simply wrong for most IP addresses - showing ports that could never exist in a pod. Restarted daemonset, now those metrics seem valid. Waiting for 10 minutes to let coroot settle.

No noticeable errors were found in node-agent logs prior to restarting the daemonset.

P.S. psqlha-postgresql-ha-postgresql-1 was deployed on a node which had it's network connectivity abruptly cut off recently. Then it was rebooted without restoring networking first. Could help in narrowing it down, i guess...

from coroot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.