Oct 14 12:05:52 of-sls-test-1 systemd[1]: Started Runners to orchestrate a high-availability PostgreSQL.
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,245 INFO: Deregister service postgres-test/postgres-production-node4
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,248 INFO: Lock owner: None; I am postgres-production-node4
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,253 INFO: Deregister service postgres-test/postgres-production-node4
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,255 INFO: trying to bootstrap a new cluster
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,257 INFO: Lock owner: None; I am postgres-production-node4
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,258 INFO: not healthy enough for leader race
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,265 WARNING: Could not register service: unknown role type uninitialized
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:53,265 INFO: bootstrap in progress
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: The files belonging to this database system will be owned by user "postgres".
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: This user must also own the server process.
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: The database cluster will be initialized with locale "en_US.UTF-8".
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: The default text search configuration will be set to "english".
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: Data page checksums are enabled.
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: fixing permissions on existing directory /home/postgres/data_postgres-production-node4 ... ok
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: creating subdirectories ... ok
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: selecting default max_connections ... 100
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: selecting default shared_buffers ... 128MB
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: selecting default timezone ... Europe/Moscow
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: selecting dynamic shared memory implementation ... posix
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: creating configuration files ... ok
Oct 14 12:05:53 of-sls-test-1 patroni[7885]: running bootstrap script ... ok
Oct 14 12:05:55 of-sls-test-1 patroni[7885]: performing post-bootstrap initialization ... ok
Oct 14 12:05:55 of-sls-test-1 patroni[7885]: syncing data to disk ... ok
Oct 14 12:05:55 of-sls-test-1 patroni[7885]: WARNING: enabling "trust" authentication for local connections
Oct 14 12:05:55 of-sls-test-1 patroni[7885]: You can change this by editing pg_hba.conf or using the option -A, or
Oct 14 12:05:55 of-sls-test-1 patroni[7885]: --auth-local and --auth-host, the next time you run initdb.
Oct 14 12:05:55 of-sls-test-1 patroni[7885]: Success. You can now start the database server using:
Oct 14 12:05:55 of-sls-test-1 patroni[7885]: /usr/pgsql-11/bin/pg_ctl -D /home/postgres/data_postgres-production-node4 -l logfile start
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.142 MSK [7951] LOG: listening on IPv4 address "0.0.0.0", port 5432
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.144 MSK [7951] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.146 MSK [7951] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432"
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,146 INFO: postmaster pid=7951
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.451 MSK [7951] LOG: redirecting log output to logging collector process
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56.451 MSK [7951] HINT: Future log output will appear in directory "log".
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: localhost:5432 - rejecting connections
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: localhost:5432 - accepting connections
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,496 INFO: establishing a new patroni connection to the postgres cluster
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,513 WARNING: Could not register service: unknown role type promoted
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,513 INFO: running post_bootstrap
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,535 WARNING: Could not activate Linux watchdog device: "Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog'"
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,547 INFO: Register service postgres-test, params {'check': {'DeregisterCriticalServiceAfter': '150.0s', 'interval': '5s', 'http': 'http://127.0.0.1:8008/master'}, 'service_id': 'postgres-test/postgres-produc
Oct 14 12:05:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:05:56,552 INFO: initialized a new cluster
Oct 14 12:06:03 of-sls-test-1 systemd[1]: Reloading Runners to orchestrate a high-availability PostgreSQL.
Oct 14 12:06:03 of-sls-test-1 systemd[1]: Reloaded Runners to orchestrate a high-availability PostgreSQL.
Oct 14 12:06:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:06,556 INFO: No configuration items changed, nothing to reload.
Oct 14 12:06:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:06,561 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:06:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:06,565 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:06:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:06,570 INFO: no action. i am the leader with the lock
Oct 14 12:06:16 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:16,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:06:16 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:16,544 INFO: no action. i am the leader with the lock
Oct 14 12:06:26 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:26,536 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:06:26 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:26,539 INFO: no action. i am the leader with the lock
Oct 14 12:06:36 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:36,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:06:36 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:36,538 INFO: no action. i am the leader with the lock
Oct 14 12:06:46 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:46,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:06:46 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:46,537 INFO: no action. i am the leader with the lock
Oct 14 12:06:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:56,535 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:06:56 of-sls-test-1 patroni[7885]: 2019-10-14 12:06:56,538 INFO: no action. i am the leader with the lock
Oct 14 12:07:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:06,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:07:06 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:06,542 INFO: no action. i am the leader with the lock
Oct 14 12:07:16 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:16,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:07:16 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:16,537 INFO: no action. i am the leader with the lock
Oct 14 12:07:26 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:26,534 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Oct 14 12:07:26 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:26,541 INFO: no action. i am the leader with the lock
Oct 14 12:07:36 of-sls-test-1 patroni[7885]: 2019-10-14 12:07:36,535 INFO: Lock owner: postgres-production-node4; I am postgres-production-node4
Comments