Patroni issue

From: Deepak tyagi <deepaktyagi454(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Patroni issue
Date: 2020-12-29 22:59:59
Message-ID: CAFC+CBzno6Kd2ya4G6NaoXMjqpqc_PR7YsOdZkh8kcx3WkUnSg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I am getting below highlighted issue while starting the patroni, so i need
an advice, how to resolve it?

Error :
[image: image.png]
#systemctl status patroni
patroni.service - Runners to orchestrate a high-availability PostgreSQL
Loaded: loaded (/etc/systemd/system/patroni.service; disabled; vendor
preset: disabled)
Active: active (running) since Tue 2020-12-29 17:34:55 EST; 3s ago
Main PID: 9658 (patroni)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/patroni.service
└─9658 /usr/bin/python3 /usr/bin/patroni /etc/patroni.yml

Dec 29 17:34:55 systemd[1]: Started Runners to orchestrate a
high-availability PostgreSQL.
Dec 29 17:34:55 patroni[9658]: 2020-12-29 17:34:55,743 WARNING: Retrying
(Retry(total=1, connect=None, read=None, redirect=0, statu>
Dec 29 17:34:55 patroni[9658]: 2020-12-29 17:34:55,743 WARNING: Retrying
(Retry(total=0, connect=None, read=None, redirect=0, statu>
Dec 29 17:34:55 patroni[9658]: 2020-12-29 17:34:55,744 ERROR: Failed to
get list of machines from http://localhost:80/v2: MaxRetry>
Dec 29 17:34:55 patroni[9658]: 2020-12-29 17:34:55,744 INFO: waiting on
etcd

ETCD status:

systemctl status etcd
● etcd.service - Etcd Server
Loaded: loaded (/usr/lib/systemd/system/etcd.service; enabled; vendor
preset: disabled)
Active: active (running) since Tue 2020-12-29 17:01:58 EST; 4s ago
Main PID: 10826 (etcd)
Tasks: 13 (limit: 4915)
CGroup: /system.slice/etcd.service
└─10826 /usr/sbin/etcd

Dec 29 17:01:57 vtststmost3 etcd[10826]: listening for peers on
127.0.0.1:2380
Dec 29 17:01:58 vtststmost3 bash[10826]: raft2020/12/29 17:01:58 INFO:
8e9e05c52164694d is starting a new election at term 5
Dec 29 17:01:58 vtststmost3 bash[10826]: raft2020/12/29 17:01:58 INFO:
8e9e05c52164694d became candidate at term 6
Dec 29 17:01:58 vtststmost3 bash[10826]: raft2020/12/29 17:01:58 INFO:
8e9e05c52164694d received MsgVoteResp from 8e9e05c52164694d at term 6
Dec 29 17:01:58 vtststmost3 bash[10826]: raft2020/12/29 17:01:58 INFO:
8e9e05c52164694d became leader at term 6
Dec 29 17:01:58 vtststmost3 bash[10826]: raft2020/12/29 17:01:58 INFO:
raft.node: 8e9e05c52164694d elected leader 8e9e05c52164694d at term 6
Dec 29 17:01:58 vtststmost3 etcd[10826]: published {Name:default
ClientURLs:[http://localhost:2379]} to cluster cdf818194e3a8c32
Dec 29 17:01:58 vtststmost3 etcd[10826]: ready to serve client requests
Dec 29 17:01:58 vtststmost3 systemd[1]: Started Etcd Server.
Dec 29 17:01:58 vtststmost3 etcd[10826]: serving insecure client requests
on 127.0.0.1:2379, this is strongly discouraged!

Thanks & Regards,
Deepak Tyagi

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2020-12-29 23:16:27 Re: Patroni issue
Previous Message Olivier Gautherot 2020-12-29 12:33:27 Re: Insert 1 million data