Skip to content

Instantly share code, notes, and snippets.

@aknuds1
Created January 4, 2019 09:30
Show Gist options
  • Save aknuds1/e79513b719a9d60d5cf67e23798ffedc to your computer and use it in GitHub Desktop.
Save aknuds1/e79513b719a9d60d5cf67e23798ffedc to your computer and use it in GitHub Desktop.
Postgres operator logs
decompressing spilo image...
2019-01-04 08:05:50,770 - bootstrapping - INFO - Figuring out my environment (Google? AWS? Openstack? Local?)
2019-01-04 08:05:50,799 - bootstrapping - INFO - No meta-data available for this provider
2019-01-04 08:05:50,799 - bootstrapping - INFO - Looks like your running unsupported
2019-01-04 08:05:50,869 - bootstrapping - WARNING - could not parse kubernetes labels as a JSON: Expecting value: line 1 column 1 (char 0), reverting to the default: {"application": "spilo"}
2019-01-04 08:05:50,871 - bootstrapping - INFO - Configuring certificate
2019-01-04 08:05:50,872 - bootstrapping - INFO - Generating ssl certificate
2019-01-04 08:05:51,063 - bootstrapping - INFO - Configuring crontab
2019-01-04 08:05:51,063 - bootstrapping - INFO - Configuring log
2019-01-04 08:05:51,063 - bootstrapping - INFO - Configuring patronictl
2019-01-04 08:05:51,064 - bootstrapping - INFO - Configuring wal-e
2019-01-04 08:05:51,064 - bootstrapping - INFO - Configuring bootstrap
2019-01-04 08:05:51,064 - bootstrapping - INFO - Configuring pgbouncer
2019-01-04 08:05:51,064 - bootstrapping - INFO - No PGBOUNCER_CONFIGURATION was specified, skipping
2019-01-04 08:05:51,064 - bootstrapping - INFO - Configuring patroni
2019-01-04 08:05:51,073 - bootstrapping - INFO - Writing to file /home/postgres/postgres.yml
2019-01-04 08:05:51,073 - bootstrapping - INFO - Configuring pam-oauth2
2019-01-04 08:05:51,073 - bootstrapping - INFO - No PAM_OAUTH2 configuration was specified, skipping
2019-01-04 08:05:52,166 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2019-01-04 08:05:52,166 INFO Included extra file "/etc/supervisor/conf.d/cron.conf" during parsing
2019-01-04 08:05:52,166 INFO Included extra file "/etc/supervisor/conf.d/patroni.conf" during parsing
2019-01-04 08:05:52,167 INFO Included extra file "/etc/supervisor/conf.d/pgq.conf" during parsing
2019-01-04 08:05:52,176 INFO RPC interface 'supervisor' initialized
2019-01-04 08:05:52,176 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2019-01-04 08:05:52,176 INFO supervisord started with pid 1
2019-01-04 08:05:53,179 INFO spawned: 'cron' with pid 21
2019-01-04 08:05:53,254 INFO spawned: 'patroni' with pid 22
2019-01-04 08:05:53,259 INFO spawned: 'pgq' with pid 23
2019-01-04 08:05:54,264 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-01-04 08:05:54,264 INFO success: patroni entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-01-04 08:05:54,264 INFO success: pgq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-01-04 08:05:55,388 WARNING: Postgresql is not running.
2019-01-04 08:05:55,388 INFO: Lock owner: discourse-production-0; I am discourse-production-1
2019-01-04 08:05:55,556 INFO: Lock owner: discourse-production-0; I am discourse-production-1
2019-01-04 08:05:55,576 INFO: Local timeline=5 lsn=0/17236150
2019-01-04 08:05:55,705 INFO: master_timeline=5
2019-01-04 08:05:55,707 INFO: master: history=1 0/19B8528 no recovery target specified
2 0/15000098 no recovery target specified
3 0/16000098 no recovery target specified
4 0/17000098 no recovery target specified
2019-01-04 08:05:55,727 INFO: starting as a secondary
2019-01-04 08:05:55,872 INFO: postmaster pid=45
/var/run/postgresql:5432 - no response
2019-01-04 08:05:55 UTC [45]: [1-1] 5c2f13e3.2d 0 LOG: listening on IPv4 address "0.0.0.0", port 5432
2019-01-04 08:05:55 UTC [45]: [2-1] 5c2f13e3.2d 0 LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2019-01-04 08:05:56 UTC [45]: [3-1] 5c2f13e3.2d 0 LOG: redirecting log output to logging collector process
2019-01-04 08:05:56 UTC [45]: [4-1] 5c2f13e3.2d 0 HINT: Future log output will appear in directory "../pg_log".
/var/run/postgresql:5432 - accepting connections
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:05:57,155 INFO: Lock owner: discourse-production-0; I am discourse-production-1
2019-01-04 08:05:57,156 INFO: does not have lock
2019-01-04 08:05:57,156 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:05:57,188 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:05:57,780 INFO: Lock owner: discourse-production-0; I am discourse-production-1
2019-01-04 08:05:57,780 INFO: does not have lock
2019-01-04 08:05:57,781 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:05:59,567 INFO: Cleaning up failover key after acquiring leader lock...
2019-01-04 08:05:59,659 WARNING: Could not activate Linux watchdog device: "Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog'"
2019-01-04 08:05:59,685 INFO: promoted self to leader by acquiring session lock
server promoting
2019-01-04 08:05:59,767 INFO: cleared rewind state after becoming the leader
2019-01-04 08:06:01,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
psql: FATAL: the database system is in recovery mode
2019-01-04 08:06:02,496 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:06:02,627 INFO: no action. i am the leader with the lock
DO
DO
DO
NOTICE: extension "pg_cron" already exists, skipping
CREATE EXTENSION
NOTICE: version "1.1" of extension "pg_cron" is already installed
ALTER EXTENSION
ALTER POLICY
REVOKE
GRANT
GRANT
CREATE FUNCTION
REVOKE
GRANT
REVOKE
GRANT
REVOKE
GRANT
GRANT
NOTICE: extension "file_fdw" already exists, skipping
CREATE EXTENSION
DO
NOTICE: relation "postgres_log" already exists, skipping
CREATE TABLE
GRANT
NOTICE: relation "postgres_log_0" already exists, skipping
CREATE FOREIGN TABLE
GRANT
CREATE VIEW
ALTER VIEW
GRANT
NOTICE: relation "postgres_log_1" already exists, skipping
CREATE FOREIGN TABLE
GRANT
CREATE VIEW
ALTER VIEW
GRANT
NOTICE: relation "postgres_log_2" already exists, skipping
CREATE FOREIGN TABLE
GRANT
CREATE VIEW
ALTER VIEW
GRANT
NOTICE: relation "postgres_log_3" already exists, skipping
CREATE FOREIGN TABLE
GRANT
CREATE VIEW
ALTER VIEW
GRANT
NOTICE: relation "postgres_log_4" already exists, skipping
CREATE FOREIGN TABLE
GRANT
CREATE VIEW
ALTER VIEW
GRANT
NOTICE: relation "postgres_log_5" already exists, skipping
CREATE FOREIGN TABLE
GRANT
CREATE VIEW
ALTER VIEW
GRANT
NOTICE: relation "postgres_log_6" already exists, skipping
CREATE FOREIGN TABLE
GRANT
CREATE VIEW
ALTER VIEW
GRANT
NOTICE: relation "postgres_log_7" already exists, skipping
CREATE FOREIGN TABLE
GRANT
CREATE VIEW
ALTER VIEW
GRANT
RESET
SET
NOTICE: drop cascades to 3 other objects
DETAIL: drop cascades to type zmon_utils.system_information
drop cascades to function zmon_utils.get_database_cluster_information()
drop cascades to function zmon_utils.get_database_cluster_system_information()
DROP SCHEMA
NOTICE: extension "plpython3u" already exists, skipping
DO
NOTICE: language "plpythonu" does not exist, skipping
DROP LANGUAGE
NOTICE: function plpython_call_handler() does not exist, skipping
DROP FUNCTION
NOTICE: function plpython_inline_handler(internal) does not exist, skipping
DROP FUNCTION
NOTICE: function plpython_validator(oid) does not exist, skipping
DROP FUNCTION
CREATE SCHEMA
GRANT
SET
CREATE TYPE
CREATE FUNCTION
CREATE FUNCTION
GRANT
You are now connected to database "postgres" as user "postgres".
NOTICE: schema "user_management" already exists, skipping
CREATE SCHEMA
GRANT
SET
CREATE FUNCTION
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
GRANT
RESET
NOTICE: extension "pg_stat_statements" already exists, skipping
CREATE EXTENSION
NOTICE: extension "set_user" already exists, skipping
CREATE EXTENSION
NOTICE: version "1.6" of extension "set_user" is already installed
ALTER EXTENSION
GRANT
You are now connected to database "discourse" as user "postgres".
NOTICE: schema "user_management" already exists, skipping
CREATE SCHEMA
GRANT
SET
CREATE FUNCTION
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
GRANT
RESET
NOTICE: extension "pg_stat_statements" already exists, skipping
CREATE EXTENSION
NOTICE: extension "set_user" already exists, skipping
CREATE EXTENSION
NOTICE: version "1.6" of extension "set_user" is already installed
ALTER EXTENSION
GRANT
You are now connected to database "template1" as user "postgres".
NOTICE: schema "user_management" already exists, skipping
CREATE SCHEMA
GRANT
SET
CREATE FUNCTION
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
CREATE FUNCTION
REVOKE
GRANT
COMMENT
GRANT
RESET
NOTICE: extension "pg_stat_statements" already exists, skipping
CREATE EXTENSION
NOTICE: extension "set_user" already exists, skipping
CREATE EXTENSION
NOTICE: version "1.6" of extension "set_user" is already installed
ALTER EXTENSION
GRANT
2019-01-04 08:06:11,905 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:06:12,126 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:06:12,159 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:06:12,290 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:06:22,061 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:06:22,061 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:06:22,155 INFO: no action. i am the leader with the lock
2019-01-04 08:06:31,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:06:32,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:06:32,756 INFO: no action. i am the leader with the lock
2019-01-04 08:06:41,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:06:42,366 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:06:42,469 INFO: no action. i am the leader with the lock
2019-01-04 08:06:51,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:06:52,453 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:06:52,486 INFO: no action. i am the leader with the lock
2019-01-04 08:06:53.555 23 LOG Starting pgqd 3.3
2019-01-04 08:06:53.555 23 LOG auto-detecting dbs ...
2019-01-04 08:07:01,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:07:02,069 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:02,096 INFO: no action. i am the leader with the lock
2019-01-04 08:07:11,885 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:07:12,647 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:12,673 INFO: no action. i am the leader with the lock
2019-01-04 08:07:21,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:07:22,613 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:22,690 INFO: no action. i am the leader with the lock
2019-01-04 08:07:23.577 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:07:31,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:07:32,245 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:32,275 INFO: no action. i am the leader with the lock
2019-01-04 08:07:41,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:07:42,734 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:42,783 INFO: no action. i am the leader with the lock
2019-01-04 08:07:51,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:07:52,512 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:52,608 INFO: no action. i am the leader with the lock
2019-01-04 08:07:53.587 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:08:01,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:08:02,848 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:02,879 INFO: no action. i am the leader with the lock
2019-01-04 08:08:11,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:08:12,654 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:08:12,866 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:08:12,973 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:08:21,980 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:08:21,981 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:22,256 INFO: no action. i am the leader with the lock
2019-01-04 08:08:23.613 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:08:31,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:08:32,676 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:32,770 INFO: no action. i am the leader with the lock
2019-01-04 08:08:41,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:08:42,255 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:42,379 INFO: no action. i am the leader with the lock
2019-01-04 08:08:51,893 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:08:52,454 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:52,583 INFO: no action. i am the leader with the lock
2019-01-04 08:08:53.653 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:09:01,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:09:02,384 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:02,485 INFO: no action. i am the leader with the lock
2019-01-04 08:09:11,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:09:12,613 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:12,690 INFO: no action. i am the leader with the lock
2019-01-04 08:09:21,878 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:09:22,479 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:22,586 INFO: no action. i am the leader with the lock
2019-01-04 08:09:23.679 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:09:31,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:09:32,714 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:32,753 INFO: no action. i am the leader with the lock
2019-01-04 08:09:41,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:09:42,840 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:42,879 INFO: no action. i am the leader with the lock
2019-01-04 08:09:51,925 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:09:52,745 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:09:52,758 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:09:52,804 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:09:53.704 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:10:02,166 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:10:02,167 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:02,283 INFO: no action. i am the leader with the lock
2019-01-04 08:10:11,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:10:12,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:12,185 INFO: no action. i am the leader with the lock
2019-01-04 08:10:21,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:10:22,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:22,560 INFO: no action. i am the leader with the lock
2019-01-04 08:10:23.733 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:10:31,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:10:32,070 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:32,170 INFO: no action. i am the leader with the lock
2019-01-04 08:10:41,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:10:42,081 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:42,114 INFO: no action. i am the leader with the lock
2019-01-04 08:10:51,954 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:10:52,605 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:52,678 INFO: no action. i am the leader with the lock
2019-01-04 08:10:53.761 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:11:01,885 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:11:02,046 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:02,074 INFO: no action. i am the leader with the lock
2019-01-04 08:11:11,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:11:12,107 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:12,135 INFO: no action. i am the leader with the lock
2019-01-04 08:11:21,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:11:22,371 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:22,637 INFO: no action. i am the leader with the lock
2019-01-04 08:11:23.787 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:11:31,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:11:32,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:32,383 INFO: no action. i am the leader with the lock
2019-01-04 08:11:41,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:11:42,642 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:42,693 INFO: no action. i am the leader with the lock
2019-01-04 08:11:51,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:11:52,184 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:52,424 INFO: no action. i am the leader with the lock
2019-01-04 08:11:53.853 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:12:01,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:12:02,195 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:02,283 INFO: no action. i am the leader with the lock
2019-01-04 08:12:11,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:12:12,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:12,917 INFO: no action. i am the leader with the lock
2019-01-04 08:12:21,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:12:22,595 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:22,623 INFO: no action. i am the leader with the lock
2019-01-04 08:12:23.881 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:12:31,981 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:12:32,554 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:32,765 INFO: no action. i am the leader with the lock
2019-01-04 08:12:42,023 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:12:42,123 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:12:42,257 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:12:42,284 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:12:51,990 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:12:52,053 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:52,156 INFO: no action. i am the leader with the lock
2019-01-04 08:12:53.886 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:13:01,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:13:02,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:02,261 INFO: no action. i am the leader with the lock
2019-01-04 08:13:11,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:13:12,453 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:12,484 INFO: no action. i am the leader with the lock
2019-01-04 08:13:21,967 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:13:22,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:22,587 INFO: no action. i am the leader with the lock
2019-01-04 08:13:23.911 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:13:31,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:13:32,705 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:32,784 INFO: no action. i am the leader with the lock
2019-01-04 08:13:41,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:13:42,502 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:42,581 INFO: no action. i am the leader with the lock
2019-01-04 08:13:51,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:13:52,364 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:52,482 INFO: no action. i am the leader with the lock
2019-01-04 08:13:53.920 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:14:01,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:14:02,375 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:14:02,559 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:14:02,584 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:14:11,887 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:14:11,954 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:12,156 INFO: no action. i am the leader with the lock
2019-01-04 08:14:21,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:14:22,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:22,179 INFO: no action. i am the leader with the lock
2019-01-04 08:14:23.950 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:14:31,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:14:32,481 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:32,583 INFO: no action. i am the leader with the lock
2019-01-04 08:14:41,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:14:42,217 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:42,282 INFO: no action. i am the leader with the lock
2019-01-04 08:14:51,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:14:52,753 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:52,865 INFO: no action. i am the leader with the lock
2019-01-04 08:14:53.957 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:15:01,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:15:02,568 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:02,677 INFO: no action. i am the leader with the lock
2019-01-04 08:15:11,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:15:12,834 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:12,858 INFO: no action. i am the leader with the lock
2019-01-04 08:15:21,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:15:22,326 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:22,379 INFO: no action. i am the leader with the lock
2019-01-04 08:15:23.985 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:15:31,888 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:15:32,669 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:32,778 INFO: no action. i am the leader with the lock
2019-01-04 08:15:41,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:15:42,850 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:42,878 INFO: no action. i am the leader with the lock
2019-01-04 08:15:51,967 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:15:52,849 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:52,875 INFO: no action. i am the leader with the lock
2019-01-04 08:15:54.053 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:16:01,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:16:02,165 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:02,287 INFO: no action. i am the leader with the lock
2019-01-04 08:16:12,001 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:16:12,833 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:12,880 INFO: no action. i am the leader with the lock
2019-01-04 08:16:21,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:16:22,062 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:22,093 INFO: no action. i am the leader with the lock
2019-01-04 08:16:24.072 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:16:31,876 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:16:32,487 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:32,514 INFO: no action. i am the leader with the lock
2019-01-04 08:16:41,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:16:42,627 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:42,683 INFO: no action. i am the leader with the lock
2019-01-04 08:16:51,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:16:52,577 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:16:52,758 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:16:52,933 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:16:54.072 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:17:02,063 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:17:02,063 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:02,178 INFO: no action. i am the leader with the lock
2019-01-04 08:17:11,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:17:12,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:12,761 INFO: no action. i am the leader with the lock
2019-01-04 08:17:21,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:17:22,692 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:22,719 INFO: no action. i am the leader with the lock
2019-01-04 08:17:24.106 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:17:31,887 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:17:32,168 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:32,197 INFO: no action. i am the leader with the lock
2019-01-04 08:17:41,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:17:42,631 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:42,661 INFO: no action. i am the leader with the lock
2019-01-04 08:17:51,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:17:52,499 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:17:52,583 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:17:52,677 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:17:54.120 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:18:02,055 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:18:02,056 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:02,261 INFO: no action. i am the leader with the lock
2019-01-04 08:18:11,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:18:12,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:12,288 INFO: no action. i am the leader with the lock
2019-01-04 08:18:21,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:18:22,453 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:22,480 INFO: no action. i am the leader with the lock
2019-01-04 08:18:24.153 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:18:31,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:18:32,397 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:32,540 INFO: no action. i am the leader with the lock
2019-01-04 08:18:41,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:18:42,685 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:42,708 INFO: no action. i am the leader with the lock
2019-01-04 08:18:51,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:18:52,424 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:52,455 INFO: no action. i am the leader with the lock
2019-01-04 08:18:54.181 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:19:01,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:19:02,356 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:02,386 INFO: no action. i am the leader with the lock
2019-01-04 08:19:11,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:19:12,713 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:12,777 INFO: no action. i am the leader with the lock
2019-01-04 08:19:21,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:19:22,086 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:19:22,102 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:19:22,120 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:19:24.211 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:19:32,060 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:19:32,060 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:32,157 INFO: no action. i am the leader with the lock
2019-01-04 08:19:41,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:19:42,654 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:42,683 INFO: no action. i am the leader with the lock
2019-01-04 08:19:51,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:19:52,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:52,583 INFO: no action. i am the leader with the lock
2019-01-04 08:19:54.253 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:20:01,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:20:02,241 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:02,286 INFO: no action. i am the leader with the lock
2019-01-04 08:20:11,958 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:20:12,139 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:12,165 INFO: no action. i am the leader with the lock
2019-01-04 08:20:22,121 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:20:22,722 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:22,755 INFO: no action. i am the leader with the lock
2019-01-04 08:20:24.281 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:20:31,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:20:32,287 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:32,375 INFO: no action. i am the leader with the lock
2019-01-04 08:20:41,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:20:42,115 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:42,176 INFO: no action. i am the leader with the lock
2019-01-04 08:20:51,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:20:52,015 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:20:52,258 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:20:52,357 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:20:54.311 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:21:01,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:21:01,966 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:02,070 INFO: no action. i am the leader with the lock
2019-01-04 08:21:11,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:21:12,702 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:12,783 INFO: no action. i am the leader with the lock
2019-01-04 08:21:21,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:21:22,717 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:22,777 INFO: no action. i am the leader with the lock
2019-01-04 08:21:24.329 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:21:31,967 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:21:32,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:32,289 INFO: no action. i am the leader with the lock
2019-01-04 08:21:41,953 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:21:42,753 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:42,783 INFO: no action. i am the leader with the lock
2019-01-04 08:21:51,886 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:21:52,388 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:52,481 INFO: no action. i am the leader with the lock
2019-01-04 08:21:54.357 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:22:01,967 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:22:02,138 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:02,169 INFO: no action. i am the leader with the lock
2019-01-04 08:22:11,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:22:12,180 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:12,282 INFO: no action. i am the leader with the lock
2019-01-04 08:22:21,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:22:22,693 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:22,724 INFO: no action. i am the leader with the lock
2019-01-04 08:22:24.453 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:22:31,889 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:22:32,521 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:32,576 INFO: no action. i am the leader with the lock
2019-01-04 08:22:41,886 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:22:42,628 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:42,658 INFO: no action. i am the leader with the lock
2019-01-04 08:22:51,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:22:52,356 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:22:52,565 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:22:52,595 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:22:54.453 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:23:02,059 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:23:02,059 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:02,158 INFO: no action. i am the leader with the lock
2019-01-04 08:23:11,981 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:23:12,366 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:12,461 INFO: no action. i am the leader with the lock
2019-01-04 08:23:21,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:23:22,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:22,656 INFO: no action. i am the leader with the lock
2019-01-04 08:23:24.472 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:23:31,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:23:32,212 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:32,282 INFO: no action. i am the leader with the lock
2019-01-04 08:23:41,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:23:42,394 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:42,479 INFO: no action. i am the leader with the lock
2019-01-04 08:23:51,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:23:52,448 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:52,483 INFO: no action. i am the leader with the lock
2019-01-04 08:23:54.485 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:24:01,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:24:02,562 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:02,681 INFO: no action. i am the leader with the lock
2019-01-04 08:24:11,885 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:24:12,587 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:12,614 INFO: no action. i am the leader with the lock
2019-01-04 08:24:22,043 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:24:22,504 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:22,531 INFO: no action. i am the leader with the lock
2019-01-04 08:24:24.554 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:24:31,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:24:32,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:32,187 INFO: no action. i am the leader with the lock
2019-01-04 08:24:41,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:24:42,753 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:42,970 INFO: no action. i am the leader with the lock
2019-01-04 08:24:51,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:24:52,462 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:52,489 INFO: no action. i am the leader with the lock
2019-01-04 08:24:54.581 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:24:54.586 23 ERROR connection error: PQconnectPoll
2019-01-04 08:24:54.586 23 ERROR
2019-01-04 08:24:54.586 23 WARNING discourse: default timeout
2019-01-04 08:24:54.654 23 ERROR connection error: PQconnectPoll
2019-01-04 08:24:54.654 23 ERROR
2019-01-04 08:24:54.654 23 WARNING postgres: default timeout
2019-01-04 08:24:54.657 23 ERROR connection error: PQconnectPoll
2019-01-04 08:24:54.657 23 ERROR
2019-01-04 08:25:01,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:25:02,741 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:02,768 INFO: no action. i am the leader with the lock
2019-01-04 08:25:11,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:25:12,347 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:12,380 INFO: no action. i am the leader with the lock
2019-01-04 08:25:21,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:25:22,095 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:22,182 INFO: no action. i am the leader with the lock
2019-01-04 08:25:24.653 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:25:31,970 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:25:32,101 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:32,131 INFO: no action. i am the leader with the lock
2019-01-04 08:25:41,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:25:42,465 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:42,584 INFO: no action. i am the leader with the lock
2019-01-04 08:25:51,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:25:52,092 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:52,123 INFO: no action. i am the leader with the lock
2019-01-04 08:25:54.653 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:26:01,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:26:02,147 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:26:02,166 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:26:02,193 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:26:11,980 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:26:11,980 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:12,084 INFO: no action. i am the leader with the lock
2019-01-04 08:26:21,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:26:22,857 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:22,880 INFO: no action. i am the leader with the lock
2019-01-04 08:26:24.684 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:26:31,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:26:32,853 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:26:33,364 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:26:33,455 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:26:41,976 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:26:41,976 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:42,084 INFO: no action. i am the leader with the lock
2019-01-04 08:26:51,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:26:52,757 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:52,861 INFO: no action. i am the leader with the lock
2019-01-04 08:26:54.753 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:27:01,970 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:27:02,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:02,771 INFO: no action. i am the leader with the lock
2019-01-04 08:27:11,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:27:12,853 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:12,960 INFO: no action. i am the leader with the lock
2019-01-04 08:27:21,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:27:22,853 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:22,957 INFO: no action. i am the leader with the lock
2019-01-04 08:27:24.785 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:27:31,967 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:27:32,288 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:32,379 INFO: no action. i am the leader with the lock
2019-01-04 08:27:41,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:27:42,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:42,754 INFO: no action. i am the leader with the lock
2019-01-04 08:27:51,887 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:27:52,368 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:52,476 INFO: no action. i am the leader with the lock
2019-01-04 08:27:54.853 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:28:01,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:28:02,449 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:02,478 INFO: no action. i am the leader with the lock
2019-01-04 08:28:11,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:28:12,193 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:12,279 INFO: no action. i am the leader with the lock
2019-01-04 08:28:21,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:28:22,815 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:22,842 INFO: no action. i am the leader with the lock
2019-01-04 08:28:24.877 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:28:31,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:28:32,869 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:32,957 INFO: no action. i am the leader with the lock
2019-01-04 08:28:41,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:28:42,824 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:42,886 INFO: no action. i am the leader with the lock
2019-01-04 08:28:51,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:28:52,704 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:52,733 INFO: no action. i am the leader with the lock
2019-01-04 08:28:54.893 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:29:01,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:29:02,432 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:02,500 INFO: no action. i am the leader with the lock
2019-01-04 08:29:11,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:29:12,462 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:12,581 INFO: no action. i am the leader with the lock
2019-01-04 08:29:21,887 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:29:22,649 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:22,676 INFO: no action. i am the leader with the lock
2019-01-04 08:29:24.953 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:29:31,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:29:32,154 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:32,183 INFO: no action. i am the leader with the lock
2019-01-04 08:29:41,920 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:29:42,462 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:42,488 INFO: no action. i am the leader with the lock
2019-01-04 08:29:51,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:29:52,397 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:52,423 INFO: no action. i am the leader with the lock
2019-01-04 08:29:54.972 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:30:01,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:30:02,565 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:30:02,982 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:30:03,084 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:30:12,058 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:30:12,058 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:12,160 INFO: no action. i am the leader with the lock
2019-01-04 08:30:21,974 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:30:22,077 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:22,174 INFO: no action. i am the leader with the lock
2019-01-04 08:30:24.988 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:30:31,887 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:30:32,648 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:32,681 INFO: no action. i am the leader with the lock
2019-01-04 08:30:41,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:30:42,136 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:42,160 INFO: no action. i am the leader with the lock
2019-01-04 08:30:51,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:30:52,120 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:52,187 INFO: no action. i am the leader with the lock
2019-01-04 08:30:55.053 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:31:01,967 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:31:02,699 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:02,729 INFO: no action. i am the leader with the lock
2019-01-04 08:31:11,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:31:12,042 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:12,074 INFO: no action. i am the leader with the lock
2019-01-04 08:31:22,011 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:31:22,912 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:22,980 INFO: no action. i am the leader with the lock
2019-01-04 08:31:25.081 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:31:31,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:31:32,567 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:31:32,763 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:31:32,997 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:31:41,979 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:31:41,980 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:42,083 INFO: no action. i am the leader with the lock
2019-01-04 08:31:51,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:31:52,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:52,357 INFO: no action. i am the leader with the lock
2019-01-04 08:31:55.093 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:32:01,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:32:02,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:02,288 INFO: no action. i am the leader with the lock
2019-01-04 08:32:11,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:32:12,353 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:12,463 INFO: no action. i am the leader with the lock
2019-01-04 08:32:21,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:32:22,674 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:22,774 INFO: no action. i am the leader with the lock
2019-01-04 08:32:25.121 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:32:31,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:32:32,182 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:32,206 INFO: no action. i am the leader with the lock
2019-01-04 08:32:41,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:32:42,230 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:42,260 INFO: no action. i am the leader with the lock
2019-01-04 08:32:51,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:32:52,724 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:52,757 INFO: no action. i am the leader with the lock
2019-01-04 08:32:55.153 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:32:55.155 23 ERROR connection error: PQconnectPoll
2019-01-04 08:32:55.155 23 ERROR
2019-01-04 08:32:55.155 23 WARNING postgres: default timeout
2019-01-04 08:32:55.163 23 ERROR connection error: PQconnectPoll
2019-01-04 08:32:55.163 23 ERROR
2019-01-04 08:32:55.174 23 ERROR connection error: PQconnectPoll
2019-01-04 08:32:55.174 23 ERROR
2019-01-04 08:32:55.174 23 WARNING discourse: default timeout
2019-01-04 08:33:01,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:33:02,207 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:02,326 INFO: no action. i am the leader with the lock
2019-01-04 08:33:11,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:33:12,607 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:12,632 INFO: no action. i am the leader with the lock
2019-01-04 08:33:21,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:33:22,184 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:22,285 INFO: no action. i am the leader with the lock
2019-01-04 08:33:25.181 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:33:31,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:33:32,841 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:32,882 INFO: no action. i am the leader with the lock
2019-01-04 08:33:41,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:33:42,717 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:42,786 INFO: no action. i am the leader with the lock
2019-01-04 08:33:51,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:33:52,408 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:52,678 INFO: no action. i am the leader with the lock
2019-01-04 08:33:55.253 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:34:01,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:34:02,251 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:02,280 INFO: no action. i am the leader with the lock
2019-01-04 08:34:11,958 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:34:12,760 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:13,052 INFO: no action. i am the leader with the lock
2019-01-04 08:34:21,973 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:34:22,376 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:22,404 INFO: no action. i am the leader with the lock
2019-01-04 08:34:25.281 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:34:31,978 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:34:32,189 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:34:32,360 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:34:32,386 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:34:42,154 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:34:42,155 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:42,260 ERROR: Exception when changing replication slots
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 489, in _query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1530, in sync_replication_slots
self.load_replication_slots()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1516, in load_replication_slots
cursor = self._query("SELECT slot_name FROM pg_replication_slots WHERE slot_type='physical'")
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 503, in _query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:34:42,280 INFO: no action. i am the leader with the lock
2019-01-04 08:34:51,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:34:51,960 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:52,158 INFO: no action. i am the leader with the lock
2019-01-04 08:34:55.285 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:35:01,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:35:02,853 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:02,961 INFO: no action. i am the leader with the lock
2019-01-04 08:35:11,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:35:12,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:12,683 INFO: no action. i am the leader with the lock
2019-01-04 08:35:21,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:35:22,853 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:22,881 INFO: no action. i am the leader with the lock
2019-01-04 08:35:25.313 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:35:31,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:35:32,854 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:32,962 INFO: no action. i am the leader with the lock
2019-01-04 08:35:41,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:35:42,595 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:42,677 INFO: no action. i am the leader with the lock
2019-01-04 08:35:51,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:35:52,323 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:52,351 INFO: no action. i am the leader with the lock
2019-01-04 08:35:55.318 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:36:01,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:36:02,628 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:02,694 INFO: no action. i am the leader with the lock
2019-01-04 08:36:11,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:36:12,446 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:12,487 INFO: no action. i am the leader with the lock
2019-01-04 08:36:21,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:36:22,353 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:22,582 INFO: no action. i am the leader with the lock
2019-01-04 08:36:25.353 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:36:31,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:36:32,144 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:32,174 INFO: no action. i am the leader with the lock
2019-01-04 08:36:41,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:36:42,627 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:42,683 INFO: no action. i am the leader with the lock
2019-01-04 08:36:51,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:36:52,335 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:52,383 INFO: no action. i am the leader with the lock
2019-01-04 08:36:55.453 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:37:01,891 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:37:02,174 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:37:02,388 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:37:02,414 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:37:11,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:37:11,883 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:11,990 INFO: no action. i am the leader with the lock
2019-01-04 08:37:21,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:37:22,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:22,291 INFO: no action. i am the leader with the lock
2019-01-04 08:37:25.472 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:37:31,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:37:32,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:32,658 INFO: no action. i am the leader with the lock
2019-01-04 08:37:41,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:37:42,353 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:42,385 INFO: no action. i am the leader with the lock
2019-01-04 08:37:51,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:37:52,453 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:52,478 INFO: no action. i am the leader with the lock
2019-01-04 08:37:55.494 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:38:01,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:38:02,453 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:02,488 INFO: no action. i am the leader with the lock
2019-01-04 08:38:11,937 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:38:12,669 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:12,770 INFO: no action. i am the leader with the lock
2019-01-04 08:38:21,972 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:38:22,753 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:22,783 INFO: no action. i am the leader with the lock
2019-01-04 08:38:25.525 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:38:31,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:38:32,407 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:32,487 INFO: no action. i am the leader with the lock
2019-01-04 08:38:41,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:38:42,307 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:42,375 INFO: no action. i am the leader with the lock
2019-01-04 08:38:51,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:38:52,103 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:52,186 INFO: no action. i am the leader with the lock
2019-01-04 08:38:55.555 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:39:01,888 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:39:02,814 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:02,879 INFO: no action. i am the leader with the lock
2019-01-04 08:39:11,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:39:12,207 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:12,284 INFO: no action. i am the leader with the lock
2019-01-04 08:39:21,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:39:22,263 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:22,383 INFO: no action. i am the leader with the lock
2019-01-04 08:39:25.653 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:39:31,886 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:39:32,328 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:32,391 INFO: no action. i am the leader with the lock
2019-01-04 08:39:41,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:39:42,471 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:42,582 INFO: no action. i am the leader with the lock
2019-01-04 08:39:51,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:39:52,279 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:52,361 INFO: no action. i am the leader with the lock
2019-01-04 08:39:55.659 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:40:01,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:40:02,172 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:40:02,368 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:40:02,454 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:40:12,055 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:40:12,056 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:12,156 INFO: no action. i am the leader with the lock
2019-01-04 08:40:21,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:40:22,353 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:22,383 INFO: no action. i am the leader with the lock
2019-01-04 08:40:25.688 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:40:31,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:40:32,070 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:32,171 INFO: no action. i am the leader with the lock
2019-01-04 08:40:41,958 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:40:42,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:42,256 INFO: no action. i am the leader with the lock
2019-01-04 08:40:51,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:40:52,353 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:52,384 INFO: no action. i am the leader with the lock
2019-01-04 08:40:55.753 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:41:01,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:41:02,753 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:02,857 INFO: no action. i am the leader with the lock
2019-01-04 08:41:11,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:41:12,857 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:12,963 INFO: no action. i am the leader with the lock
2019-01-04 08:41:21,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:41:22,302 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:22,376 INFO: no action. i am the leader with the lock
2019-01-04 08:41:25.777 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:41:31,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:41:32,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:32,280 INFO: no action. i am the leader with the lock
2019-01-04 08:41:41,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:41:42,266 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:42,375 INFO: no action. i am the leader with the lock
2019-01-04 08:41:51,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:41:52,617 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:52,680 INFO: no action. i am the leader with the lock
2019-01-04 08:41:55.788 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:41:55.791 23 ERROR connection error: PQconnectPoll
2019-01-04 08:41:55.791 23 ERROR
2019-01-04 08:41:55.791 23 WARNING discourse: default timeout
2019-01-04 08:41:55.793 23 ERROR connection error: PQconnectPoll
2019-01-04 08:41:55.793 23 ERROR
2019-01-04 08:41:55.796 23 ERROR connection error: PQconnectPoll
2019-01-04 08:41:55.796 23 ERROR
2019-01-04 08:41:55.796 23 WARNING postgres: default timeout
2019-01-04 08:42:01,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:42:02,095 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:02,132 INFO: no action. i am the leader with the lock
2019-01-04 08:42:11,886 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:42:12,765 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:12,793 INFO: no action. i am the leader with the lock
2019-01-04 08:42:21,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:42:22,654 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:22,682 INFO: no action. i am the leader with the lock
2019-01-04 08:42:25.853 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:42:31,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:42:32,846 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:42:32,861 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:42:32,881 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:42:41,975 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:42:41,976 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:42,083 INFO: no action. i am the leader with the lock
2019-01-04 08:42:51,981 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:42:52,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:52,294 INFO: no action. i am the leader with the lock
2019-01-04 08:42:55.853 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:43:01,886 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:43:02,197 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:02,284 INFO: no action. i am the leader with the lock
2019-01-04 08:43:12,029 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:43:12,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:12,584 INFO: no action. i am the leader with the lock
2019-01-04 08:43:21,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:43:22,239 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:22,289 INFO: no action. i am the leader with the lock
2019-01-04 08:43:25.883 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:43:31,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:43:32,483 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:32,579 INFO: no action. i am the leader with the lock
2019-01-04 08:43:41,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:43:42,482 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:42,582 INFO: no action. i am the leader with the lock
2019-01-04 08:43:51,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:43:52,113 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:52,141 INFO: no action. i am the leader with the lock
2019-01-04 08:43:55.886 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:44:01,967 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:44:02,829 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:02,860 INFO: no action. i am the leader with the lock
2019-01-04 08:44:11,967 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:44:12,268 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:12,298 INFO: no action. i am the leader with the lock
2019-01-04 08:44:21,996 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:44:22,457 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:22,582 INFO: no action. i am the leader with the lock
2019-01-04 08:44:25.916 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:44:31,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:44:32,712 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:32,744 INFO: no action. i am the leader with the lock
2019-01-04 08:44:41,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:44:42,774 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:42,824 INFO: no action. i am the leader with the lock
2019-01-04 08:44:51,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:44:52,572 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:52,603 INFO: no action. i am the leader with the lock
2019-01-04 08:44:55.953 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:44:55.957 23 ERROR connection error: PQconnectPoll
2019-01-04 08:44:55.957 23 ERROR
2019-01-04 08:44:55.957 23 WARNING postgres: default timeout
2019-01-04 08:44:55.958 23 ERROR connection error: PQconnectPoll
2019-01-04 08:44:55.958 23 ERROR
2019-01-04 08:44:55.958 23 WARNING discourse: default timeout
2019-01-04 08:44:55.958 23 ERROR connection error: PQconnectPoll
2019-01-04 08:44:55.958 23 ERROR
2019-01-04 08:45:01,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:45:02,369 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:02,403 INFO: no action. i am the leader with the lock
2019-01-04 08:45:11,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:45:12,366 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:45:12,382 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:45:12,478 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:45:22,066 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:45:22,066 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:22,159 INFO: no action. i am the leader with the lock
2019-01-04 08:45:25.972 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:45:31,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:45:32,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:32,655 INFO: no action. i am the leader with the lock
2019-01-04 08:45:41,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:45:42,170 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:42,275 INFO: no action. i am the leader with the lock
2019-01-04 08:45:51,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:45:52,753 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:52,792 INFO: no action. i am the leader with the lock
2019-01-04 08:45:55.982 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:46:01,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:46:02,323 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:02,378 INFO: no action. i am the leader with the lock
2019-01-04 08:46:11,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:46:12,580 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:12,685 INFO: no action. i am the leader with the lock
2019-01-04 08:46:21,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:46:22,169 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:22,281 INFO: no action. i am the leader with the lock
2019-01-04 08:46:26.005 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:46:31,878 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:46:32,109 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:32,135 INFO: no action. i am the leader with the lock
2019-01-04 08:46:41,969 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:46:42,211 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:42,285 INFO: no action. i am the leader with the lock
2019-01-04 08:46:51,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:46:52,628 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:52,686 INFO: no action. i am the leader with the lock
2019-01-04 08:46:56.020 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:47:01,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:47:02,803 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:02,839 INFO: no action. i am the leader with the lock
2019-01-04 08:47:11,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:47:12,192 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:12,226 INFO: no action. i am the leader with the lock
2019-01-04 08:47:22,024 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:47:22,256 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:47:22,357 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:47:22,388 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:47:26.053 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:47:32,068 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:47:32,068 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:32,168 INFO: no action. i am the leader with the lock
2019-01-04 08:47:41,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:47:42,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:42,759 INFO: no action. i am the leader with the lock
2019-01-04 08:47:51,954 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:47:52,276 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:52,386 INFO: no action. i am the leader with the lock
2019-01-04 08:47:56.072 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:48:01,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:48:02,753 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:02,865 INFO: no action. i am the leader with the lock
2019-01-04 08:48:11,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:48:12,024 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:12,053 INFO: no action. i am the leader with the lock
2019-01-04 08:48:21,887 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:48:22,138 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:22,181 INFO: no action. i am the leader with the lock
2019-01-04 08:48:26.087 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:48:31,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:48:32,722 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:32,779 INFO: no action. i am the leader with the lock
2019-01-04 08:48:41,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:48:42,444 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:42,483 INFO: no action. i am the leader with the lock
2019-01-04 08:48:51,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:48:52,194 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:52,283 INFO: no action. i am the leader with the lock
2019-01-04 08:48:56.153 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:48:56.470 23 ERROR connection error: PQconnectPoll
2019-01-04 08:48:56.470 23 ERROR
2019-01-04 08:48:56.471 23 ERROR connection error: PQconnectPoll
2019-01-04 08:48:56.471 23 ERROR
2019-01-04 08:48:56.471 23 WARNING discourse: default timeout
2019-01-04 08:48:56.472 23 ERROR connection error: PQconnectPoll
2019-01-04 08:48:56.472 23 ERROR
2019-01-04 08:48:56.472 23 WARNING postgres: default timeout
2019-01-04 08:49:01,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:49:02,644 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:02,678 INFO: no action. i am the leader with the lock
2019-01-04 08:49:11,958 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:49:12,453 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:49:12,879 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:49:12,958 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:49:22,054 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:49:22,055 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:22,087 INFO: no action. i am the leader with the lock
2019-01-04 08:49:26.165 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:49:31,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:49:32,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:32,183 INFO: no action. i am the leader with the lock
2019-01-04 08:49:41,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:49:42,453 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:42,489 INFO: no action. i am the leader with the lock
2019-01-04 08:49:51,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:49:52,312 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:52,376 INFO: no action. i am the leader with the lock
2019-01-04 08:49:56.253 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:49:56.764 23 ERROR connection error: PQconnectPoll
2019-01-04 08:49:56.764 23 ERROR
2019-01-04 08:49:56.764 23 WARNING discourse: default timeout
2019-01-04 08:49:56.765 23 ERROR connection error: PQconnectPoll
2019-01-04 08:49:56.765 23 ERROR
2019-01-04 08:49:56.766 23 ERROR connection error: PQconnectPoll
2019-01-04 08:49:56.766 23 ERROR
2019-01-04 08:49:56.766 23 WARNING postgres: default timeout
2019-01-04 08:50:01,927 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:50:02,398 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:02,483 INFO: no action. i am the leader with the lock
2019-01-04 08:50:12,077 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:50:12,598 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:50:12,615 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:50:12,637 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:50:22,058 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:50:22,059 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:22,156 INFO: no action. i am the leader with the lock
2019-01-04 08:50:26.262 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:50:31,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:50:32,654 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:32,688 INFO: no action. i am the leader with the lock
2019-01-04 08:50:41,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:50:42,716 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:42,779 INFO: no action. i am the leader with the lock
2019-01-04 08:50:51,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:50:52,604 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:52,679 INFO: no action. i am the leader with the lock
2019-01-04 08:50:56.289 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:51:01,953 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:51:02,815 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:02,878 INFO: no action. i am the leader with the lock
2019-01-04 08:51:11,954 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:51:12,386 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:12,713 INFO: no action. i am the leader with the lock
2019-01-04 08:51:21,885 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:51:22,347 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:22,929 INFO: no action. i am the leader with the lock
2019-01-04 08:51:26.328 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:51:31,971 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:51:32,093 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:51:33,175 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:51:33,267 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:51:42,056 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:51:42,056 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:42,157 INFO: no action. i am the leader with the lock
2019-01-04 08:51:51,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:51:52,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:52,292 INFO: no action. i am the leader with the lock
2019-01-04 08:51:56.357 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:52:01,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:52:02,481 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:02,657 INFO: no action. i am the leader with the lock
2019-01-04 08:52:11,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:52:12,121 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:52:12,138 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:52:12,159 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:52:21,975 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:52:21,976 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:22,059 INFO: no action. i am the leader with the lock
2019-01-04 08:52:26.376 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:52:31,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:52:32,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:32,609 INFO: no action. i am the leader with the lock
2019-01-04 08:52:41,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:52:42,623 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:52:46,534 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:52:46,567 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:52:51,980 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:52:51,981 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:52,092 INFO: no action. i am the leader with the lock
2019-01-04 08:52:56.392 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:53:01,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:53:02,417 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:53:03,059 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:53:03,156 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:53:12,261 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:53:12,273 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:12,774 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:12,854 INFO: PostgreSQL is still starting up, 291 seconds until timeout
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:53:22,055 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:53:22,055 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:22,162 INFO: no action. i am the leader with the lock
2019-01-04 08:53:26.453 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:53:31,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:53:32,725 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:32,757 INFO: no action. i am the leader with the lock
2019-01-04 08:53:41,953 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:53:42,853 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:42,883 INFO: no action. i am the leader with the lock
2019-01-04 08:53:51,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:53:52,207 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:52,284 INFO: no action. i am the leader with the lock
2019-01-04 08:53:56.553 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:54:01,878 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:54:02,370 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:02,485 INFO: no action. i am the leader with the lock
2019-01-04 08:54:11,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:54:12,301 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:12,378 INFO: no action. i am the leader with the lock
2019-01-04 08:54:21,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:54:22,123 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:22,387 INFO: no action. i am the leader with the lock
2019-01-04 08:54:26.572 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:54:31,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:54:32,342 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:32,381 INFO: no action. i am the leader with the lock
2019-01-04 08:54:41,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:54:42,834 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:42,889 INFO: no action. i am the leader with the lock
2019-01-04 08:54:51,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:54:52,323 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:52,381 INFO: no action. i am the leader with the lock
2019-01-04 08:54:56.602 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:55:01,902 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:55:02,314 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:02,380 INFO: no action. i am the leader with the lock
2019-01-04 08:55:11,886 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:55:12,607 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:12,635 INFO: no action. i am the leader with the lock
2019-01-04 08:55:21,877 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:55:22,249 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:22,282 INFO: no action. i am the leader with the lock
2019-01-04 08:55:26.620 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:55:31,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:55:32,333 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:32,383 INFO: no action. i am the leader with the lock
2019-01-04 08:55:41,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:55:41,995 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:55:42,011 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:55:42,075 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:55:52,763 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:55:52,772 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:53,591 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:53,614 INFO: PostgreSQL is still starting up, 289 seconds until timeout
2019-01-04 08:55:56.653 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:56:01,981 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:56:02,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:02,762 INFO: no action. i am the leader with the lock
2019-01-04 08:56:11,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:56:12,853 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:12,955 INFO: no action. i am the leader with the lock
2019-01-04 08:56:21,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:56:22,183 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:22,281 INFO: no action. i am the leader with the lock
2019-01-04 08:56:26.683 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:56:31,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:56:32,564 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:32,679 INFO: no action. i am the leader with the lock
2019-01-04 08:56:41,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:56:42,499 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:42,585 INFO: no action. i am the leader with the lock
2019-01-04 08:56:51,958 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:56:52,289 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:52,381 INFO: no action. i am the leader with the lock
2019-01-04 08:56:56.711 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:57:01,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:57:02,670 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:02,698 INFO: no action. i am the leader with the lock
2019-01-04 08:57:11,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:57:12,524 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:12,586 INFO: no action. i am the leader with the lock
2019-01-04 08:57:21,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:57:22,170 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:57:22,359 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 08:57:22,383 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:57:26.753 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:57:31,984 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:57:31,984 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:32,087 INFO: no action. i am the leader with the lock
2019-01-04 08:57:41,957 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:57:42,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:42,256 INFO: no action. i am the leader with the lock
2019-01-04 08:57:51,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:57:52,167 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:52,196 INFO: no action. i am the leader with the lock
2019-01-04 08:57:56.783 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:58:01,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:58:02,353 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:02,457 INFO: no action. i am the leader with the lock
2019-01-04 08:58:11,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:58:12,765 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:12,865 INFO: no action. i am the leader with the lock
2019-01-04 08:58:21,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:58:22,170 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:22,200 INFO: no action. i am the leader with the lock
2019-01-04 08:58:26.800 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:58:31,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:58:32,736 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:32,776 INFO: no action. i am the leader with the lock
2019-01-04 08:58:41,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:58:42,577 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:42,685 INFO: no action. i am the leader with the lock
2019-01-04 08:58:51,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:58:52,563 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:52,684 INFO: no action. i am the leader with the lock
2019-01-04 08:58:56.830 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:59:01,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:59:02,375 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:02,479 INFO: no action. i am the leader with the lock
2019-01-04 08:59:11,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:59:12,124 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:12,146 INFO: no action. i am the leader with the lock
2019-01-04 08:59:21,958 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:59:22,700 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:22,730 INFO: no action. i am the leader with the lock
2019-01-04 08:59:26.857 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 08:59:31,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:59:32,797 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:32,824 INFO: no action. i am the leader with the lock
2019-01-04 08:59:41,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:59:42,112 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:42,183 INFO: no action. i am the leader with the lock
2019-01-04 08:59:51,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 08:59:52,525 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:52,581 INFO: no action. i am the leader with the lock
2019-01-04 08:59:56.885 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:00:01,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:00:02,763 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:02,884 INFO: no action. i am the leader with the lock
2019-01-04 09:00:11,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:00:12,156 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:12,277 INFO: no action. i am the leader with the lock
2019-01-04 09:00:21,875 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:00:22,137 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:22,167 INFO: no action. i am the leader with the lock
2019-01-04 09:00:26.893 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:00:31,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:00:32,842 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:32,880 INFO: no action. i am the leader with the lock
2019-01-04 09:00:41,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:00:42,682 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:00:42,862 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:00:42,888 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:00:52,062 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:00:52,062 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:52,166 INFO: no action. i am the leader with the lock
2019-01-04 09:00:56.953 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:01:01,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:01:02,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:02,286 INFO: no action. i am the leader with the lock
2019-01-04 09:01:11,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:01:12,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:12,185 INFO: no action. i am the leader with the lock
2019-01-04 09:01:21,878 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:01:22,353 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:22,378 INFO: no action. i am the leader with the lock
2019-01-04 09:01:26.970 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:01:31,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:01:32,657 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:32,754 INFO: no action. i am the leader with the lock
2019-01-04 09:01:41,878 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:01:42,740 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:42,769 INFO: no action. i am the leader with the lock
2019-01-04 09:01:51,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:01:52,534 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:52,580 INFO: no action. i am the leader with the lock
2019-01-04 09:01:56.997 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:02:01,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:02:02,335 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:02,385 INFO: no action. i am the leader with the lock
2019-01-04 09:02:11,975 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:02:12,146 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:12,175 INFO: no action. i am the leader with the lock
2019-01-04 09:02:21,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:02:22,778 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:22,879 INFO: no action. i am the leader with the lock
2019-01-04 09:02:27.020 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:02:31,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:02:32,133 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:32,181 INFO: no action. i am the leader with the lock
2019-01-04 09:02:41,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:02:42,612 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:42,679 INFO: no action. i am the leader with the lock
2019-01-04 09:02:51,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:02:52,553 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:02:52,571 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:02:52,596 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 09:02:57.053 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:02:57.962 23 ERROR connection error: PQconnectPoll
2019-01-04 09:02:57.962 23 ERROR
2019-01-04 09:02:57.962 23 WARNING postgres: default timeout
2019-01-04 09:02:57.964 23 ERROR connection error: PQconnectPoll
2019-01-04 09:02:57.964 23 ERROR
2019-01-04 09:02:57.968 23 ERROR connection error: PQconnectPoll
2019-01-04 09:02:57.968 23 ERROR
2019-01-04 09:02:57.968 23 WARNING discourse: default timeout
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:03:02,065 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:03:02,065 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:02,158 INFO: no action. i am the leader with the lock
2019-01-04 09:03:11,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:03:12,453 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:12,492 INFO: no action. i am the leader with the lock
2019-01-04 09:03:21,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:03:22,853 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:22,885 INFO: no action. i am the leader with the lock
2019-01-04 09:03:27.153 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:03:31,892 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:03:32,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:32,287 INFO: no action. i am the leader with the lock
2019-01-04 09:03:41,957 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:03:42,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:42,584 INFO: no action. i am the leader with the lock
2019-01-04 09:03:51,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:03:52,453 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:52,556 INFO: no action. i am the leader with the lock
2019-01-04 09:03:57.253 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:04:01,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:04:02,353 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:02,456 INFO: no action. i am the leader with the lock
2019-01-04 09:04:11,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:04:12,756 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:12,779 INFO: no action. i am the leader with the lock
2019-01-04 09:04:21,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:04:22,646 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:22,683 INFO: no action. i am the leader with the lock
2019-01-04 09:04:27.265 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:04:31,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:04:32,062 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:32,093 INFO: no action. i am the leader with the lock
2019-01-04 09:04:41,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:04:42,594 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:42,629 INFO: no action. i am the leader with the lock
2019-01-04 09:04:51,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:04:52,741 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:52,777 INFO: no action. i am the leader with the lock
2019-01-04 09:04:57.272 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:05:01,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:05:02,414 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:02,441 INFO: no action. i am the leader with the lock
2019-01-04 09:05:11,958 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:05:12,752 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:12,984 INFO: no action. i am the leader with the lock
2019-01-04 09:05:21,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:05:22,253 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:05:22,354 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:05:22,396 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 09:05:27.301 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:05:32,058 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:05:32,063 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:32,170 INFO: no action. i am the leader with the lock
2019-01-04 09:05:41,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:05:42,754 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:42,858 INFO: no action. i am the leader with the lock
2019-01-04 09:05:51,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:05:52,553 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:52,585 INFO: no action. i am the leader with the lock
2019-01-04 09:05:57.353 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:06:01,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:06:02,228 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:02,264 INFO: no action. i am the leader with the lock
2019-01-04 09:06:11,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:06:12,516 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:12,579 INFO: no action. i am the leader with the lock
2019-01-04 09:06:21,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:06:22,557 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:22,682 INFO: no action. i am the leader with the lock
2019-01-04 09:06:27.381 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:06:31,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:06:31,981 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:32,014 INFO: no action. i am the leader with the lock
2019-01-04 09:06:41,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:06:42,312 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:42,381 INFO: no action. i am the leader with the lock
2019-01-04 09:06:51,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:06:52,112 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:52,138 INFO: no action. i am the leader with the lock
2019-01-04 09:06:57.409 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:07:01,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:07:02,346 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:02,392 INFO: no action. i am the leader with the lock
2019-01-04 09:07:11,958 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:07:12,079 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:12,105 INFO: no action. i am the leader with the lock
2019-01-04 09:07:21,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:07:22,841 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:22,868 INFO: no action. i am the leader with the lock
2019-01-04 09:07:27.453 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:07:31,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:07:32,240 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:32,279 INFO: no action. i am the leader with the lock
2019-01-04 09:07:41,954 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:07:42,246 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:42,283 INFO: no action. i am the leader with the lock
2019-01-04 09:07:51,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:07:52,577 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:52,602 INFO: no action. i am the leader with the lock
2019-01-04 09:07:57.472 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:08:01,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:08:02,106 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:02,144 INFO: no action. i am the leader with the lock
2019-01-04 09:08:11,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:08:12,686 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:12,802 INFO: no action. i am the leader with the lock
2019-01-04 09:08:21,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:08:22,672 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:22,784 INFO: no action. i am the leader with the lock
2019-01-04 09:08:27.476 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:08:31,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:08:32,363 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:32,483 INFO: no action. i am the leader with the lock
2019-01-04 09:08:41,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:08:42,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:42,857 INFO: no action. i am the leader with the lock
2019-01-04 09:08:51,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:08:52,500 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:52,536 INFO: no action. i am the leader with the lock
2019-01-04 09:08:57.553 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:09:01,976 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:09:02,378 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:02,483 INFO: no action. i am the leader with the lock
2019-01-04 09:09:11,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:09:12,697 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:12,796 INFO: no action. i am the leader with the lock
2019-01-04 09:09:21,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:09:22,286 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:22,367 INFO: no action. i am the leader with the lock
2019-01-04 09:09:27.585 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:09:31,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:09:32,783 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:32,956 INFO: no action. i am the leader with the lock
2019-01-04 09:09:41,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:09:42,133 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:42,162 INFO: no action. i am the leader with the lock
2019-01-04 09:09:51,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:09:52,364 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:52,480 INFO: no action. i am the leader with the lock
2019-01-04 09:09:57.609 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:10:01,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:10:02,248 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:02,275 INFO: no action. i am the leader with the lock
2019-01-04 09:10:11,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:10:12,099 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:12,183 INFO: no action. i am the leader with the lock
2019-01-04 09:10:21,886 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:10:22,478 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:22,509 INFO: no action. i am the leader with the lock
2019-01-04 09:10:27.620 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:10:31,958 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:10:32,820 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:32,886 INFO: no action. i am the leader with the lock
2019-01-04 09:10:42,259 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:10:42,381 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:42,475 INFO: no action. i am the leader with the lock
2019-01-04 09:10:51,888 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:10:52,618 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:10:52,679 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:10:52,758 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 09:10:57.653 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:11:01,892 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:11:01,957 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:02,055 INFO: no action. i am the leader with the lock
2019-01-04 09:11:11,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:11:12,153 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:12,256 INFO: no action. i am the leader with the lock
2019-01-04 09:11:21,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:11:22,853 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:22,881 INFO: no action. i am the leader with the lock
2019-01-04 09:11:27.682 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:11:31,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:11:32,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:32,754 INFO: no action. i am the leader with the lock
2019-01-04 09:11:41,885 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:11:42,160 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:42,455 INFO: no action. i am the leader with the lock
2019-01-04 09:11:51,967 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:11:52,753 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:52,780 INFO: no action. i am the leader with the lock
2019-01-04 09:11:57.753 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:12:01,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:12:02,333 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:02,386 INFO: no action. i am the leader with the lock
2019-01-04 09:12:11,892 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:12:12,734 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:12,781 INFO: no action. i am the leader with the lock
2019-01-04 09:12:21,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:12:22,758 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:22,983 INFO: no action. i am the leader with the lock
2019-01-04 09:12:27.772 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:12:31,878 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:12:32,570 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:32,689 INFO: no action. i am the leader with the lock
2019-01-04 09:12:41,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:12:42,184 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:42,282 INFO: no action. i am the leader with the lock
2019-01-04 09:12:51,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:12:52,741 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:52,771 INFO: no action. i am the leader with the lock
2019-01-04 09:12:57.784 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:13:01,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:13:02,097 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:02,129 INFO: no action. i am the leader with the lock
2019-01-04 09:13:11,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:13:12,827 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:12,890 INFO: no action. i am the leader with the lock
2019-01-04 09:13:21,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:13:22,256 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:22,381 INFO: no action. i am the leader with the lock
2019-01-04 09:13:27.816 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:13:31,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:13:32,367 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:32,484 INFO: no action. i am the leader with the lock
2019-01-04 09:13:41,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:13:42,175 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:42,273 INFO: no action. i am the leader with the lock
2019-01-04 09:13:51,999 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:13:52,460 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:52,580 INFO: no action. i am the leader with the lock
2019-01-04 09:13:57.846 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:14:01,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:14:02,810 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:02,840 INFO: no action. i am the leader with the lock
2019-01-04 09:14:11,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:14:12,474 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:12,585 INFO: no action. i am the leader with the lock
2019-01-04 09:14:21,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:14:22,486 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:22,611 INFO: no action. i am the leader with the lock
2019-01-04 09:14:27.867 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:14:31,890 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:14:32,211 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:32,284 INFO: no action. i am the leader with the lock
2019-01-04 09:14:41,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:14:42,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:42,282 INFO: no action. i am the leader with the lock
2019-01-04 09:14:51,953 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:14:52,153 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:14:52,172 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:14:52,201 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 09:14:57.872 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:15:01,987 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:15:01,987 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:02,155 INFO: no action. i am the leader with the lock
2019-01-04 09:15:11,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:15:12,164 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:12,278 INFO: no action. i am the leader with the lock
2019-01-04 09:15:21,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:15:22,764 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:22,856 INFO: no action. i am the leader with the lock
2019-01-04 09:15:27.953 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:15:31,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:15:32,528 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:32,582 INFO: no action. i am the leader with the lock
2019-01-04 09:15:41,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:15:42,382 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:42,476 INFO: no action. i am the leader with the lock
2019-01-04 09:15:51,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:15:52,493 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:52,579 INFO: no action. i am the leader with the lock
2019-01-04 09:15:57.983 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:16:01,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:16:02,186 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:02,283 INFO: no action. i am the leader with the lock
2019-01-04 09:16:11,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:16:12,781 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:12,879 INFO: no action. i am the leader with the lock
2019-01-04 09:16:21,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:16:22,795 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:22,884 INFO: no action. i am the leader with the lock
2019-01-04 09:16:28.009 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:16:31,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:16:32,102 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:32,279 INFO: no action. i am the leader with the lock
2019-01-04 09:16:41,878 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:16:42,139 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:16:42,171 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:16:42,281 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:16:52,055 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:16:52,056 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:52,163 INFO: no action. i am the leader with the lock
2019-01-04 09:16:58.020 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:17:01,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:17:02,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:02,292 INFO: no action. i am the leader with the lock
2019-01-04 09:17:11,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:17:12,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:12,289 INFO: no action. i am the leader with the lock
2019-01-04 09:17:21,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:17:22,778 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:22,884 INFO: no action. i am the leader with the lock
2019-01-04 09:17:28.042 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:17:31,885 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:17:32,576 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:32,690 INFO: no action. i am the leader with the lock
2019-01-04 09:17:41,883 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:17:42,655 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:42,690 INFO: no action. i am the leader with the lock
2019-01-04 09:17:51,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:17:52,113 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:52,140 INFO: no action. i am the leader with the lock
2019-01-04 09:17:58.072 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:18:01,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:18:02,245 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:02,272 INFO: no action. i am the leader with the lock
2019-01-04 09:18:11,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:18:12,782 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:12,880 INFO: no action. i am the leader with the lock
2019-01-04 09:18:21,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:18:22,600 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:22,623 INFO: no action. i am the leader with the lock
2019-01-04 09:18:28.099 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:18:31,886 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:18:32,218 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:32,274 INFO: no action. i am the leader with the lock
2019-01-04 09:18:41,887 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:18:42,078 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:42,180 INFO: no action. i am the leader with the lock
2019-01-04 09:18:52,015 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:18:52,286 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:18:52,372 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:18:52,457 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 09:18:58.120 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:19:01,979 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:19:01,980 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:02,155 INFO: no action. i am the leader with the lock
2019-01-04 09:19:11,994 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:19:12,654 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:12,765 INFO: no action. i am the leader with the lock
2019-01-04 09:19:21,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:19:22,254 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:22,456 INFO: no action. i am the leader with the lock
2019-01-04 09:19:28.153 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:19:31,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:19:32,101 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:32,130 INFO: no action. i am the leader with the lock
2019-01-04 09:19:41,965 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:19:42,306 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:42,337 INFO: no action. i am the leader with the lock
2019-01-04 09:19:51,887 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:19:52,494 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:52,534 INFO: no action. i am the leader with the lock
2019-01-04 09:19:58.253 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:20:01,956 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:20:02,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:02,380 INFO: no action. i am the leader with the lock
2019-01-04 09:20:11,970 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:20:12,721 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:12,745 INFO: no action. i am the leader with the lock
2019-01-04 09:20:21,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:20:22,116 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:22,144 INFO: no action. i am the leader with the lock
2019-01-04 09:20:28.281 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:20:31,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:20:32,587 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:32,637 INFO: no action. i am the leader with the lock
2019-01-04 09:20:41,963 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:20:42,294 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:42,380 INFO: no action. i am the leader with the lock
2019-01-04 09:20:51,954 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:20:52,746 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:52,780 INFO: no action. i am the leader with the lock
2019-01-04 09:20:58.299 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:21:01,885 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:21:02,738 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:02,779 INFO: no action. i am the leader with the lock
2019-01-04 09:21:11,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:21:12,253 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:21:12,758 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:21:12,787 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:21:21,980 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:21:21,980 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:22,171 INFO: no action. i am the leader with the lock
2019-01-04 09:21:28.353 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:21:31,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:21:32,322 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:32,385 INFO: no action. i am the leader with the lock
2019-01-04 09:21:41,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:21:41,981 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:42,016 INFO: no action. i am the leader with the lock
2019-01-04 09:21:51,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:21:52,441 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:52,501 INFO: no action. i am the leader with the lock
2019-01-04 09:21:58.381 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:22:01,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:22:01,982 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:22:02,001 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:22:02,025 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:22:12,365 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:22:12,373 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:12,649 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:12,669 INFO: PostgreSQL is still starting up, 290 seconds until timeout
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:22:22,057 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:22:22,638 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:22:22,668 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:22:22,686 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 09:22:28.414 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:22:31,983 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:22:32,054 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:32,157 INFO: no action. i am the leader with the lock
2019-01-04 09:22:41,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:22:42,453 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:42,556 INFO: no action. i am the leader with the lock
2019-01-04 09:22:51,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:22:52,466 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:52,570 INFO: no action. i am the leader with the lock
2019-01-04 09:22:58.453 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:22:59.177 23 ERROR connection error: PQconnectPoll
2019-01-04 09:22:59.177 23 ERROR
2019-01-04 09:22:59.177 23 WARNING discourse: default timeout
2019-01-04 09:23:01,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:23:02,472 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:02,606 INFO: no action. i am the leader with the lock
2019-01-04 09:23:11,957 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:23:12,648 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:12,674 INFO: no action. i am the leader with the lock
2019-01-04 09:23:21,878 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:23:22,359 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:22,477 INFO: no action. i am the leader with the lock
2019-01-04 09:23:28.553 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:23:31,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:23:32,272 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:32,380 INFO: no action. i am the leader with the lock
2019-01-04 09:23:41,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:23:42,573 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:42,602 INFO: no action. i am the leader with the lock
2019-01-04 09:23:51,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:23:52,555 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:52,682 INFO: no action. i am the leader with the lock
2019-01-04 09:23:58.581 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:24:01,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:24:02,395 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:02,486 INFO: no action. i am the leader with the lock
2019-01-04 09:24:11,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:24:12,312 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:12,396 INFO: no action. i am the leader with the lock
2019-01-04 09:24:21,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:24:22,404 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:22,474 INFO: no action. i am the leader with the lock
2019-01-04 09:24:28.653 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:24:31,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:24:32,100 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:32,124 INFO: no action. i am the leader with the lock
2019-01-04 09:24:41,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:24:42,176 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:42,205 INFO: no action. i am the leader with the lock
2019-01-04 09:24:51,969 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:24:52,611 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:52,674 INFO: no action. i am the leader with the lock
2019-01-04 09:24:58.753 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:25:01,961 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:25:02,803 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:02,901 INFO: no action. i am the leader with the lock
2019-01-04 09:25:11,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:25:12,111 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:12,185 INFO: no action. i am the leader with the lock
2019-01-04 09:25:21,955 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:25:22,747 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:22,771 INFO: no action. i am the leader with the lock
2019-01-04 09:25:28.781 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:25:31,964 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:25:32,715 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:32,740 INFO: no action. i am the leader with the lock
2019-01-04 09:25:41,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:25:42,221 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:42,283 INFO: no action. i am the leader with the lock
2019-01-04 09:25:51,879 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:25:52,594 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:52,684 INFO: no action. i am the leader with the lock
2019-01-04 09:25:58.811 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:26:01,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:26:02,714 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:02,784 INFO: no action. i am the leader with the lock
2019-01-04 09:26:11,885 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:26:12,406 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:12,473 INFO: no action. i am the leader with the lock
2019-01-04 09:26:21,918 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:26:22,430 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:22,457 INFO: no action. i am the leader with the lock
2019-01-04 09:26:28.838 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:26:31,882 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:26:32,383 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:32,474 INFO: no action. i am the leader with the lock
2019-01-04 09:26:41,884 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:26:42,464 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:42,582 INFO: no action. i am the leader with the lock
2019-01-04 09:26:51,917 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:26:52,129 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:26:52,255 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:26:52,301 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 09:26:58.866 23 LOG {ticks: 0, maint: 0, retry: 0}
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:27:02,134 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:27:02,134 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:02,794 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:02,827 INFO: no action. i am the leader with the lock
2019-01-04 09:27:11,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:27:12,637 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:27:12,766 ERROR: Exception when called state_handler.last_operation()
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/ha.py", line 122, in update_lock
last_operation = self.state_handler.last_operation()
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 1575, in last_operation
return str(self._cluster_info_state_get('wal_position'))
File "/usr/local/lib/python3.6/dist-packages/patroni/postgresql.py", line 749, in _cluster_info_state_get
raise PostgresConnectionException(self._cluster_info_state['error'])
patroni.exceptions.PostgresConnectionException: "'Too many retry attempts'"
2019-01-04 09:27:12,799 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:27:22,065 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:27:22,066 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:22,168 INFO: no action. i am the leader with the lock
2019-01-04 09:27:28.877 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:27:31,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:27:32,771 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:32,869 INFO: no action. i am the leader with the lock
2019-01-04 09:27:41,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:27:42,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:42,682 INFO: no action. i am the leader with the lock
2019-01-04 09:27:51,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:27:52,753 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:52,856 INFO: no action. i am the leader with the lock
2019-01-04 09:27:58.958 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:27:59.759 23 ERROR connection error: PQconnectPoll
2019-01-04 09:27:59.759 23 ERROR
2019-01-04 09:27:59.759 23 WARNING postgres: default timeout
2019-01-04 09:27:59.762 23 ERROR connection error: PQconnectPoll
2019-01-04 09:27:59.762 23 ERROR
2019-01-04 09:27:59.766 23 ERROR connection error: PQconnectPoll
2019-01-04 09:27:59.766 23 ERROR
2019-01-04 09:27:59.766 23 WARNING discourse: default timeout
2019-01-04 09:28:01,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:28:02,230 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:02,285 INFO: no action. i am the leader with the lock
2019-01-04 09:28:11,892 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:28:12,654 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:12,783 INFO: no action. i am the leader with the lock
2019-01-04 09:28:21,968 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:28:22,499 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:22,576 INFO: no action. i am the leader with the lock
2019-01-04 09:28:29.053 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:28:31,960 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:28:32,181 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:32,282 INFO: no action. i am the leader with the lock
2019-01-04 09:28:41,966 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:28:42,627 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:42,692 INFO: no action. i am the leader with the lock
2019-01-04 09:28:51,881 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:28:52,393 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:52,482 INFO: no action. i am the leader with the lock
2019-01-04 09:28:59.081 23 LOG {ticks: 0, maint: 0, retry: 0}
2019-01-04 09:29:01,880 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:29:02,752 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:29:02,879 INFO: no action. i am the leader with the lock
2019-01-04 09:29:11,962 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:29:12,623 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:29:12,678 INFO: no action. i am the leader with the lock
2019-01-04 09:29:21,959 INFO: Lock owner: discourse-production-1; I am discourse-production-1
2019-01-04 09:29:22,731 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:29:22,758 INFO: no action. i am the leader with the lock
decompressing spilo image...
2019-01-04 08:06:50,981 - bootstrapping - INFO - Figuring out my environment (Google? AWS? Openstack? Local?)
2019-01-04 08:06:51,014 - bootstrapping - INFO - No meta-data available for this provider
2019-01-04 08:06:51,015 - bootstrapping - INFO - Looks like your running unsupported
2019-01-04 08:06:51,087 - bootstrapping - WARNING - could not parse kubernetes labels as a JSON: Expecting value: line 1 column 1 (char 0), reverting to the default: {"application": "spilo"}
2019-01-04 08:06:51,090 - bootstrapping - INFO - Configuring bootstrap
2019-01-04 08:06:51,091 - bootstrapping - INFO - Configuring patroni
2019-01-04 08:06:51,101 - bootstrapping - INFO - Writing to file /home/postgres/postgres.yml
2019-01-04 08:06:51,101 - bootstrapping - INFO - Configuring certificate
2019-01-04 08:06:51,102 - bootstrapping - INFO - Generating ssl certificate
2019-01-04 08:06:51,810 - bootstrapping - INFO - Configuring wal-e
2019-01-04 08:06:51,810 - bootstrapping - INFO - Configuring patronictl
2019-01-04 08:06:51,810 - bootstrapping - INFO - Configuring log
2019-01-04 08:06:51,811 - bootstrapping - INFO - Configuring crontab
2019-01-04 08:06:51,812 - bootstrapping - INFO - Configuring pam-oauth2
2019-01-04 08:06:51,812 - bootstrapping - INFO - No PAM_OAUTH2 configuration was specified, skipping
2019-01-04 08:06:51,812 - bootstrapping - INFO - Configuring pgbouncer
2019-01-04 08:06:51,812 - bootstrapping - INFO - No PGBOUNCER_CONFIGURATION was specified, skipping
2019-01-04 08:06:52,789 CRIT Supervisor is running as root. Privileges were not dropped because no user is specified in the config file. If you intend to run as root, you can set user=root in the config file to avoid this message.
2019-01-04 08:06:52,790 INFO Included extra file "/etc/supervisor/conf.d/cron.conf" during parsing
2019-01-04 08:06:52,790 INFO Included extra file "/etc/supervisor/conf.d/patroni.conf" during parsing
2019-01-04 08:06:52,790 INFO Included extra file "/etc/supervisor/conf.d/pgq.conf" during parsing
2019-01-04 08:06:52,798 INFO RPC interface 'supervisor' initialized
2019-01-04 08:06:52,798 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2019-01-04 08:06:52,798 INFO supervisord started with pid 1
2019-01-04 08:06:53,801 INFO spawned: 'cron' with pid 21
2019-01-04 08:06:53,803 INFO spawned: 'patroni' with pid 22
2019-01-04 08:06:53,885 INFO spawned: 'pgq' with pid 23
2019-01-04 08:06:54,887 INFO success: cron entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-01-04 08:06:54,888 INFO success: patroni entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-01-04 08:06:54,888 INFO success: pgq entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-01-04 08:06:56,089 WARNING: Postgresql is not running.
2019-01-04 08:06:56,089 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:06:56,105 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:06:56,181 INFO: Local timeline=None lsn=None
2019-01-04 08:06:56,200 INFO: starting as a secondary
2019-01-04 08:06:56,385 INFO: postmaster pid=45
/var/run/postgresql:5432 - no response
2019-01-04 08:06:56 UTC [45]: [1-1] 5c2f1420.2d 0 LOG: listening on IPv4 address "0.0.0.0", port 5432
2019-01-04 08:06:56 UTC [45]: [2-1] 5c2f1420.2d 0 LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2019-01-04 08:06:56 UTC [45]: [3-1] 5c2f1420.2d 0 LOG: redirecting log output to logging collector process
2019-01-04 08:06:56 UTC [45]: [4-1] 5c2f1420.2d 0 HINT: Future log output will appear in directory "../pg_log".
/var/run/postgresql:5432 - accepting connections
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:06:57,680 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:06:57,681 INFO: does not have lock
2019-01-04 08:06:57,682 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:06:57,712 INFO: Local timeline=6 lsn=0/17280000
2019-01-04 08:06:57,743 INFO: master_timeline=6
2019-01-04 08:06:57,744 INFO: master: history=1 0/19B8528 no recovery target specified
2 0/15000098 no recovery target specified
3 0/16000098 no recovery target specified
4 0/17000098 no recovery target specified
5 0/172365B0 no recovery target specified
2019-01-04 08:06:57,817 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:07:02,209 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:07:02,210 INFO: does not have lock
2019-01-04 08:07:02,851 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:02,896 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:07:12,112 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:07:12,112 INFO: does not have lock
2019-01-04 08:07:12,633 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:12,696 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:07:12,825 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:07:12,825 INFO: does not have lock
2019-01-04 08:07:12,827 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:07:22,816 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:07:22,817 INFO: does not have lock
2019-01-04 08:07:23,268 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:23,297 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:07:32,309 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:07:32,309 INFO: does not have lock
2019-01-04 08:07:32,870 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:32,895 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:07:41,993 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:07:41,994 INFO: does not have lock
2019-01-04 08:07:42,355 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:42,374 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:07:42,905 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:07:42,905 INFO: does not have lock
2019-01-04 08:07:42,906 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:07:52,618 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:07:52,619 INFO: does not have lock
2019-01-04 08:07:52,930 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:07:52,997 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:08:02,907 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:08:02,907 INFO: does not have lock
2019-01-04 08:08:03,328 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:03,402 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:08:12,509 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:08:12,509 INFO: does not have lock
2019-01-04 08:08:13,341 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:13,383 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:08:13,519 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:08:13,519 INFO: does not have lock
2019-01-04 08:08:13,529 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:08:22,290 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:08:22,291 INFO: does not have lock
2019-01-04 08:08:22,672 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:22,692 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:08:31,887 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:08:31,888 INFO: does not have lock
2019-01-04 08:08:32,739 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:08:33,095 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:08:33,302 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:08:33,303 INFO: does not have lock
2019-01-04 08:08:33,303 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:33,395 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:08:42,533 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:08:42,534 INFO: does not have lock
2019-01-04 08:08:42,955 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:42,979 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:08:52,056 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:08:52,056 INFO: does not have lock
2019-01-04 08:08:52,827 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:08:52,850 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:08:52,977 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:08:52,977 INFO: does not have lock
2019-01-04 08:08:52,978 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:09:02,510 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:02,511 INFO: does not have lock
2019-01-04 08:09:03,142 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:03,164 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:09:12,203 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:12,205 INFO: does not have lock
2019-01-04 08:09:12,596 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:09:12,832 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:09:13,014 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:13,015 INFO: Still starting up as a standby.
2019-01-04 08:09:13,015 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:13,015 INFO: does not have lock
2019-01-04 08:09:13,015 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:13,910 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:13,997 INFO: no action. i am a secondary and i am following a leader
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:09:23,187 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:23,187 INFO: Still starting up as a standby.
2019-01-04 08:09:23,188 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:23,188 INFO: does not have lock
2019-01-04 08:09:23,959 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:23,994 INFO: no action. i am a secondary and i am following a leader
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:09:33,089 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:33,090 INFO: does not have lock
2019-01-04 08:09:33,377 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:33,409 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:09:42,594 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:42,595 INFO: does not have lock
2019-01-04 08:09:43,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:43,503 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:09:43,778 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:43,779 INFO: does not have lock
2019-01-04 08:09:43,780 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:09:52,829 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:09:52,829 INFO: does not have lock
2019-01-04 08:09:53,130 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:09:53,201 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:10:02,303 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:10:02,304 INFO: does not have lock
2019-01-04 08:10:02,915 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:02,994 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:10:12,105 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:10:12,105 INFO: does not have lock
2019-01-04 08:10:12,379 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:12,560 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:10:12,693 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:10:12,693 INFO: does not have lock
2019-01-04 08:10:12,695 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:10:22,626 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:10:22,628 INFO: does not have lock
2019-01-04 08:10:23,079 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:23,099 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:10:32,197 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:10:32,198 INFO: does not have lock
2019-01-04 08:10:33,069 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:33,105 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:10:42,212 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:10:42,212 INFO: does not have lock
2019-01-04 08:10:42,443 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:42,462 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:10:52,598 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:10:52,598 INFO: does not have lock
2019-01-04 08:10:52,869 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:10:52,897 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:10:53,023 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:10:53,024 INFO: does not have lock
2019-01-04 08:10:53,025 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:11:02,132 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:11:02,132 INFO: does not have lock
2019-01-04 08:11:02,293 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:02,398 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:11:12,222 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:11:12,223 INFO: does not have lock
2019-01-04 08:11:12,944 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:12,980 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:11:22,102 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:11:22,102 INFO: does not have lock
2019-01-04 08:11:22,403 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:22,635 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:11:22,766 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:11:22,766 INFO: does not have lock
2019-01-04 08:11:22,767 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:11:32,421 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:11:32,422 INFO: does not have lock
2019-01-04 08:11:33,053 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:33,085 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:11:42,191 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:11:42,191 INFO: does not have lock
2019-01-04 08:11:42,932 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:42,993 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:11:43,119 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:11:43,120 INFO: does not have lock
2019-01-04 08:11:43,121 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:11:52,441 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:11:52,442 INFO: does not have lock
2019-01-04 08:11:52,812 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:11:52,977 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:12:02,046 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:12:02,048 INFO: does not have lock
2019-01-04 08:12:02,377 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:12:02,415 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:12:02,803 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:12:02,804 INFO: does not have lock
2019-01-04 08:12:02,805 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:03,127 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:12:13,316 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:12:13,317 INFO: does not have lock
2019-01-04 08:12:13,487 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:13,508 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:12:22,624 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:12:22,625 INFO: does not have lock
2019-01-04 08:12:23,257 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:23,335 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:12:32,498 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:12:32,498 INFO: does not have lock
2019-01-04 08:12:32,739 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:32,772 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:12:32,901 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:12:32,902 INFO: does not have lock
2019-01-04 08:12:32,903 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:12:42,310 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:12:42,311 INFO: does not have lock
2019-01-04 08:12:42,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:12:42,600 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:12:52,190 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:12:52,191 INFO: does not have lock
2019-01-04 08:12:52,862 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:12:53,013 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:13:02,200 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:02,277 INFO: does not have lock
2019-01-04 08:13:02,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:02,939 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:02,959 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:13:12,085 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:12,088 INFO: does not have lock
2019-01-04 08:13:12,399 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:13:12,594 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:13:12,791 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:12,791 INFO: Still starting up as a standby.
2019-01-04 08:13:12,791 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:12,791 INFO: does not have lock
2019-01-04 08:13:12,791 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:13,424 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:13,442 INFO: no action. i am a secondary and i am following a leader
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:13:22,590 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:22,590 INFO: does not have lock
2019-01-04 08:13:23,302 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:13:23,614 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:13:23,757 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:23,758 INFO: Still starting up as a standby.
2019-01-04 08:13:23,759 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:23,759 INFO: does not have lock
2019-01-04 08:13:23,759 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:24,123 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:24,175 INFO: no action. i am a secondary and i am following a leader
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:13:32,978 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:32,978 INFO: does not have lock
2019-01-04 08:13:33,761 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:13:33,810 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:13:42,782 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:42,783 INFO: does not have lock
2019-01-04 08:13:42,783 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:42,880 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:13:52,583 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:13:52,583 INFO: does not have lock
2019-01-04 08:13:52,876 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:13:52,905 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:13:54,685 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:14:02,690 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:14:02,692 INFO: does not have lock
2019-01-04 08:14:02,693 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:02,804 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:14:12,134 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:14:12,135 INFO: does not have lock
2019-01-04 08:14:12,777 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:12,880 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:14:22,101 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:14:22,102 INFO: does not have lock
2019-01-04 08:14:22,232 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:22,271 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:14:22,401 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:14:22,402 INFO: does not have lock
2019-01-04 08:14:22,403 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:14:32,588 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:14:32,588 INFO: does not have lock
2019-01-04 08:14:33,140 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:33,203 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:14:42,399 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:14:42,400 INFO: does not have lock
2019-01-04 08:14:42,651 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:42,674 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:14:52,791 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:14:52,791 INFO: does not have lock
2019-01-04 08:14:53,152 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:14:53,208 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:14:54,789 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:15:02,315 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:15:02,315 INFO: does not have lock
2019-01-04 08:15:02,316 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:02,333 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:15:02,815 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:15:02,815 INFO: does not have lock
2019-01-04 08:15:02,817 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:15:12,986 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:15:12,987 INFO: does not have lock
2019-01-04 08:15:13,378 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:13,495 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:15:22,416 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:15:22,416 INFO: does not have lock
2019-01-04 08:15:22,737 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:22,795 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:15:32,814 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:15:32,814 INFO: does not have lock
2019-01-04 08:15:33,577 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:33,598 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:15:42,786 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:15:42,787 INFO: does not have lock
2019-01-04 08:15:43,058 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:43,097 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:15:43,223 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:15:43,223 INFO: does not have lock
2019-01-04 08:15:43,224 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:15:52,910 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:15:52,911 INFO: does not have lock
2019-01-04 08:15:53,061 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:15:53,079 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:16:02,334 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:16:02,334 INFO: does not have lock
2019-01-04 08:16:02,745 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:02,795 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:16:12,898 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:16:12,898 INFO: does not have lock
2019-01-04 08:16:13,549 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:13,581 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:16:22,190 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:16:22,191 INFO: does not have lock
2019-01-04 08:16:22,611 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:22,680 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:16:31,719 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:16:31,720 INFO: does not have lock
2019-01-04 08:16:32,241 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:32,280 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:16:32,601 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:16:32,601 INFO: does not have lock
2019-01-04 08:16:32,602 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:16:42,703 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:16:42,703 INFO: does not have lock
2019-01-04 08:16:43,285 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:43,381 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:16:52,423 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:16:52,424 INFO: does not have lock
2019-01-04 08:16:53,095 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:16:53,194 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:16:53,319 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:16:53,320 INFO: does not have lock
2019-01-04 08:16:53,328 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:17:02,201 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:17:02,201 INFO: does not have lock
2019-01-04 08:17:02,922 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:02,999 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:17:12,188 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:17:12,189 INFO: does not have lock
2019-01-04 08:17:12,549 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:12,589 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:17:12,720 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:17:12,720 INFO: does not have lock
2019-01-04 08:17:12,721 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:17:22,825 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:17:22,826 INFO: does not have lock
2019-01-04 08:17:23,427 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:23,447 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:17:32,307 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:17:32,307 INFO: does not have lock
2019-01-04 08:17:32,468 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:32,495 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:17:42,602 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:17:42,603 INFO: does not have lock
2019-01-04 08:17:42,973 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:42,997 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:17:43,124 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:17:43,125 INFO: does not have lock
2019-01-04 08:17:43,126 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:17:52,716 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:17:52,717 INFO: does not have lock
2019-01-04 08:17:52,848 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:17:52,878 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:18:02,250 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:18:02,250 INFO: does not have lock
2019-01-04 08:18:03,092 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:03,200 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:18:12,510 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:18:12,510 INFO: does not have lock
2019-01-04 08:18:12,822 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:12,896 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:18:22,003 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:18:22,004 INFO: does not have lock
2019-01-04 08:18:22,435 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:22,501 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:18:22,631 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:18:22,631 INFO: does not have lock
2019-01-04 08:18:22,632 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:18:32,634 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:18:32,634 INFO: does not have lock
2019-01-04 08:18:33,406 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:33,494 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:18:42,527 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:18:42,528 INFO: does not have lock
2019-01-04 08:18:42,769 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:42,791 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:18:42,922 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:18:42,923 INFO: does not have lock
2019-01-04 08:18:42,924 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:18:52,528 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:18:52,529 INFO: does not have lock
2019-01-04 08:18:52,630 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:18:52,651 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:19:02,424 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:02,424 INFO: does not have lock
2019-01-04 08:19:02,795 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:02,898 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:19:12,096 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:12,096 INFO: does not have lock
2019-01-04 08:19:12,798 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:12,894 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:19:13,021 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:13,022 INFO: does not have lock
2019-01-04 08:19:13,023 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:19:22,281 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:22,282 INFO: does not have lock
2019-01-04 08:19:22,793 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:22,896 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:19:32,016 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:32,016 INFO: does not have lock
2019-01-04 08:19:32,147 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:19:32,195 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:19:32,335 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:32,338 INFO: Still starting up as a standby.
2019-01-04 08:19:32,338 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:32,338 INFO: does not have lock
2019-01-04 08:19:32,338 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:32,481 INFO: no action. i am a secondary and i am following a leader
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:19:42,694 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:42,695 INFO: does not have lock
2019-01-04 08:19:43,067 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:43,091 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:19:43,216 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:43,216 INFO: does not have lock
2019-01-04 08:19:43,218 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:19:52,615 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:19:52,615 INFO: does not have lock
2019-01-04 08:19:53,066 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:19:53,197 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:20:02,439 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:20:02,440 INFO: does not have lock
2019-01-04 08:20:02,751 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:02,778 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:20:12,300 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:20:12,301 INFO: does not have lock
2019-01-04 08:20:13,073 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:13,099 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:20:22,306 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:20:22,306 INFO: does not have lock
2019-01-04 08:20:22,837 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:22,932 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:20:23,056 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:20:23,056 INFO: does not have lock
2019-01-04 08:20:23,067 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:20:32,508 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:20:32,577 INFO: does not have lock
2019-01-04 08:20:33,241 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:33,293 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:20:42,217 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:20:42,217 INFO: does not have lock
2019-01-04 08:20:43,028 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:43,046 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:20:52,186 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:20:52,187 INFO: does not have lock
2019-01-04 08:20:53,088 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:20:53,111 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:20:53,240 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:20:53,241 INFO: does not have lock
2019-01-04 08:20:53,247 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:21:02,098 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:21:02,098 INFO: does not have lock
2019-01-04 08:21:02,439 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:21:02,916 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:21:12,185 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:21:12,186 INFO: does not have lock
2019-01-04 08:21:12,186 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:12,284 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:21:12,826 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:21:12,826 INFO: does not have lock
2019-01-04 08:21:13,427 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:13,433 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:21:22,597 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:21:22,598 INFO: does not have lock
2019-01-04 08:21:23,359 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:23,364 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:21:23,492 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:21:23,493 INFO: does not have lock
2019-01-04 08:21:23,493 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:21:32,401 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:21:32,401 INFO: does not have lock
2019-01-04 08:21:32,592 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:32,602 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:21:42,877 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:21:42,877 INFO: does not have lock
2019-01-04 08:21:43,278 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:21:43,300 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:21:52,490 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:21:52,491 INFO: does not have lock
2019-01-04 08:21:52,631 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:21:53,013 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:22:02,200 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:22:02,200 INFO: does not have lock
2019-01-04 08:22:02,201 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:02,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:02,506 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:22:02,702 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:22:02,703 INFO: does not have lock
2019-01-04 08:22:03,284 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:03,397 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:22:12,396 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:22:12,397 INFO: does not have lock
2019-01-04 08:22:13,148 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:13,172 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:22:22,207 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:22:22,277 INFO: does not have lock
2019-01-04 08:22:22,879 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:22:23,199 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:22:23,482 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:22:23,483 INFO: does not have lock
2019-01-04 08:22:23,484 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:23,579 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:22:32,685 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:22:32,686 INFO: does not have lock
2019-01-04 08:22:32,877 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:22:33,107 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:22:42,383 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:22:42,384 INFO: does not have lock
2019-01-04 08:22:42,384 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:22:42,408 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:22:42,785 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:22:42,786 INFO: does not have lock
2019-01-04 08:22:42,787 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:22:52,684 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:22:52,689 INFO: does not have lock
2019-01-04 08:22:52,990 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:22:53,099 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:23:02,387 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:23:02,387 INFO: does not have lock
2019-01-04 08:23:02,387 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:02,990 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:23:03,229 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:23:12,481 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:23:12,482 INFO: does not have lock
2019-01-04 08:23:12,482 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:12,518 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:23:12,789 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:23:12,789 INFO: does not have lock
2019-01-04 08:23:12,790 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:23:22,778 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:23:22,779 INFO: does not have lock
2019-01-04 08:23:23,300 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:23:23,396 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:23:32,483 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:23:32,484 INFO: does not have lock
2019-01-04 08:23:32,484 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:32,578 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:23:42,596 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:23:42,596 INFO: does not have lock
2019-01-04 08:23:42,797 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:42,831 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:23:52,599 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:23:52,600 INFO: does not have lock
2019-01-04 08:23:53,122 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:23:53,180 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:23:55,690 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:24:02,305 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:24:02,377 INFO: does not have lock
2019-01-04 08:24:02,377 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:02,398 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:24:02,794 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:24:02,796 INFO: does not have lock
2019-01-04 08:24:02,798 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:24:12,779 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:24:12,781 INFO: does not have lock
2019-01-04 08:24:13,484 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:13,507 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:24:22,621 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:24:22,677 INFO: does not have lock
2019-01-04 08:24:22,788 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:23,086 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:24:32,324 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:24:32,324 INFO: does not have lock
2019-01-04 08:24:32,977 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:33,008 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:24:42,999 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:24:43,000 INFO: does not have lock
2019-01-04 08:24:43,895 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:43,979 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:24:52,599 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:24:52,605 INFO: does not have lock
2019-01-04 08:24:52,886 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:24:52,907 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:24:55,784 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:25:02,879 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:25:02,879 INFO: does not have lock
2019-01-04 08:25:02,879 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:02,888 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:25:12,498 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:25:12,498 INFO: does not have lock
2019-01-04 08:25:13,377 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:13,403 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:25:22,202 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:25:22,202 INFO: does not have lock
2019-01-04 08:25:22,803 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:22,896 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:25:32,082 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:25:32,083 INFO: does not have lock
2019-01-04 08:25:32,194 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:32,216 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:25:32,340 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:25:32,340 INFO: does not have lock
2019-01-04 08:25:32,341 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:25:42,495 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:25:42,495 INFO: does not have lock
2019-01-04 08:25:43,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:43,306 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:25:43,504 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:25:43,505 INFO: does not have lock
2019-01-04 08:25:43,577 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:25:52,223 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:25:52,223 INFO: does not have lock
2019-01-04 08:25:52,354 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:25:52,371 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:25:55,890 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:26:02,244 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:26:02,245 INFO: does not have lock
2019-01-04 08:26:02,245 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:02,280 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:26:12,111 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:26:12,111 INFO: does not have lock
2019-01-04 08:26:12,702 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:12,718 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:26:21,903 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:26:21,903 INFO: does not have lock
2019-01-04 08:26:22,795 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:22,895 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:26:23,027 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:26:23,028 INFO: does not have lock
2019-01-04 08:26:23,030 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:26:33,102 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:26:33,103 INFO: does not have lock
2019-01-04 08:26:33,273 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:33,293 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:26:33,418 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:26:33,418 INFO: does not have lock
2019-01-04 08:26:33,427 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:26:42,107 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:26:42,108 INFO: does not have lock
2019-01-04 08:26:42,820 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:42,892 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:26:52,077 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:26:52,078 INFO: does not have lock
2019-01-04 08:26:52,850 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:26:52,870 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:26:53,014 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:26:53,014 INFO: does not have lock
2019-01-04 08:26:53,016 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:26:55,982 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:27:02,810 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:27:02,813 INFO: does not have lock
2019-01-04 08:27:02,814 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:02,830 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:27:12,990 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:27:12,990 INFO: does not have lock
2019-01-04 08:27:13,581 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:13,605 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:27:22,710 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:27:22,714 INFO: does not have lock
2019-01-04 08:27:23,105 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:23,199 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:27:23,324 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:27:23,324 INFO: does not have lock
2019-01-04 08:27:23,325 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:27:32,503 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:27:32,503 INFO: does not have lock
2019-01-04 08:27:32,654 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:32,677 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:27:42,716 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:27:42,716 INFO: does not have lock
2019-01-04 08:27:43,497 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:43,594 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:27:52,527 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:27:52,527 INFO: does not have lock
2019-01-04 08:27:53,129 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:27:53,148 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:27:56,077 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:28:02,294 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:28:02,295 INFO: does not have lock
2019-01-04 08:28:02,295 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:02,315 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:28:02,543 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:28:02,543 INFO: does not have lock
2019-01-04 08:28:02,544 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:28:12,316 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:28:12,316 INFO: does not have lock
2019-01-04 08:28:13,168 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:13,195 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:28:22,397 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:28:22,398 INFO: does not have lock
2019-01-04 08:28:22,509 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:22,529 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:28:22,862 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:28:22,863 INFO: does not have lock
2019-01-04 08:28:22,864 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:28:32,921 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:28:32,922 INFO: does not have lock
2019-01-04 08:28:33,703 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:33,800 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:28:42,995 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:28:42,996 INFO: does not have lock
2019-01-04 08:28:43,267 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:43,303 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:28:52,796 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:28:52,796 INFO: does not have lock
2019-01-04 08:28:53,047 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:28:53,101 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:29:02,518 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:29:02,520 INFO: does not have lock
2019-01-04 08:29:02,747 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:02,777 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:29:12,610 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:29:12,610 INFO: does not have lock
2019-01-04 08:29:13,102 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:13,134 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:29:22,210 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:29:22,211 INFO: does not have lock
2019-01-04 08:29:22,577 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:22,606 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:29:22,977 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:29:22,977 INFO: does not have lock
2019-01-04 08:29:23,658 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:23,682 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:29:32,302 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:29:32,302 INFO: does not have lock
2019-01-04 08:29:32,777 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:32,808 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:29:41,980 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:29:41,988 INFO: does not have lock
2019-01-04 08:29:42,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:29:42,512 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:29:42,643 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:29:42,644 INFO: does not have lock
2019-01-04 08:29:42,677 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:29:52,510 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:29:52,577 INFO: does not have lock
2019-01-04 08:29:53,051 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:29:53,405 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:30:02,690 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:30:02,691 INFO: does not have lock
2019-01-04 08:30:02,691 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:03,077 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:30:03,290 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:30:03,593 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:30:03,594 INFO: does not have lock
2019-01-04 08:30:03,594 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:03,705 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:30:12,182 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:30:12,183 INFO: does not have lock
2019-01-04 08:30:12,584 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:12,680 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:30:21,779 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:30:21,780 INFO: does not have lock
2019-01-04 08:30:22,077 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:22,088 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:30:22,287 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:30:22,287 INFO: does not have lock
2019-01-04 08:30:22,288 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:30:32,483 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:30:32,486 INFO: does not have lock
2019-01-04 08:30:33,087 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:33,107 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:30:33,306 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:30:33,306 INFO: does not have lock
2019-01-04 08:30:34,208 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:34,296 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:30:42,291 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:30:42,292 INFO: does not have lock
2019-01-04 08:30:43,194 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:30:43,578 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:30:52,304 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:30:52,304 INFO: does not have lock
2019-01-04 08:30:52,304 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:30:52,407 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:30:56,397 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:31:02,580 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:31:02,584 INFO: does not have lock
2019-01-04 08:31:02,585 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:02,680 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:31:02,892 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:31:02,897 INFO: does not have lock
2019-01-04 08:31:02,898 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:31:12,202 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:31:12,202 INFO: does not have lock
2019-01-04 08:31:12,323 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:12,412 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:31:22,522 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:31:22,523 INFO: does not have lock
2019-01-04 08:31:22,964 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:23,016 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:31:23,200 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:31:23,200 INFO: does not have lock
2019-01-04 08:31:23,201 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:31:33,018 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:31:33,019 INFO: does not have lock
2019-01-04 08:31:33,590 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:33,697 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:31:42,101 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:31:42,102 INFO: does not have lock
2019-01-04 08:31:42,253 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:42,278 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:31:52,318 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:31:52,320 INFO: does not have lock
2019-01-04 08:31:53,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:31:53,312 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:31:56,492 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:32:02,335 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:32:02,338 INFO: does not have lock
2019-01-04 08:32:02,339 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:02,371 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:32:12,504 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:32:12,505 INFO: does not have lock
2019-01-04 08:32:12,996 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:13,095 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:32:22,201 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:32:22,201 INFO: does not have lock
2019-01-04 08:32:22,362 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:22,387 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:32:22,879 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:32:22,880 INFO: does not have lock
2019-01-04 08:32:22,882 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:32:32,241 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:32:32,242 INFO: does not have lock
2019-01-04 08:32:32,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:32,699 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:32:42,321 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:32:42,322 INFO: does not have lock
2019-01-04 08:32:42,587 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:42,678 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:32:52,731 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:32:52,733 INFO: does not have lock
2019-01-04 08:32:53,128 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:32:53,194 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:32:53,315 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:32:53,316 INFO: does not have lock
2019-01-04 08:32:53,317 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:33:02,404 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:33:02,405 INFO: does not have lock
2019-01-04 08:33:02,866 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:33:03,002 INFO: Error communicating with PostgreSQL. Will try again later
2019-01-04 08:33:12,200 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:33:12,204 INFO: does not have lock
2019-01-04 08:33:12,209 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:12,282 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:33:12,784 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:33:12,787 INFO: does not have lock
2019-01-04 08:33:12,789 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:33:22,306 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:33:22,377 INFO: does not have lock
2019-01-04 08:33:23,139 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:33:23,483 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:33:32,699 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:33:32,699 INFO: does not have lock
2019-01-04 08:33:32,700 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:32,796 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:33:33,006 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:33:33,077 INFO: does not have lock
2019-01-04 08:33:33,078 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:33:42,804 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:33:42,877 INFO: does not have lock
2019-01-04 08:33:43,377 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:43,403 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:33:52,687 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:33:52,777 INFO: does not have lock
2019-01-04 08:33:53,488 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:33:53,579 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:33:56,621 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:34:02,566 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:34:02,567 INFO: does not have lock
2019-01-04 08:34:02,567 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:02,587 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:34:12,609 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:34:12,609 INFO: does not have lock
2019-01-04 08:34:13,381 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:13,408 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:34:13,684 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:34:13,685 INFO: does not have lock
2019-01-04 08:34:13,686 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:34:22,515 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:34:22,516 INFO: does not have lock
2019-01-04 08:34:23,077 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:23,100 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:34:32,307 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:34:32,307 INFO: does not have lock
2019-01-04 08:34:32,949 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:32,994 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:34:33,119 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:34:33,120 INFO: does not have lock
2019-01-04 08:34:33,129 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:34:42,226 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:34:42,227 INFO: does not have lock
2019-01-04 08:34:42,977 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:43,085 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:34:52,147 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:34:52,148 INFO: does not have lock
2019-01-04 08:34:53,019 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:34:53,043 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:34:56,686 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:35:02,181 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:35:02,182 INFO: does not have lock
2019-01-04 08:35:02,182 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:02,201 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:35:03,005 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:35:03,006 INFO: does not have lock
2019-01-04 08:35:03,007 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:35:12,762 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:35:12,763 INFO: does not have lock
2019-01-04 08:35:13,377 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:13,401 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:35:22,516 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:35:22,517 INFO: does not have lock
2019-01-04 08:35:23,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:23,304 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:35:23,585 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:35:23,588 INFO: does not have lock
2019-01-04 08:35:23,590 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:35:32,919 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:35:32,920 INFO: does not have lock
2019-01-04 08:35:33,777 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:33,805 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:35:42,796 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:35:42,797 INFO: does not have lock
2019-01-04 08:35:42,977 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:43,099 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:35:52,416 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:35:52,417 INFO: does not have lock
2019-01-04 08:35:53,177 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:35:53,189 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:35:56,782 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:36:02,400 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:36:02,401 INFO: does not have lock
2019-01-04 08:36:02,401 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:02,408 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:36:02,732 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:36:02,733 INFO: does not have lock
2019-01-04 08:36:02,734 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:36:12,527 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:36:12,528 INFO: does not have lock
2019-01-04 08:36:13,279 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:13,394 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:36:22,595 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:36:22,595 INFO: does not have lock
2019-01-04 08:36:23,247 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:23,308 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:36:32,227 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:36:32,227 INFO: does not have lock
2019-01-04 08:36:32,358 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:32,363 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:36:42,493 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:36:42,493 INFO: does not have lock
2019-01-04 08:36:42,664 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:42,689 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:36:42,827 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:36:42,827 INFO: does not have lock
2019-01-04 08:36:42,828 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:36:52,502 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:36:52,502 INFO: does not have lock
2019-01-04 08:36:53,077 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:36:53,103 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:36:56,798 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:37:02,196 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:37:02,197 INFO: does not have lock
2019-01-04 08:37:02,197 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:02,219 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:37:02,501 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:37:02,502 INFO: does not have lock
2019-01-04 08:37:02,509 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:37:12,023 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:37:12,024 INFO: does not have lock
2019-01-04 08:37:12,285 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:12,405 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:37:22,403 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:37:22,403 INFO: does not have lock
2019-01-04 08:37:22,775 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:22,803 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:37:32,700 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:37:32,701 INFO: does not have lock
2019-01-04 08:37:33,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:33,502 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:37:42,430 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:37:42,430 INFO: does not have lock
2019-01-04 08:37:43,377 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:43,407 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:37:52,583 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:37:52,583 INFO: does not have lock
2019-01-04 08:37:53,377 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:37:53,397 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:37:56,893 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:38:02,579 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:38:02,585 INFO: does not have lock
2019-01-04 08:38:02,586 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:02,679 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:38:12,804 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:38:12,805 INFO: does not have lock
2019-01-04 08:38:13,177 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:13,199 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:38:22,890 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:38:22,892 INFO: does not have lock
2019-01-04 08:38:23,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:23,502 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:38:32,522 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:38:32,522 INFO: does not have lock
2019-01-04 08:38:33,177 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:33,198 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:38:42,392 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:38:42,392 INFO: does not have lock
2019-01-04 08:38:43,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:43,306 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:38:52,211 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:38:52,212 INFO: does not have lock
2019-01-04 08:38:52,677 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:38:52,687 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:38:56,981 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:39:01,897 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:39:01,898 INFO: does not have lock
2019-01-04 08:39:01,899 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:01,917 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:39:02,903 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:39:02,903 INFO: does not have lock
2019-01-04 08:39:02,977 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:39:12,397 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:39:12,397 INFO: does not have lock
2019-01-04 08:39:13,099 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:13,180 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:39:22,298 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:39:22,299 INFO: does not have lock
2019-01-04 08:39:22,890 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:22,996 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:39:23,198 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:39:23,200 INFO: does not have lock
2019-01-04 08:39:23,201 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:39:32,585 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:39:32,585 INFO: does not have lock
2019-01-04 08:39:32,896 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:32,994 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:39:42,199 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:39:42,199 INFO: does not have lock
2019-01-04 08:39:42,600 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:42,698 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:39:42,898 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:39:42,899 INFO: does not have lock
2019-01-04 08:39:42,900 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:39:52,407 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:39:52,408 INFO: does not have lock
2019-01-04 08:39:53,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:39:53,307 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:39:57,000 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:40:02,424 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:40:02,425 INFO: does not have lock
2019-01-04 08:40:02,425 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:02,480 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:40:12,123 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:40:12,124 INFO: does not have lock
2019-01-04 08:40:12,885 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:13,477 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:40:22,416 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:40:22,417 INFO: does not have lock
2019-01-04 08:40:22,958 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:22,994 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:40:32,109 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:40:32,109 INFO: does not have lock
2019-01-04 08:40:32,630 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:32,699 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:40:42,234 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:40:42,235 INFO: does not have lock
2019-01-04 08:40:42,886 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:42,996 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:40:52,200 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:40:52,200 INFO: does not have lock
2019-01-04 08:40:53,042 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:40:53,096 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:40:53,223 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:40:53,224 INFO: does not have lock
2019-01-04 08:40:53,225 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:40:57,082 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:41:02,819 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:41:02,819 INFO: does not have lock
2019-01-04 08:41:02,820 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:02,840 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:41:12,903 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:41:12,904 INFO: does not have lock
2019-01-04 08:41:13,515 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:13,533 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:41:22,429 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:41:22,429 INFO: does not have lock
2019-01-04 08:41:22,560 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:22,583 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:41:32,314 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:41:32,315 INFO: does not have lock
2019-01-04 08:41:32,466 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:32,486 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:41:42,403 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:41:42,404 INFO: does not have lock
2019-01-04 08:41:43,285 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:43,304 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:41:52,432 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:41:52,432 INFO: does not have lock
2019-01-04 08:41:53,134 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:41:53,193 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:41:53,316 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:41:53,316 INFO: does not have lock
2019-01-04 08:41:53,318 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:41:57,186 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:42:02,284 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:42:02,285 INFO: does not have lock
2019-01-04 08:42:02,285 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:02,291 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:42:12,411 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:42:12,412 INFO: does not have lock
2019-01-04 08:42:13,203 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:13,293 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:42:13,523 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:42:13,524 INFO: does not have lock
2019-01-04 08:42:13,524 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:42:22,727 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:42:22,729 INFO: does not have lock
2019-01-04 08:42:23,400 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:23,496 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:42:32,702 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:42:32,703 INFO: does not have lock
2019-01-04 08:42:33,054 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:33,096 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:42:33,221 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:42:33,222 INFO: does not have lock
2019-01-04 08:42:33,232 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:42:42,196 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:42:42,196 INFO: does not have lock
2019-01-04 08:42:42,447 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:42,499 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:42:52,332 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:42:52,332 INFO: does not have lock
2019-01-04 08:42:53,084 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:42:53,198 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:42:57,202 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:43:02,315 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:43:02,315 INFO: does not have lock
2019-01-04 08:43:02,316 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:02,333 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:43:12,497 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:43:12,498 INFO: does not have lock
2019-01-04 08:43:12,899 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:12,999 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:43:13,122 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:43:13,122 INFO: does not have lock
2019-01-04 08:43:13,124 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:43:22,324 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:43:22,324 INFO: does not have lock
2019-01-04 08:43:22,755 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:22,792 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:43:32,709 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:43:32,709 INFO: does not have lock
2019-01-04 08:43:33,350 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:33,367 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:43:42,490 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:43:42,491 INFO: does not have lock
2019-01-04 08:43:43,172 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:43,194 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:43:43,318 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:43:43,318 INFO: does not have lock
2019-01-04 08:43:43,319 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:43:52,216 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:43:52,216 INFO: does not have lock
2019-01-04 08:43:52,397 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:43:52,495 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:43:57,222 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:44:02,694 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:44:02,695 INFO: does not have lock
2019-01-04 08:44:02,695 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:02,719 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:44:02,952 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:44:02,952 INFO: does not have lock
2019-01-04 08:44:02,953 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:44:12,383 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:44:12,386 INFO: does not have lock
2019-01-04 08:44:12,618 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:12,832 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:44:21,996 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:44:21,997 INFO: does not have lock
2019-01-04 08:44:22,377 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:44:22,488 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:44:22,796 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:44:22,798 INFO: does not have lock
2019-01-04 08:44:22,799 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:22,913 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:44:32,909 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:44:32,910 INFO: does not have lock
2019-01-04 08:44:33,181 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:33,209 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:44:42,921 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:44:42,922 INFO: does not have lock
2019-01-04 08:44:43,173 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:43,197 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:44:52,691 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:44:52,692 INFO: does not have lock
2019-01-04 08:44:53,514 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:44:53,599 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:44:57,248 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:45:02,480 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:45:02,480 INFO: does not have lock
2019-01-04 08:45:02,480 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:03,126 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:03,143 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:45:12,288 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:45:12,291 INFO: does not have lock
2019-01-04 08:45:12,432 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:45:12,985 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:45:13,200 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:45:13,200 INFO: does not have lock
2019-01-04 08:45:13,201 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:13,404 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:45:22,205 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:45:22,205 INFO: does not have lock
2019-01-04 08:45:22,506 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:22,602 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:45:32,691 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:45:32,692 INFO: does not have lock
2019-01-04 08:45:33,177 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:45:33,682 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:45:42,405 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:45:42,405 INFO: does not have lock
2019-01-04 08:45:42,405 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:42,510 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:45:52,803 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:45:52,803 INFO: does not have lock
2019-01-04 08:45:53,576 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:45:53,597 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:45:57,293 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:46:02,427 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:46:02,427 INFO: does not have lock
2019-01-04 08:46:02,428 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:02,451 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:46:12,504 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:46:12,504 INFO: does not have lock
2019-01-04 08:46:13,215 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:13,299 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:46:13,424 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:46:13,424 INFO: does not have lock
2019-01-04 08:46:13,426 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:46:22,319 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:46:22,320 INFO: does not have lock
2019-01-04 08:46:23,061 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:23,095 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:46:32,120 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:46:32,121 INFO: does not have lock
2019-01-04 08:46:32,902 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:32,990 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:46:33,115 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:46:33,116 INFO: does not have lock
2019-01-04 08:46:33,117 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:46:42,317 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:46:42,318 INFO: does not have lock
2019-01-04 08:46:42,419 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:42,438 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:46:52,547 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:46:52,548 INFO: does not have lock
2019-01-04 08:46:53,229 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:46:53,294 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:46:53,420 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:46:53,421 INFO: does not have lock
2019-01-04 08:46:53,422 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:46:57,390 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:47:02,936 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:47:02,937 INFO: does not have lock
2019-01-04 08:47:02,937 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:02,957 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:47:12,318 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:47:12,319 INFO: does not have lock
2019-01-04 08:47:12,850 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:12,881 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:47:22,001 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:47:22,001 INFO: does not have lock
2019-01-04 08:47:22,502 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:22,596 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:47:22,735 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:47:22,736 INFO: does not have lock
2019-01-04 08:47:22,745 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:47:32,135 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:47:32,136 INFO: does not have lock
2019-01-04 08:47:32,236 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:32,259 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:47:42,397 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:47:42,398 INFO: does not have lock
2019-01-04 08:47:42,819 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:42,900 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:47:43,024 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:47:43,024 INFO: does not have lock
2019-01-04 08:47:43,025 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:47:52,424 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:47:52,426 INFO: does not have lock
2019-01-04 08:47:52,887 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:47:52,995 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:47:57,491 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:48:02,188 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:48:02,189 INFO: does not have lock
2019-01-04 08:48:02,189 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:02,209 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:48:02,839 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:48:02,839 INFO: does not have lock
2019-01-04 08:48:02,841 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:48:12,199 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:48:12,199 INFO: does not have lock
2019-01-04 08:48:12,520 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:12,593 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:48:22,213 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:48:22,213 INFO: does not have lock
2019-01-04 08:48:22,354 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:22,371 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:48:32,500 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:48:32,501 INFO: does not have lock
2019-01-04 08:48:32,752 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:32,795 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:48:32,928 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:48:32,929 INFO: does not have lock
2019-01-04 08:48:32,930 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:48:42,528 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:48:42,529 INFO: does not have lock
2019-01-04 08:48:42,670 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:42,691 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:48:52,397 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:48:52,398 INFO: does not have lock
2019-01-04 08:48:52,678 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:48:52,801 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:48:57,511 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:49:02,719 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:49:02,719 INFO: does not have lock
2019-01-04 08:49:02,720 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:02,743 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:49:12,810 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:49:12,811 INFO: does not have lock
2019-01-04 08:49:13,512 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:13,595 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:49:13,720 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:49:13,721 INFO: does not have lock
2019-01-04 08:49:13,728 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:49:22,110 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:49:22,180 INFO: does not have lock
2019-01-04 08:49:22,992 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:49:23,480 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:49:32,301 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:49:32,301 INFO: does not have lock
2019-01-04 08:49:32,301 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:32,406 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:49:42,580 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:49:42,585 INFO: does not have lock
2019-01-04 08:49:43,377 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:43,393 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:49:52,425 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:49:52,428 INFO: does not have lock
2019-01-04 08:49:52,589 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:49:52,687 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:49:57,685 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:50:02,516 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:50:02,517 INFO: does not have lock
2019-01-04 08:50:02,517 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:02,600 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:50:12,789 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:50:12,789 INFO: does not have lock
2019-01-04 08:50:13,577 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:13,680 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:50:22,195 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:50:22,195 INFO: does not have lock
2019-01-04 08:50:23,077 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:23,100 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:50:32,303 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:50:32,304 INFO: does not have lock
2019-01-04 08:50:33,084 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:33,190 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:50:33,401 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:50:33,401 INFO: does not have lock
2019-01-04 08:50:33,403 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:50:42,829 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:50:42,829 INFO: does not have lock
2019-01-04 08:50:43,381 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:43,504 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:50:52,700 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:50:52,701 INFO: does not have lock
2019-01-04 08:50:53,211 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:50:53,300 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:50:57,712 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:51:02,906 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:51:02,907 INFO: does not have lock
2019-01-04 08:51:02,907 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:02,925 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:51:12,728 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:51:12,777 INFO: does not have lock
2019-01-04 08:51:13,558 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:13,566 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:51:22,940 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:51:22,977 INFO: does not have lock
2019-01-04 08:51:23,218 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:23,300 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:51:32,493 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:51:32,493 INFO: does not have lock
2019-01-04 08:51:32,714 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:51:33,216 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:51:33,496 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:51:33,496 INFO: does not have lock
2019-01-04 08:51:33,497 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:33,606 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:51:42,183 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:51:42,188 INFO: does not have lock
2019-01-04 08:51:42,900 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:43,001 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:51:52,113 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:51:52,114 INFO: does not have lock
2019-01-04 08:51:52,244 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:51:52,264 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:51:52,393 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:51:52,394 INFO: does not have lock
2019-01-04 08:51:52,395 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:51:57,798 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:52:02,605 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:52:02,606 INFO: does not have lock
2019-01-04 08:52:02,606 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:02,679 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:52:12,300 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:52:12,301 INFO: does not have lock
2019-01-04 08:52:12,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:12,584 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:52:22,034 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:52:22,034 INFO: does not have lock
2019-01-04 08:52:22,786 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:22,880 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:52:31,997 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:52:31,997 INFO: does not have lock
2019-01-04 08:52:32,388 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:32,493 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:52:32,620 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:52:32,620 INFO: does not have lock
2019-01-04 08:52:32,621 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:52:42,791 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:52:42,792 INFO: does not have lock
2019-01-04 08:52:42,977 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:43,004 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:52:46,607 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:52:46,608 INFO: does not have lock
2019-01-04 08:52:47,189 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:47,289 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:52:52,117 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:52:52,117 INFO: does not have lock
2019-01-04 08:52:52,338 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:52:52,392 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:52:57,977 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:53:02,588 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:53:02,592 INFO: does not have lock
2019-01-04 08:53:02,593 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:02,602 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:53:03,106 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:53:03,177 INFO: does not have lock
2019-01-04 08:53:03,190 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:53:12,321 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:53:12,322 INFO: does not have lock
2019-01-04 08:53:12,883 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:13,085 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:53:22,201 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:53:22,201 INFO: does not have lock
2019-01-04 08:53:22,877 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:23,165 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:53:32,202 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:53:32,203 INFO: does not have lock
2019-01-04 08:53:32,684 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:32,707 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:53:32,835 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:53:32,835 INFO: does not have lock
2019-01-04 08:53:32,836 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:53:42,901 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:53:42,902 INFO: does not have lock
2019-01-04 08:53:43,777 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:43,799 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:53:52,316 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:53:52,317 INFO: does not have lock
2019-01-04 08:53:52,828 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:53:52,847 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:53:58,081 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:54:01,903 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:54:01,903 INFO: does not have lock
2019-01-04 08:54:01,903 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:01,917 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:54:02,556 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:54:02,557 INFO: does not have lock
2019-01-04 08:54:02,559 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:54:12,406 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:54:12,407 INFO: does not have lock
2019-01-04 08:54:12,698 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:12,805 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:54:22,390 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:54:22,391 INFO: does not have lock
2019-01-04 08:54:23,062 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:23,089 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:54:32,193 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:54:32,194 INFO: does not have lock
2019-01-04 08:54:32,855 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:32,883 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:54:33,128 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:54:33,129 INFO: does not have lock
2019-01-04 08:54:33,130 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:54:42,902 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:54:42,903 INFO: does not have lock
2019-01-04 08:54:43,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:43,303 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:54:52,424 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:54:52,425 INFO: does not have lock
2019-01-04 08:54:53,246 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:54:53,267 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:54:58,189 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:55:02,396 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:55:02,397 INFO: does not have lock
2019-01-04 08:55:02,397 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:02,418 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:55:12,585 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:55:12,586 INFO: does not have lock
2019-01-04 08:55:13,396 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:13,481 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:55:13,611 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:55:13,612 INFO: does not have lock
2019-01-04 08:55:13,613 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:55:22,324 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:55:22,324 INFO: does not have lock
2019-01-04 08:55:22,425 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:22,434 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:55:32,496 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:55:32,497 INFO: does not have lock
2019-01-04 08:55:33,148 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:33,181 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:55:42,097 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:55:42,098 INFO: does not have lock
2019-01-04 08:55:42,429 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:42,502 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:55:52,604 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:55:52,605 INFO: does not have lock
2019-01-04 08:55:53,146 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:55:53,202 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:55:53,324 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:55:53,325 INFO: does not have lock
2019-01-04 08:55:53,333 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:55:58,286 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:56:02,737 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:56:02,738 INFO: does not have lock
2019-01-04 08:56:02,738 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:02,759 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:56:12,895 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:56:12,896 INFO: does not have lock
2019-01-04 08:56:13,297 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:13,396 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:56:22,405 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:56:22,406 INFO: does not have lock
2019-01-04 08:56:22,727 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:22,795 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:56:32,798 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:56:32,799 INFO: does not have lock
2019-01-04 08:56:33,577 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:33,601 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:56:42,706 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:56:42,706 INFO: does not have lock
2019-01-04 08:56:43,677 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:43,698 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:56:52,499 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:56:52,499 INFO: does not have lock
2019-01-04 08:56:52,910 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:56:52,981 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:56:58,385 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:57:02,010 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:57:02,010 INFO: does not have lock
2019-01-04 08:57:02,011 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:02,017 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:57:02,740 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:57:02,740 INFO: does not have lock
2019-01-04 08:57:02,741 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:57:12,628 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:57:12,628 INFO: does not have lock
2019-01-04 08:57:13,210 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:13,296 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:57:22,400 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:57:22,400 INFO: does not have lock
2019-01-04 08:57:23,151 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:23,202 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:57:32,203 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:57:32,204 INFO: does not have lock
2019-01-04 08:57:33,095 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:33,193 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:57:42,222 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:57:42,223 INFO: does not have lock
2019-01-04 08:57:42,754 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:42,775 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:57:51,901 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:57:51,901 INFO: does not have lock
2019-01-04 08:57:52,673 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:57:52,693 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:57:52,823 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:57:52,824 INFO: does not have lock
2019-01-04 08:57:52,824 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:57:58,495 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:58:02,422 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:58:02,423 INFO: does not have lock
2019-01-04 08:58:02,423 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:02,441 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:58:12,597 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:58:12,598 INFO: does not have lock
2019-01-04 08:58:12,899 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:12,995 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:58:13,122 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:58:13,123 INFO: does not have lock
2019-01-04 08:58:13,124 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:58:22,288 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:58:22,288 INFO: does not have lock
2019-01-04 08:58:22,559 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:22,579 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:58:32,699 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:58:32,699 INFO: does not have lock
2019-01-04 08:58:32,910 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:32,995 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:58:33,115 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:58:33,116 INFO: does not have lock
2019-01-04 08:58:33,117 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:58:42,727 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:58:42,728 INFO: does not have lock
2019-01-04 08:58:43,170 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:43,198 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:58:52,733 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:58:52,733 INFO: does not have lock
2019-01-04 08:58:53,455 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:58:53,484 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:58:58,513 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 08:59:02,511 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:59:02,511 INFO: does not have lock
2019-01-04 08:59:02,512 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:03,006 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:03,035 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:59:12,150 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:59:12,150 INFO: does not have lock
2019-01-04 08:59:12,371 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:59:12,511 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:59:12,781 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:59:12,781 INFO: does not have lock
2019-01-04 08:59:12,782 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:12,880 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:59:22,902 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:59:22,902 INFO: does not have lock
2019-01-04 08:59:23,103 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:23,197 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:59:32,924 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:59:32,925 INFO: does not have lock
2019-01-04 08:59:33,766 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:33,799 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:59:42,215 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:59:42,215 INFO: does not have lock
2019-01-04 08:59:42,906 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:42,993 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:59:52,148 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:59:52,148 INFO: does not have lock
2019-01-04 08:59:52,429 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 08:59:52,597 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 08:59:52,803 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 08:59:52,804 INFO: does not have lock
2019-01-04 08:59:52,804 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 08:59:52,903 INFO: no action. i am a secondary and i am following a leader
2019-01-04 08:59:58,583 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:00:02,996 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:00:02,997 INFO: does not have lock
2019-01-04 09:00:02,998 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:03,102 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:03,413 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:00:12,389 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:00:12,389 INFO: does not have lock
2019-01-04 09:00:13,120 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:00:13,481 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:00:22,292 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:00:22,293 INFO: does not have lock
2019-01-04 09:00:22,293 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:22,401 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:00:32,515 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:00:32,577 INFO: does not have lock
2019-01-04 09:00:33,077 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:00:33,519 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:00:33,783 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:00:33,784 INFO: does not have lock
2019-01-04 09:00:33,784 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:33,814 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:00:42,994 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:00:42,995 INFO: does not have lock
2019-01-04 09:00:43,377 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:43,481 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:00:52,202 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:00:52,203 INFO: does not have lock
2019-01-04 09:00:52,393 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:00:52,484 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:00:58,689 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:01:02,322 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:01:02,323 INFO: does not have lock
2019-01-04 09:01:02,323 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:02,345 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:01:12,234 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:01:12,234 INFO: does not have lock
2019-01-04 09:01:12,495 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:12,597 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:01:22,434 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:01:22,434 INFO: does not have lock
2019-01-04 09:01:22,686 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:22,806 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:01:32,729 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:01:32,732 INFO: does not have lock
2019-01-04 09:01:33,505 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:33,596 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:01:42,785 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:01:42,786 INFO: does not have lock
2019-01-04 09:01:43,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:43,496 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:01:52,603 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:01:52,603 INFO: does not have lock
2019-01-04 09:01:52,824 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:01:52,894 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:01:58,785 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:02:02,427 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:02:02,427 INFO: does not have lock
2019-01-04 09:02:02,428 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:02,432 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:02:12,221 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:02:12,221 INFO: does not have lock
2019-01-04 09:02:12,943 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:12,952 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:02:22,102 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:02:22,102 INFO: does not have lock
2019-01-04 09:02:22,223 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:22,233 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:02:22,959 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:02:22,959 INFO: does not have lock
2019-01-04 09:02:22,960 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:02:32,231 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:02:32,232 INFO: does not have lock
2019-01-04 09:02:32,693 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:32,795 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:02:41,997 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:02:41,998 INFO: does not have lock
2019-01-04 09:02:42,108 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:42,136 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:02:42,800 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:02:42,801 INFO: does not have lock
2019-01-04 09:02:42,802 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:02:52,810 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:02:52,811 INFO: does not have lock
2019-01-04 09:02:53,272 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:02:53,295 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:02:58,808 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:03:02,110 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:03:02,111 INFO: does not have lock
2019-01-04 09:03:02,111 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:02,129 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:03:12,296 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:03:12,297 INFO: does not have lock
2019-01-04 09:03:12,848 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:12,947 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:03:13,069 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:03:13,069 INFO: does not have lock
2019-01-04 09:03:13,070 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:03:23,000 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:03:23,000 INFO: does not have lock
2019-01-04 09:03:23,902 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:23,992 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:03:32,309 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:03:32,309 INFO: does not have lock
2019-01-04 09:03:32,930 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:32,997 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:03:42,128 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:03:42,129 INFO: does not have lock
2019-01-04 09:03:42,750 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:42,774 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:03:42,903 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:03:42,904 INFO: does not have lock
2019-01-04 09:03:42,905 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:03:52,516 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:03:52,517 INFO: does not have lock
2019-01-04 09:03:53,379 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:03:53,400 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:03:58,882 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:04:02,415 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:04:02,415 INFO: does not have lock
2019-01-04 09:04:02,415 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:02,435 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:04:12,513 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:04:12,514 INFO: does not have lock
2019-01-04 09:04:13,325 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:13,395 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:04:13,523 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:04:13,523 INFO: does not have lock
2019-01-04 09:04:13,524 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:04:22,724 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:04:22,724 INFO: does not have lock
2019-01-04 09:04:23,085 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:23,195 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:04:32,200 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:04:32,201 INFO: does not have lock
2019-01-04 09:04:32,551 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:32,597 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:04:42,791 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:04:42,791 INFO: does not have lock
2019-01-04 09:04:43,552 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:43,622 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:04:52,792 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:04:52,793 INFO: does not have lock
2019-01-04 09:04:53,354 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:04:53,448 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:04:58,983 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:05:02,523 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:05:02,523 INFO: does not have lock
2019-01-04 09:05:02,524 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:02,539 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:05:12,617 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:05:12,617 INFO: does not have lock
2019-01-04 09:05:12,978 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:13,081 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:05:13,205 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:05:13,206 INFO: does not have lock
2019-01-04 09:05:13,207 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:05:22,417 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:05:22,418 INFO: does not have lock
2019-01-04 09:05:22,849 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:22,885 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:05:32,211 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:05:32,211 INFO: does not have lock
2019-01-04 09:05:32,862 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:32,881 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:05:41,922 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:05:41,923 INFO: does not have lock
2019-01-04 09:05:42,594 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:42,696 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:05:42,822 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:05:42,822 INFO: does not have lock
2019-01-04 09:05:42,823 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:05:52,605 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:05:52,606 INFO: does not have lock
2019-01-04 09:05:53,458 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:05:53,480 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:05:59,085 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:06:02,397 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:06:02,397 INFO: does not have lock
2019-01-04 09:06:02,397 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:02,411 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:06:12,593 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:06:12,594 INFO: does not have lock
2019-01-04 09:06:13,085 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:13,202 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:06:22,298 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:06:22,299 INFO: does not have lock
2019-01-04 09:06:22,860 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:22,894 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:06:23,018 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:06:23,018 INFO: does not have lock
2019-01-04 09:06:23,019 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:06:32,123 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:06:32,123 INFO: does not have lock
2019-01-04 09:06:32,234 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:32,255 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:06:42,314 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:06:42,378 INFO: does not have lock
2019-01-04 09:06:42,709 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:42,804 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:06:42,928 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:06:42,928 INFO: does not have lock
2019-01-04 09:06:42,930 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:06:52,305 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:06:52,305 INFO: does not have lock
2019-01-04 09:06:53,046 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:06:53,098 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:06:59,110 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:07:02,215 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:07:02,216 INFO: does not have lock
2019-01-04 09:07:02,217 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:02,720 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:02,801 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:07:02,931 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:07:02,932 INFO: does not have lock
2019-01-04 09:07:02,933 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:07:12,202 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:07:12,204 INFO: does not have lock
2019-01-04 09:07:12,866 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:12,904 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:07:22,012 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:07:22,012 INFO: does not have lock
2019-01-04 09:07:22,764 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:22,784 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:07:22,910 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:07:22,911 INFO: does not have lock
2019-01-04 09:07:22,912 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:07:32,407 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:07:32,479 INFO: does not have lock
2019-01-04 09:07:32,851 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:32,867 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:07:42,403 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:07:42,405 INFO: does not have lock
2019-01-04 09:07:42,887 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:42,908 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:07:52,083 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:07:52,084 INFO: does not have lock
2019-01-04 09:07:52,185 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:07:52,280 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:07:52,619 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:07:52,620 INFO: does not have lock
2019-01-04 09:07:52,621 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:07:59,189 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:08:02,293 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:08:02,293 INFO: does not have lock
2019-01-04 09:08:02,293 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:02,385 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:08:12,583 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:08:12,584 INFO: does not have lock
2019-01-04 09:08:13,256 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:13,277 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:08:13,396 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:08:13,396 INFO: does not have lock
2019-01-04 09:08:13,409 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:08:22,904 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:08:22,904 INFO: does not have lock
2019-01-04 09:08:23,025 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:08:23,180 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:08:32,705 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:08:32,706 INFO: does not have lock
2019-01-04 09:08:32,706 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:33,663 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:33,704 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:08:42,905 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:08:42,906 INFO: does not have lock
2019-01-04 09:08:43,627 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:43,693 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:08:52,678 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:08:52,679 INFO: does not have lock
2019-01-04 09:08:52,870 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:08:52,903 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:08:59,288 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:09:02,589 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:09:02,589 INFO: does not have lock
2019-01-04 09:09:02,589 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:02,612 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:09:12,977 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:09:12,977 INFO: does not have lock
2019-01-04 09:09:13,228 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:13,312 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:09:22,702 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:09:22,704 INFO: does not have lock
2019-01-04 09:09:23,496 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:23,503 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:09:32,688 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:09:32,688 INFO: does not have lock
2019-01-04 09:09:33,209 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:09:33,507 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:09:33,789 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:09:33,789 INFO: Still starting up as a standby.
2019-01-04 09:09:33,790 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:09:33,790 INFO: does not have lock
2019-01-04 09:09:33,790 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:34,565 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:34,596 INFO: no action. i am a secondary and i am following a leader
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:09:42,484 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:09:42,484 INFO: does not have lock
2019-01-04 09:09:42,877 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:42,912 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:09:52,186 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:09:52,186 INFO: does not have lock
2019-01-04 09:09:52,877 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:09:52,890 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:09:53,102 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:09:53,109 INFO: does not have lock
2019-01-04 09:09:53,110 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:09:59,388 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:10:02,315 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:10:02,316 INFO: does not have lock
2019-01-04 09:10:02,316 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:02,330 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:10:12,228 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:10:12,229 INFO: does not have lock
2019-01-04 09:10:12,877 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:12,900 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:10:22,090 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:10:22,091 INFO: does not have lock
2019-01-04 09:10:22,977 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:23,006 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:10:23,280 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:10:23,281 INFO: does not have lock
2019-01-04 09:10:23,282 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:10:33,008 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:10:33,079 INFO: does not have lock
2019-01-04 09:10:33,881 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:33,907 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:10:42,528 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:10:42,529 INFO: does not have lock
2019-01-04 09:10:43,300 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:43,405 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:10:52,518 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:10:52,518 INFO: does not have lock
2019-01-04 09:10:52,789 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:10:52,906 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:10:53,293 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:10:53,293 INFO: does not have lock
2019-01-04 09:10:53,378 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:10:59,419 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:11:02,031 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:11:02,031 INFO: does not have lock
2019-01-04 09:11:02,031 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:02,049 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:11:12,112 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:11:12,113 INFO: does not have lock
2019-01-04 09:11:12,474 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:12,496 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:11:12,615 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:11:12,616 INFO: does not have lock
2019-01-04 09:11:12,616 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:11:22,813 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:11:22,813 INFO: does not have lock
2019-01-04 09:11:23,082 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:23,106 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:11:23,305 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:11:23,305 INFO: does not have lock
2019-01-04 09:11:23,377 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:11:32,734 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:11:32,734 INFO: does not have lock
2019-01-04 09:11:32,835 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:32,855 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:11:42,421 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:11:42,477 INFO: does not have lock
2019-01-04 09:11:42,798 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:42,906 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:11:52,084 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:11:52,085 INFO: does not have lock
2019-01-04 09:11:52,986 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:11:53,100 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:11:53,225 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:11:53,226 INFO: does not have lock
2019-01-04 09:11:53,227 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:11:59,593 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:12:02,490 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:12:02,491 INFO: does not have lock
2019-01-04 09:12:02,491 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:02,514 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:12:12,694 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:12:12,695 INFO: does not have lock
2019-01-04 09:12:13,016 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:13,096 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:12:13,225 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:12:13,226 INFO: does not have lock
2019-01-04 09:12:13,227 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:12:23,093 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:12:23,093 INFO: does not have lock
2019-01-04 09:12:23,834 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:23,896 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:12:32,785 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:12:32,786 INFO: does not have lock
2019-01-04 09:12:33,097 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:33,195 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:12:42,310 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:12:42,310 INFO: does not have lock
2019-01-04 09:12:42,411 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:42,428 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:12:52,496 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:12:52,497 INFO: does not have lock
2019-01-04 09:12:52,837 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:12:52,897 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:12:53,017 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:12:53,018 INFO: does not have lock
2019-01-04 09:12:53,019 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:12:59,613 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:13:02,229 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:13:02,230 INFO: does not have lock
2019-01-04 09:13:02,231 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:02,300 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:13:12,414 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:13:12,415 INFO: does not have lock
2019-01-04 09:13:12,906 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:12,998 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:13:13,118 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:13:13,119 INFO: does not have lock
2019-01-04 09:13:13,120 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:13:22,413 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:13:22,414 INFO: does not have lock
2019-01-04 09:13:22,785 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:13:22,820 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:13:32,695 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:13:32,695 INFO: does not have lock
2019-01-04 09:13:32,695 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:32,785 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:13:42,312 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:13:42,377 INFO: does not have lock
2019-01-04 09:13:42,977 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:43,004 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:13:52,106 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:13:52,177 INFO: does not have lock
2019-01-04 09:13:52,880 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:13:52,904 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:13:53,103 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:13:53,104 INFO: does not have lock
2019-01-04 09:13:53,177 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:13:59,689 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:14:03,077 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:14:03,078 INFO: does not have lock
2019-01-04 09:14:03,078 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:03,100 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:14:12,897 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:14:12,898 INFO: does not have lock
2019-01-04 09:14:13,769 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:14:13,881 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:14:22,800 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:14:22,800 INFO: does not have lock
2019-01-04 09:14:22,801 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:22,899 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:14:32,479 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:14:32,484 INFO: does not have lock
2019-01-04 09:14:32,677 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:32,702 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:14:42,332 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:14:42,333 INFO: does not have lock
2019-01-04 09:14:42,677 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:42,702 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:14:52,219 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:14:52,219 INFO: does not have lock
2019-01-04 09:14:52,680 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:14:52,786 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:14:59,784 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:15:01,994 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:15:01,994 INFO: does not have lock
2019-01-04 09:15:01,994 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:02,016 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:15:02,143 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:15:02,143 INFO: does not have lock
2019-01-04 09:15:02,144 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:15:12,293 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:15:12,294 INFO: does not have lock
2019-01-04 09:15:12,494 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:12,602 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:15:22,701 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:15:22,702 INFO: does not have lock
2019-01-04 09:15:22,893 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:22,996 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:15:23,127 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:15:23,128 INFO: does not have lock
2019-01-04 09:15:23,129 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:15:32,701 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:15:32,702 INFO: does not have lock
2019-01-04 09:15:33,013 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:33,102 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:15:42,601 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:15:42,602 INFO: does not have lock
2019-01-04 09:15:43,133 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:43,198 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:15:52,306 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:15:52,307 INFO: does not have lock
2019-01-04 09:15:52,427 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:15:52,448 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:15:52,677 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:15:52,677 INFO: does not have lock
2019-01-04 09:15:52,679 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:15:59,807 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:16:02,401 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:16:02,402 INFO: does not have lock
2019-01-04 09:16:02,402 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:02,423 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:16:12,594 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:16:12,594 INFO: does not have lock
2019-01-04 09:16:12,945 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:12,980 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:16:13,108 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:16:13,109 INFO: does not have lock
2019-01-04 09:16:13,110 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:16:22,925 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:16:22,925 INFO: does not have lock
2019-01-04 09:16:23,577 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:23,600 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:16:32,298 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:16:32,299 INFO: does not have lock
2019-01-04 09:16:32,770 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:32,790 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:16:41,999 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:16:42,000 INFO: does not have lock
2019-01-04 09:16:42,581 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:42,700 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:16:42,836 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:16:42,837 INFO: does not have lock
2019-01-04 09:16:42,843 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:16:52,127 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:16:52,128 INFO: does not have lock
2019-01-04 09:16:52,599 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:16:52,625 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:16:59,905 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:17:01,704 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:17:01,704 INFO: does not have lock
2019-01-04 09:17:01,704 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:01,721 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:17:02,348 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:17:02,349 INFO: does not have lock
2019-01-04 09:17:02,350 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:17:12,391 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:17:12,392 INFO: does not have lock
2019-01-04 09:17:12,812 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:12,898 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:17:21,930 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:17:21,931 INFO: does not have lock
2019-01-04 09:17:22,482 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:22,592 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:17:22,917 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:17:22,917 INFO: does not have lock
2019-01-04 09:17:22,918 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:17:32,804 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:17:32,805 INFO: does not have lock
2019-01-04 09:17:33,476 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:33,493 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:17:42,602 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:17:42,602 INFO: does not have lock
2019-01-04 09:17:43,374 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:43,416 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:17:43,539 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:17:43,540 INFO: does not have lock
2019-01-04 09:17:43,541 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:17:52,201 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:17:52,202 INFO: does not have lock
2019-01-04 09:17:52,763 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:17:52,803 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:18:00,082 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:18:01,983 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:18:01,984 INFO: does not have lock
2019-01-04 09:18:01,985 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:02,668 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:02,699 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:18:02,838 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:18:02,839 INFO: does not have lock
2019-01-04 09:18:02,840 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:18:12,895 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:18:12,896 INFO: does not have lock
2019-01-04 09:18:13,006 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:13,026 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:18:22,803 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:18:22,804 INFO: does not have lock
2019-01-04 09:18:23,565 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:23,775 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:18:32,307 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:18:32,378 INFO: does not have lock
2019-01-04 09:18:32,669 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:32,688 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:18:42,206 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:18:42,207 INFO: does not have lock
2019-01-04 09:18:42,388 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:42,411 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:18:52,423 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:18:52,424 INFO: does not have lock
2019-01-04 09:18:53,155 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:18:53,203 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:19:00,099 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:19:02,178 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:19:02,179 INFO: does not have lock
2019-01-04 09:19:02,179 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:02,603 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:02,609 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:19:11,699 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:19:11,699 INFO: does not have lock
2019-01-04 09:19:11,950 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:19:12,320 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:19:12,791 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:19:12,792 INFO: does not have lock
2019-01-04 09:19:12,792 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:12,883 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:19:22,477 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:19:22,479 INFO: does not have lock
2019-01-04 09:19:22,710 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:22,738 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:19:32,299 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:19:32,300 INFO: does not have lock
2019-01-04 09:19:33,204 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:33,312 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:19:42,402 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:19:42,402 INFO: does not have lock
2019-01-04 09:19:42,653 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:42,826 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:19:51,895 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:19:51,897 INFO: does not have lock
2019-01-04 09:19:52,197 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:19:52,218 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:19:52,606 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:19:52,607 INFO: does not have lock
2019-01-04 09:19:52,621 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:20:00,181 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:20:02,410 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:20:02,411 INFO: does not have lock
2019-01-04 09:20:02,411 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:02,506 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:20:12,601 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:20:12,602 INFO: does not have lock
2019-01-04 09:20:12,715 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:12,752 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:20:12,878 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:20:12,879 INFO: does not have lock
2019-01-04 09:20:12,897 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:20:22,223 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:20:22,224 INFO: does not have lock
2019-01-04 09:20:22,755 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:22,786 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:20:31,903 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:20:31,905 INFO: does not have lock
2019-01-04 09:20:32,765 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:20:33,000 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:20:33,186 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:20:33,186 INFO: Still starting up as a standby.
2019-01-04 09:20:33,186 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:20:33,186 INFO: does not have lock
2019-01-04 09:20:33,186 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:33,760 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:33,797 INFO: no action. i am a secondary and i am following a leader
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:20:42,702 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:20:42,703 INFO: does not have lock
2019-01-04 09:20:43,454 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:20:43,724 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:20:53,107 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:20:53,177 INFO: does not have lock
2019-01-04 09:20:53,178 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:20:53,278 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:21:00,204 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:21:02,935 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:21:02,941 INFO: does not have lock
2019-01-04 09:21:02,941 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:02,993 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:21:12,879 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:21:12,880 INFO: does not have lock
2019-01-04 09:21:13,311 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:21:13,411 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:21:22,387 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:21:22,388 INFO: does not have lock
2019-01-04 09:21:22,388 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:22,479 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:21:32,407 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:21:32,477 INFO: does not have lock
2019-01-04 09:21:33,096 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:33,112 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:21:42,104 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:21:42,177 INFO: does not have lock
2019-01-04 09:21:42,378 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:42,407 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:21:52,583 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:21:52,584 INFO: does not have lock
2019-01-04 09:21:53,246 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:21:53,272 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:22:00,299 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:22:02,107 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:22:02,177 INFO: does not have lock
2019-01-04 09:22:02,177 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:02,279 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:22:12,405 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:22:12,405 INFO: does not have lock
2019-01-04 09:22:12,877 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:12,984 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:22:22,252 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:22:22,253 INFO: does not have lock
2019-01-04 09:22:22,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:22,503 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:22:22,878 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:22:22,878 INFO: does not have lock
2019-01-04 09:22:22,895 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:22:32,199 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:22:32,199 INFO: does not have lock
2019-01-04 09:22:32,510 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:32,595 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:22:42,604 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:22:42,605 INFO: does not have lock
2019-01-04 09:22:43,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:43,300 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:22:52,496 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:22:52,496 INFO: does not have lock
2019-01-04 09:22:53,097 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:22:53,190 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:23:00,314 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:23:02,386 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:23:02,387 INFO: does not have lock
2019-01-04 09:23:02,387 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:02,408 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:23:02,633 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:23:02,634 INFO: does not have lock
2019-01-04 09:23:02,634 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:23:12,791 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:23:12,792 INFO: does not have lock
2019-01-04 09:23:13,697 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:13,783 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:23:22,598 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:23:22,598 INFO: does not have lock
2019-01-04 09:23:23,277 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:23,380 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:23:32,403 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:23:32,403 INFO: does not have lock
2019-01-04 09:23:33,177 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:33,206 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:23:42,397 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:23:42,397 INFO: does not have lock
2019-01-04 09:23:42,878 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:42,998 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:23:43,194 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:23:43,195 INFO: does not have lock
2019-01-04 09:23:43,196 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:23:52,801 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:23:52,802 INFO: does not have lock
2019-01-04 09:23:53,677 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:23:53,702 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:24:00,334 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:24:02,525 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:24:02,526 INFO: does not have lock
2019-01-04 09:24:02,526 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:02,550 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:24:12,431 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:24:12,432 INFO: does not have lock
2019-01-04 09:24:12,552 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:12,574 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:24:22,500 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:24:22,500 INFO: does not have lock
2019-01-04 09:24:23,082 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:23,108 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:24:32,222 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:24:32,222 INFO: does not have lock
2019-01-04 09:24:32,904 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:32,999 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:24:42,204 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:24:42,205 INFO: does not have lock
2019-01-04 09:24:42,696 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:42,716 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:24:51,818 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:24:51,818 INFO: does not have lock
2019-01-04 09:24:52,139 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:24:52,198 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:24:52,725 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:24:52,726 INFO: does not have lock
2019-01-04 09:24:52,727 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:25:00,402 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:25:02,909 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:25:02,910 INFO: does not have lock
2019-01-04 09:25:02,910 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:02,932 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:25:12,207 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:25:12,208 INFO: does not have lock
2019-01-04 09:25:12,459 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:12,497 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:25:22,611 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:25:22,612 INFO: does not have lock
2019-01-04 09:25:23,363 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:23,395 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:25:23,526 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:25:23,527 INFO: does not have lock
2019-01-04 09:25:23,528 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:25:32,904 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:25:32,905 INFO: does not have lock
2019-01-04 09:25:33,766 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:33,795 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:25:42,306 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:25:42,307 INFO: does not have lock
2019-01-04 09:25:43,068 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:43,098 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:25:52,300 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:25:52,300 INFO: does not have lock
2019-01-04 09:25:52,451 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:25:52,472 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:25:52,707 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:25:52,708 INFO: does not have lock
2019-01-04 09:25:52,709 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:26:00,505 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:26:02,894 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:26:02,895 INFO: does not have lock
2019-01-04 09:26:02,895 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:02,915 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:26:12,526 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:26:12,527 INFO: does not have lock
2019-01-04 09:26:13,007 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:13,100 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:26:22,192 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:26:22,193 INFO: does not have lock
2019-01-04 09:26:22,494 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:22,585 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:26:22,707 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:26:22,708 INFO: does not have lock
2019-01-04 09:26:22,709 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:26:32,515 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:26:32,516 INFO: does not have lock
2019-01-04 09:26:32,766 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:32,780 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:26:42,608 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:26:42,609 INFO: does not have lock
2019-01-04 09:26:42,770 INFO: establishing a new patroni connection to the postgres cluster
/var/run/postgresql:5432 - rejecting connections
2019-01-04 09:26:42,803 INFO: Error communicating with PostgreSQL. Will try again later
/var/run/postgresql:5432 - accepting connections
2019-01-04 09:26:52,485 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:26:52,486 INFO: does not have lock
2019-01-04 09:26:52,486 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:26:52,598 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:27:00,587 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:27:02,780 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:27:02,785 INFO: does not have lock
2019-01-04 09:27:02,785 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:02,890 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:27:03,090 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:27:03,090 INFO: does not have lock
2019-01-04 09:27:03,091 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:27:12,834 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:27:12,834 INFO: does not have lock
2019-01-04 09:27:13,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:13,581 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:27:22,201 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:27:22,201 INFO: does not have lock
2019-01-04 09:27:22,352 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:22,369 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:27:32,494 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:27:32,495 INFO: does not have lock
2019-01-04 09:27:32,775 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:32,797 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:27:32,924 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:27:32,925 INFO: does not have lock
2019-01-04 09:27:32,926 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:27:42,738 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:27:42,739 INFO: does not have lock
2019-01-04 09:27:43,477 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:43,503 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:27:52,696 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:27:52,697 INFO: does not have lock
2019-01-04 09:27:53,577 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:27:53,597 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:27:53,797 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:27:53,800 INFO: does not have lock
2019-01-04 09:27:53,802 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:28:00,677 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:28:02,316 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:28:02,317 INFO: does not have lock
2019-01-04 09:28:02,317 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:02,335 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:28:12,490 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:28:12,490 INFO: does not have lock
2019-01-04 09:28:12,851 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:12,973 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:28:13,099 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:28:13,100 INFO: does not have lock
2019-01-04 09:28:13,101 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:28:22,693 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:28:22,694 INFO: does not have lock
2019-01-04 09:28:23,075 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:23,095 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:28:32,306 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:28:32,307 INFO: does not have lock
2019-01-04 09:28:33,168 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:33,196 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:28:42,400 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:28:42,400 INFO: does not have lock
2019-01-04 09:28:42,691 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:42,794 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:28:42,919 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:28:42,919 INFO: does not have lock
2019-01-04 09:28:42,920 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:28:52,504 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:28:52,505 INFO: does not have lock
2019-01-04 09:28:53,096 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:28:53,196 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:29:00,789 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:29:02,394 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:29:02,395 INFO: does not have lock
2019-01-04 09:29:02,395 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:29:02,415 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:29:02,943 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:29:02,944 INFO: does not have lock
2019-01-04 09:29:02,945 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:29:12,795 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:29:12,795 INFO: does not have lock
2019-01-04 09:29:13,386 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:29:13,522 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:29:22,601 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:29:22,601 INFO: does not have lock
2019-01-04 09:29:22,792 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:29:22,883 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:29:23,006 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:29:23,006 INFO: does not have lock
2019-01-04 09:29:23,007 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:29:32,219 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:29:32,219 INFO: does not have lock
2019-01-04 09:29:32,580 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:29:32,688 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:29:42,394 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:29:42,395 INFO: does not have lock
2019-01-04 09:29:42,716 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:29:42,797 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:29:51,919 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:29:51,920 INFO: does not have lock
2019-01-04 09:29:52,280 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:29:52,397 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:29:52,527 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:29:52,528 INFO: does not have lock
2019-01-04 09:29:52,529 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:30:00,884 ERROR: get_postgresql_status
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 488, in query
cursor.execute(sql, params)
psycopg2.OperationalError: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 437, in get_postgresql_status
self.server.patroni.postgresql.lsn_name), retry=retry)[0]
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 412, in query
return self.server.query(sql, *params)
File "/usr/local/lib/python3.6/dist-packages/patroni/api.py", line 493, in query
raise PostgresConnectionException('connection problems')
patroni.exceptions.PostgresConnectionException: 'connection problems'
2019-01-04 09:30:02,623 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:30:02,624 INFO: does not have lock
2019-01-04 09:30:02,624 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:30:02,643 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:30:02,869 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:30:02,870 INFO: does not have lock
2019-01-04 09:30:02,877 INFO: no action. i am a secondary and i am following a leader
2019-01-04 09:30:12,202 INFO: Lock owner: discourse-production-1; I am discourse-production-0
2019-01-04 09:30:12,202 INFO: does not have lock
2019-01-04 09:30:12,863 INFO: establishing a new patroni connection to the postgres cluster
2019-01-04 09:30:12,892 INFO: no action. i am a secondary and i am following a leader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment