ETCD for Patroni configuration error

From: Inzamam Shafiq <inzamam(dot)shafiq(at)hotmail(dot)com>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: ETCD for Patroni configuration error
Date: 2023-04-19 06:44:05
Message-ID: AM9P251MB033029D3D383BEB8D6FED1E298629@AM9P251MB0330.EURP251.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Team,

I am in configuring etcd cluster, and facing below error while I start etcd or see member list.

2023-04-19 11:31:31.001071 N | embed: serving insecure client requests on xxx.xx.xx.xx:2379, this is strongly discouraged!
2023-04-19 11:31:31.001184 N | embed: serving insecure client requests on 127.0.0.1:2379, this is strongly discouraged!
WARNING: 2023/04/19 11:31:31 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp: missing address"; Reconnecting to {xxx.xx.xx.xx:2379 0 <nil>}
WARNING: 2023/04/19 11:31:32 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp: missing address"; Reconnecting to {xxx.xx.xx.xx:2379 0 <nil>}
WARNING: 2023/04/19 11:31:33 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp: missing address"; Reconnecting to {xxx.xx.xx.xx:2379 0 <nil>}
WARNING: 2023/04/19 11:31:36 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp: missing address"; Reconnecting to {xxx.xx.xx.xx:2379 0 <nil>}
WARNING: 2023/04/19 11:31:41 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp: missing address"; Reconnecting to {xxx.xx.xx.xx:2379 0 <nil>}
WARNING: 2023/04/19 11:31:48 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: Error while dialing dial tcp: missing address"; Reconnecting to {xxx.xx.xx.xx:2379 0 <nil>}

when I execute this command

etcdctl member list

below error received,

client: etcd cluster is unavailable or misconfigured; error #0: proxyconnect tcp: dial tcp :80: connect: connection refused

can someone please help in identifying the issue?

does anything related to port 80 or any configuration issue?

my conf file is as follows,

name: "etcd"
initial-cluster: "etcd=http://xxx.xx.xx.xx:2380"
initial-cluster-state: "new"
initial-cluster-token: "etcd-cluster"
initial-advertise-peer-urls: "http://xxx.xx.xx.xx:2380"
data-dir: "/var/lib/etcd/pgsql"
listen-peer-urls: "http://xxx.xx.xx.xx:2380"
listen-client-urls: "http://xxx.xx.xx.xx:2379,http://localhost:2379"
advertise-client-urls: "http://xxx.xx.xx.xx:2379"

Regards,

Inzamam Shafiq
Sr. DBA

Browse pgsql-general by date

  From Date Subject
Next Message Stéphane Dunand 2023-04-19 07:06:51 Re: Request for information about postgres version 15.2 stability
Previous Message Tom Lane 2023-04-18 16:35:52 Re: Request for information about postgres version 15.2 stability