Repository navigation
Closed as not planned
Description
Is there an existing issue already for this bug?
- I have searched for an existing issue, and could not find anything. I believe this is a new bug.
I have read the troubleshooting guide
- I have read the troubleshooting guide and I think this is a new bug.
I am running a supported version of CloudNativePG
- I have read the troubleshooting guide and I think this is a new bug.
Contact Details
No response
Version
1.20.3
What version of Kubernetes are you using?
1.26
What is your Kubernetes environment?
Self-managed: kind (evaluation)
How did you install the operator?
YAML manifest
What happened?
After rebooting one of the nodes, it will not start.
I tried to read something from the logs but I cannot find the reason (and a way to fix it).
Cluster resource
No response
Relevant log output
{"level":"info","ts":"2023-11-15T07:03:42Z","logger":"setup","msg":"Starting CloudNativePG Instance Manager","logging_pod":"pgsql15-3","version":"1.20.2","build":{"Version":"1.20.2","Commit":"6f7f10b7","Date":"2023-07-27"}}
2023-11-15T08:03:42.742170040+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","logger":"setup","msg":"starting controller-runtime manager","logging_pod":"pgsql15-3"}
2023-11-15T08:03:42.742336360+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Cluster"}
{"level":"info","ts":"2023-11-15T07:03:42Z","msg":"Starting Controller","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster"}
2023-11-15T08:03:42.742711670+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","msg":"Starting webserver","logging_pod":"pgsql15-3","address":":9187"}
2023-11-15T08:03:42.743284866+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","logger":"roles_reconciler","msg":"starting up the runnable","logging_pod":"pgsql15-3"}
2023-11-15T08:03:42.743308185+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","logger":"roles_reconciler","msg":"skipping the RoleSynchronizer in replicas","logging_pod":"pgsql15-3"}
2023-11-15T08:03:42.743323992+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","msg":"Starting webserver","logging_pod":"pgsql15-3","address":"localhost:8010"}
2023-11-15T08:03:42.743542146+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","logger":"roles_reconciler","msg":"setting up RoleSynchronizer loop","logging_pod":"pgsql15-3"}
2023-11-15T08:03:42.743566374+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","msg":"Starting webserver","logging_pod":"pgsql15-3","address":":8000"}
2023-11-15T08:03:42.845851217+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","msg":"Starting workers","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","worker count":1}
{"level":"info","ts":"2023-11-15T07:03:42Z","msg":"Found previous run flag","logging_pod":"pgsql15-3","filename":"/var/lib/postgresql/data/pgdata/cnpg_initialized-pgsql15-3"}
2023-11-15T08:03:42.932422176+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","msg":"Extracting pg_controldata information","logging_pod":"pgsql15-3","reason":"postmaster start up"}
2023-11-15T08:03:42.934574796+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","logger":"pg_controldata","msg":"pg_control version number: 1300\nCatalog version number: 202209061\nDatabase system identifier: 7227586665997950999\nDatabase cluster state: shut down in recovery\npg_control last modified: Tue 14 Nov 2023 10:39:59 PM UTC\nLatest checkpoint location: CA/33010BB8\nLatest checkpoint's REDO location: CA/33010B80\nLatest checkpoint's REDO WAL file: 0000000A000000CA00000033\nLatest checkpoint's TimeLineID: 10\nLatest checkpoint's PrevTimeLineID: 10\nLatest checkpoint's full_page_writes: on\nLatest checkpoint's NextXID: 0:714194\nLatest checkpoint's NextOID: 50629\nLatest checkpoint's NextMultiXactId: 3144\nLatest checkpoint's NextMultiOffset: 6295\nLatest checkpoint's oldestXID: 716\nLatest checkpoint's oldestXID's DB: 1\nLatest checkpoint's oldestActiveXID: 714194\nLatest checkpoint's oldestMultiXid: 1\nLatest checkpoint's oldestMulti's DB: 1\nLatest checkpoint's oldestCommitTsXid:0\nLatest checkpoint's newestCommitTsXid:0\nTime of latest checkpoint: Mon 13 Nov 2023 07:06:30 PM UTC\nFake LSN counter for unlogged rels: 0/3E8\nMinimum recovery ending location: CA/35000000\nMin recovery ending loc's timeline: 10\nBackup start location: 0/0\nBackup end location: 0/0\nEnd-of-backup record required: no\nwal_level setting: logical\nwal_log_hints setting: on\nmax_connections setting: 100\nmax_worker_processes
setting: 32\nmax_wal_senders setting: 10\nmax_prepared_xacts setting: 0\nmax_locks_per_xact setting: 64\ntrack_commit_timestamp setting: off\nMaximum data alignment: 8\nDatabase block size: 8192\nBlocks per segment of large relation: 131072\nWAL block size: 8192\nBytes per WAL segment: 16777216\nMaximum length of identifiers: 64\nMaximum columns in an index: 32\nMaximum size of a TOAST chunk: 1996\nSize of a large-object chunk: 2048\nDate/time type storage: 64-bit integers\nFloat8 argument passing: by value\nData page checksum version: 0\nMock authentication nonce: 1527c7c996593b2ba147d001a5fd50051eefe2ee208395d490d357f44029e3f1\n","pipe":"stdout","logging_pod":"pgsql15-3"}
2023-11-15T08:03:42.934651561+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","msg":"The PID file content is wrong, deleting it and assuming it's stale","file":"/var/lib/postgresql/data/pgdata/postmaster.pid","logging_pod":"pgsql15-3","err":"file does not exist","pidFileContents":""}
2023-11-15T08:03:42.996000544+01:00 {"level":"info","ts":"2023-11-15T07:03:42Z","msg":"Instance is still down, will retry in 1 second","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"pgsql15","namespace":"services-postgresql"},"namespace":"services-postgresql","name":"pgsql15","reconcileID":"de892087-34d7-4b8f-a44f-ee40c57c1227","uuid":"1c94aeca-8385-11ee-b613-5e21884c1f50","logging_pod":"pgsql15-3"}
2023-11-15T08:03:43.005810907+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"2023-11-15 08:03:43.005 CET [24] LOG: redirecting log output to logging collector process","pipe":"stderr","logging_pod":"pgsql15-3"}
2023-11-15T08:03:43.005862850+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"2023-11-15 08:03:43.005 CET [24] HINT: Future log output will appear
in directory \"/controller/log\".","pipe":"stderr","logging_pod":"pgsql15-3"}
2023-11-15T08:03:43.007300860+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.005 CET","process_id":"24","session_id":"65546d4e.18","session_line_num":"1","session_start_time":"2023-11-15 08:03:42 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"ending log output to stderr","hint":"Future log output will go to log destination \"csvlog\".","backend_type":"postmaster","query_id":"0"}}
2023-11-15T08:03:43.007345782+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.005 CET","process_id":"24","session_id":"65546d4e.18","session_line_num":"2","session_start_time":"2023-11-15 08:03:42 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"starting PostgreSQL 15.4 (Debian 15.4-2.pgdg110+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit","backend_type":"postmaster","query_id":"0"}}
2023-11-15T08:03:43.007357171+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.005 CET","process_id":"24","session_id":"65546d4e.18","session_line_num":"3","session_start_time":"2023-11-15 08:03:42 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"listening on IPv4 address \"0.0.0.0\", port 5432","backend_type":"postmaster","query_id":"0"}}
2023-11-15T08:03:43.007366174+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.005 CET","process_id":"24","session_id":"65546d4e.18","session_line_num":"4","session_start_time":"2023-11-15 08:03:42 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"listenin
g on IPv6 address \"::\", port 5432","backend_type":"postmaster","query_id":"0"}}
2023-11-15T08:03:43.007455479+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"2023-11-15 08:03:43.005 CET [24] LOG: ending log output to stderr","source":"/controller/log/postgres","logging_pod":"pgsql15-3"}
2023-11-15T08:03:43.007503716+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"2023-11-15 08:03:43.005 CET [24] HINT: Future log output will go to log destination \"csvlog\".","source":"/controller/log/postgres","logging_pod":"pgsql15-3"}
2023-11-15T08:03:43.008916700+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.008 CET","process_id":"24","session_id":"65546d4e.18","session_line_num":"5","session_start_time":"2023-11-15 08:03:42 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"listening on Unix socket \"/controller/run/.s.PGSQL.5432\"","backend_type":"postmaster","query_id":"0"}}
2023-11-15T08:03:43.018218862+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.017 CET","process_id":"28","session_id":"65546d4f.1c","session_line_num":"1","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"database system was shut down in recovery at 2023-11-14 23:39:59 CET","backend_type":"startup","query_id":"0"}}
2023-11-15T08:03:43.438842275+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.438 CET","user_name":"postgres","database_name":"postgres","process_id":"42","connection_from":"[local]","session_id":"65546d4f.2a","session_line_num":"1","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"th
e database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:43Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:43.457027227+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.456 CET","user_name":"postgres","database_name":"postgres","process_id":"43","connection_from":"[local]","session_id":"65546d4f.2b","session_line_num":"1","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
2023-11-15T08:03:43.457071559+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","msg":"Readiness probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:43.719088641+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:43.719264298+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.718 CET","user_name":"postgres","database_name":"postgres","process_id":"44","connection_from":"[local]","session_id":"65546d4f.2c","session_line_num":"1","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
2023-11-15T08:03:43.733528651+01:00 {"
level":"info","ts":"2023-11-15T07:03:43Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:43.733631521+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.733 CET","user_name":"postgres","database_name":"postgres","process_id":"45","connection_from":"[local]","session_id":"65546d4f.2d","session_line_num":"1","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
2023-11-15T08:03:43.789723364+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:43.790056753+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.789 CET","user_name":"postgres","database_name":"postgres","process_id":"46","connection_from":"[local]","session_id":"65546d4f.2e","session_line_num":"1","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
2023-11-15T08:03:43.875876807+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"wal-restore","msg":"Restored WAL file","logging_pod":"pgsql15-3","walName":"0000000B.history","startTime":"2023-11-15T07:03:43Z","endTime":"2023-11-15T07:03:43Z","elapsedWalTime":0.661408141}
2023-11-15T08:03:43.875926647+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"wa
l-restore","msg":"WAL restore command completed (parallel)","logging_pod":"pgsql15-3","walName":"0000000B.history","maxParallel":1,"successfulWalRestore":1,"failedWalRestore":0,"endOfWALStream":false,"startTime":"2023-11-15T07:03:43Z","downloadStartTime":"2023-11-15T07:03:43Z","downloadTotalTime":0.661714141,"totalTime":0.822255043}
2023-11-15T08:03:43.879204398+01:00 {"level":"info","ts":"2023-11-15T07:03:43Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:43.878 CET","process_id":"28","session_id":"65546d4f.1c","session_line_num":"2","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"restored log file \"0000000B.history\" from archive","backend_type":"startup","query_id":"0"}}
2023-11-15T08:03:44.050955884+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:44.051059686+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:44.050 CET","user_name":"postgres","database_name":"postgres","process_id":"59","connection_from":"[local]","session_id":"65546d50.3b","session_line_num":"1","session_start_time":"2023-11-15 08:03:44 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
2023-11-15T08:03:44.062130205+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","msg":"Readiness probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:44.062987695+01:00 {"level":"info","ts":"2023-11-15T07:03:44
Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:44.061 CET","user_name":"postgres","database_name":"postgres","process_id":"60","connection_from":"[local]","session_id":"65546d50.3c","session_line_num":"1","session_start_time":"2023-11-15 08:03:44 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
2023-11-15T08:03:44.134314867+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:44.133 CET","user_name":"postgres","database_name":"postgres","process_id":"63","connection_from":"[local]","session_id":"65546d50.3f","session_line_num":"1","session_start_time":"2023-11-15 08:03:44 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
2023-11-15T08:03:44.137014323+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","msg":"DB not available, will retry","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"pgsql15","namespace":"services-postgresql"},"namespace":"services-postgresql","name":"pgsql15","reconcileID":"87c09a80-919d-4198-8207-1028f570a1bf","uuid":"1d4434ec-8385-11ee-b613-5e21884c1f50","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:44.137105474+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:44.136 CET","user_name":"postgres","database_name":"postgres","process_id":"64","connection_from":"[local]","session_id":"65546d50.40","session_line_num":"1","session_start_time":"2023-11-15 08:03:44 CET","transaction_id":"0","error_sev
erity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
2023-11-15T08:03:44.392636792+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","msg":"Unable to collect metrics","logging_pod":"pgsql15-3","error":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:44.392751926+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:44.392 CET","user_name":"postgres","database_name":"postgres","process_id":"65","connection_from":"[local]","session_id":"65546d50.41","session_line_num":"1","session_start_time":"2023-11-15 08:03:44 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
2023-11-15T08:03:44.394269768+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:44.393 CET","user_name":"postgres","database_name":"postgres","process_id":"66","connection_from":"[local]","session_id":"65546d50.42","session_line_num":"1","session_start_time":"2023-11-15 08:03:44 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:44Z","msg":"Readiness probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:44.462981406+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:44.462 CET","user_name":"postgres","database_name":"postgres","process_id":"67","connection_from":"[local]","session_id":"65546d50.43","session_line_num":"1","session_start_time":"2023-11-15 08:03:44 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:44Z","logger":"wal-restore","msg":"Restored WAL file","logging_pod":"pgsql15-3","walName":"0000000C.history","startTime":"2023-11-15T07:03:44Z","endTime":"2023-11-15T07:03:44Z","elapsedWalTime":0.700228542}
2023-11-15T08:03:44.779809781+01:00 {"level":"info","ts":"2023-11-15T07:03:44Z","logger":"wal-restore","msg":"WAL restore command completed (parallel)","logging_pod":"pgsql15-3","walName":"0000000C.history","maxParallel":1,"successfulWalRestore":1,"failedWalRestore":0,"endOfWALStream":false,"startTime":"2023-11-15T07:03:43Z","downloadStartTime":"2023-11-15T07:03:44Z","downloadTotalTime":0.700498522,"totalTime":0.855732874}
{"level":"info","ts":"2023-11-15T07:03:44Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:44.783 CET","process_id":"28","session_id":"65546d4f.1c","session_line_num":"3","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"restored log file \"0000000C.history\" from archive","backend_type":"startup","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:45Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:45.254 CET","user_name":"postgres","database_name":"postgres","process_id":"82","connection_from":"[local]","session_id":"65546d51.52","session_line_num":"1","session_start_time":"2023-11-15 08:03:45 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:45Z","msg":"DB not available, will retry","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"pgsql15","namespace":"services-postgresql"},"namespace":"services-postgresql","name":"pgsql15","reconcileID":"49ed8d65-a36d-48f6-91fd-ae55dde738d8","uuid":"1df24ed2-8385-11ee-b613-5e21884c1f50","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:45.258140790+01:00 {"level":"info","ts":"2023-11-15T07:03:45Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:45.257 CET","user_name":"postgres","database_name":"postgres","process_id":"83","connection_from":"[local]","session_id":"65546d51.53","session_line_num":"1","session_start_time":"2023-11-15 08:03:45 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:45Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:45.361506337+01:00 {"level":"info","ts":"2023-11-15T07:03:45Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:45.360 CET","user_name":"postgres","database_name":"postgres","process_id":"84","connection_from":"[local]","session_id":"65546d51.54","session_line_num":"1","session_start_time":"2023-11-15 08:03:45 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:45Z","logger":"wal-restore","msg":"WAL file not found in the recovery object store","logging_pod":"pgsql15-3","walName":"0000000D.history","options":["--endpoint-url","https://backup1.services-minio.svc:9000","--cloud-provider","aws-s3","s3://pgsql15-backups","pgsql15"],"startTime":"2023-11-15T07:03:44Z","endTime":"2023-11-15T07:03:45Z","elapsedWalTime":0.620937751}
{"level":"info","ts":"2023-11-15T07:03:45Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
{"level":"info","ts":"2023-11-15T07:03:45Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:45.645 CET","user_name":"postgres","database_name":"postgres","process_id":"85","connection_from":"[local]","session_id":"65546d51.55","session_line_num":"1","session_start_time":"2023-11-15 08:03:45 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:45Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:45.663213320+01:00 {"level":"info","ts":"2023-11-15T07:03:45Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:45.662 CET","user_name":"postgres","database_name":"postgres","process_id":"86","connection_from":"[local]","session_id":"65546d51.56","session_line_num":"1","session_start_time":"2023-11-15 08:03:45 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:45Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:45.695 CET","process_id":"28","session_id":"65546d4f.1c","session_line_num":"4","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"entering standby mode","backend_type":"startup","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:45Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:45.726016581+01:00 {"level":"info","ts":"2023-11-15T07:03:45Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:45.725 CET","user_name":"postgres","database_name":"postgres","process_id":"97","connection_from":"[local]","session_id":"65546d51.61","session_line_num":"1","session_start_time":"2023-11-15 08:03:45 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:45Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:45.993841326+01:00 {"level":"info","ts":"2023-11-15T07:03:45Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:45.993 CET","user_name":"postgres","database_name":"postgres","process_id":"101","connection_from":"[local]","session_id":"65546d51.65","session_line_num":"1","session_start_time":"2023-11-15 08:03:45 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:46Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:46.378 CET","user_name":"postgres","database_name":"postgres","process_id":"103","connection_from":"[local]","session_id":"65546d52.67","session_line_num":"1","session_start_time":"2023-11-15 08:03:46 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:46Z","msg":"DB not available, will retry","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"pgsql15","namespace":"services-postgresql"},"namespace":"services-postgresql","name":"pgsql15","reconcileID":"f74cdc83-913f-4003-ba51-780e5e02b843","uuid":"1e9d6b01-8385-11ee-b613-5e21884c1f50","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
{"level":"info","ts":"2023-11-15T07:03:46Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:46.381 CET","user_name":"postgres","database_name":"postgres","process_id":"104","connection_from":"[local]","session_id":"65546d52.68","session_line_num":"1","session_start_time":"2023-11-15 08:03:46 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:46Z","logger":"wal-restore","msg":"Restored WAL file","logging_pod":"pgsql15-3","walName":"0000000C.history","startTime":"2023-11-15T07:03:45Z","endTime":"2023-11-15T07:03:46Z","elapsedWalTime":0.622316712}
2023-11-15T08:03:46.494627026+01:00 {"level":"info","ts":"2023-11-15T07:03:46Z","logger":"wal-restore","msg":"WAL restore command completed (parallel)","logging_pod":"pgsql15-3","walName":"0000000C.history","maxParallel":1,"successfulWalRestore":1,"failedWalRestore":0,"endOfWALStream":false,"startTime":"2023-11-15T07:03:45Z","downloadStartTime":"2023-11-15T07:03:45Z","downloadTotalTime":0.622730058,"totalTime":0.76213108}
{"level":"info","ts":"2023-11-15T07:03:46Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:46.497 CET","process_id":"28","session_id":"65546d4f.1c","session_line_num":"5","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"restored log file \"0000000C.history\" from archive","backend_type":"startup","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Instance status probe failing","logging_pod":"pgsql15-3","err":"failed to connect to `host=/controller/run user=postgres database=postgres`: server error (FATAL: the database system is starting up (SQLSTATE 57P03))"}
2023-11-15T08:03:47.349903448+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:47.349 CET","user_name":"postgres","database_name":"postgres","process_id":"118","connection_from":"[local]","session_id":"65546d53.76","session_line_num":"1","session_start_time":"2023-11-15 08:03:47 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"57P03","message":"the database system is starting up","backend_type":"client backend","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:47Z","logger":"wal-restore","msg":"Restored WAL file","logging_pod":"pgsql15-3","walName":"0000000A000000CA00000033","startTime":"2023-11-15T07:03:46Z","endTime":"2023-11-15T07:03:47Z","elapsedWalTime":0.783000987}
2023-11-15T08:03:47.483302502+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","logger":"wal-restore","msg":"WAL restore command completed (parallel)","logging_pod":"pgsql15-3","walName":"0000000A000000CA00000033","maxParallel":1,"successfulWalRestore":1,"failedWalRestore":0,"endOfWALStream":false,"startTime":"2023-11-15T07:03:46Z","downloadStartTime":"2023-11-15T07:03:46Z","downloadTotalTime":0.783424532,"totalTime":0.940842584}
{"level":"info","ts":"2023-11-15T07:03:47Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:47.486 CET","process_id":"28","session_id":"65546d4f.1c","session_line_num":"6","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"restored log file \"0000000A000000CA00000033\" from archive","backend_type":"startup","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:47Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:47.500 CET","process_id":"28","session_id":"65546d4f.1c","session_line_num":"7","session_start_time":"2023-11-15 08:03:43 CET","transaction_id":"0","error_severity":"FATAL","sql_state_code":"XX000","message":"requested timeline 12 does not contain minimum recovery point CA/35000000 on timeline 10","backend_type":"startup","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:47Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:47.503 CET","process_id":"24","session_id":"65546d4e.18","session_line_num":"6","session_start_time":"2023-11-15 08:03:42 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"startup process (PID 28) exited with exit code 1","backend_type":"postmaster","query_id":"0"}}
2023-11-15T08:03:47.503399532+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:47.503 CET","process_id":"24","session_id":"65546d4e.18","session_line_num":"7","session_start_time":"2023-11-15 08:03:42 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"aborting startup due to startup process failure","backend_type":"postmaster","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:47Z","logger":"postgres","msg":"record","logging_pod":"pgsql15-3","record":{"log_time":"2023-11-15 08:03:47.507 CET","process_id":"24","session_id":"65546d4e.18","session_line_num":"8","session_start_time":"2023-11-15 08:03:42 CET","transaction_id":"0","error_severity":"LOG","sql_state_code":"00000","message":"database system is shut down","backend_type":"postmaster","query_id":"0"}}
{"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Extracting pg_controldata information","logging_pod":"pgsql15-3","reason":"postmaster has exited"}
2023-11-15T08:03:47.519806666+01:00 {"level":"error","ts":"2023-11-15T07:03:47Z","msg":"PostgreSQL process exited with errors","logging_pod":"pgsql15-3","error":"exit status 1","stacktrace":"github.com/cloudnative-pg/cloudnative-pg/pkg/management/log.(*logger).Error\n\tpkg/management/log/log.go:128\ngithub.com/cloudnative-pg/cloudnative-pg/internal/cmd/manager/instance/run/lifecycle.(*PostgresLifecycle).Start\n\tinternal/cmd/manager/instance/run/lifecycle/lifecycle.go:99\nsigs.k8s.io/controller-runtime/pkg/manager.(*runnableGroup).reconcile.func1\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/manager/runnable_group.go:219"}
2023-11-15T08:03:47.519892689+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Stopping and waiting for non leader election runnables"}
2023-11-15T08:03:47.519975746+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Stopping and waiting for leader election runnables"}
2023-11-15T08:03:47.520245001+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","logger":"Replicator","msg":"Terminated slot Replicator loop","logging_pod":"pgsql15-3"}
2023-11-15T08:03:47.520508729+01:00 {"level":"error","ts":"2023-11-15T07:03:47Z","msg":"error received after stop sequence was engaged","error":"exit status 1","stacktrace":"sigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).engageStopProcedure.func1\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/manager/internal.go:555"}
{"level":"error","ts":"2023-11-15T07:03:47Z","msg":"Error while getting cluster CA Server secret","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"pgsql15","namespace":"services-postgresql"},"namespace":"services-postgresql","name":"pgsql15","reconcileID":"0c8d5946-aff0-4735-a388-ed324ba1a852","uuid":"1f48fefc-8385-11ee-b613-5e21884c1f50","logging_pod":"pgsql15-3","error":"Get \"https://10.43.0.1:443/api/v1/namespaces/services-postgresql/secrets/pgsql15-server-tls\": context canceled","stacktrace":"github.com/cloudnative-pg/cloudnative-pg/pkg/management/log.(*logger).Error\n\tpkg/management/log/log.go:128\ngithub.com/cloudnative-pg/cloudnative-pg/internal/management/controller.(*InstanceReconciler).RefreshSecrets\n\tinternal/management/controller/instance_controller.go:861\ngithub.com/cloudnative-pg/cloudnative-pg/internal/management/controller.(*InstanceReconciler).Reconcile\n\tinternal/management/controller/instance_controller.go:130\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:118\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:314\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:265\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:226"}
2023-11-15T08:03:47.521223502+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Exited log pipe","fileName":"/controller/log/postgres.json","logging_pod":"pgsql15-3"}
2023-11-15T08:03:47.521258168+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Exited log pipe","fileName":"/controller/log/postgres","logging_pod":"pgsql15-3"}
2023-11-15T08:03:47.521270186+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","logger":"roles_reconciler","msg":"Terminated RoleSynchronizer loop","logging_pod":"pgsql15-3"}
2023-11-15T08:03:47.521283563+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Shutdown signal received, waiting for all workers to finish","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster"}
2023-11-15T08:03:47.521294907+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Exited log pipe","fileName":"/controller/log/postgres.csv","logging_pod":"pgsql15-3"}
2023-11-15T08:03:47.521358877+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Webserver exited","logging_pod":"pgsql15-3","address":":9187"}
2023-11-15T08:03:47.521372841+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Webserver exited","logging_pod":"pgsql15-3","address":"localhost:8010"}
{"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Webserver exited","logging_pod":"pgsql15-3","address":":8000"}
2023-11-15T08:03:47.521418984+01:00 {"level":"error","ts":"2023-11-15T07:03:47Z","msg":"Error while getting barman endpoint CA secret","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"pgsql15","namespace":"services-postgresql"},"namespace":"services-postgresql","name":"pgsql15","reconcileID":"0c8d5946-aff0-4735-a388-ed324ba1a852","uuid":"1f48fefc-8385-11ee-b613-5e21884c1f50","logging_pod":"pgsql15-3","error":"client rate limiter Wait returned an error: context canceled","stacktrace":"github.com/cloudnative-pg/cloudnative-pg/pkg/management/log.(*logger).Error\n\tpkg/management/log/log.go:128\ngithub.com/cloudnative-pg/cloudnative-pg/internal/management/controller.(*InstanceReconciler).RefreshSecrets\n\tinternal/management/controller/instance_controller.go:868\ngithub.com/cloudnative-pg/cloudnative-pg/internal/management/controller.(*InstanceReconciler).Reconcile\n\tinternal/management/controller/instance_controller.go:130\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:118\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:314\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:265\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tpkg/mod/sigs.k8s.io/[email protected]/pkg/internal/controller/controller.go:226"}
2023-11-15T08:03:47.521803404+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","logger":"pg_controldata","msg":"pg_control version number: 1300\nCatalog version number:
202209061\nDatabase system identifier: 7227586665997950999\nDatabase cluster state: shut down in recovery\npg_control last modified: Tue 14 Nov 2023 10:39:59 PM UTC\nLatest checkpoint location: CA/33010BB8\nLatest checkpoint's REDO location: CA/33010B80\nLatest checkpoint's REDO WAL file: 0000000A000000CA00000033\nLatest checkpoint's TimeLineID: 10\nLatest checkpoint's PrevTimeLineID: 10\nLatest checkpoint's full_page_writes: on\nLatest checkpoint's NextXID: 0:714194\nLatest checkpoint's NextOID: 50629\nLatest checkpoint's NextMultiXactId: 3144\nLatest checkpoint's NextMultiOffset: 6295\nLatest checkpoint's oldestXID: 716\nLatest checkpoint's oldestXID's DB: 1\nLatest checkpoint's oldestActiveXID: 714194\nLatest checkpoint's oldestMultiXid: 1\nLatest checkpoint's oldestMulti's DB: 1\nLatest checkpoint's oldestCommitTsXid:0\nLatest checkpoint's newestCommitTsXid:0\nTime of latest checkpoint: Mon 13 Nov 2023 07:06:30 PM UTC\nFake LSN counter for unlogged rels: 0/3E8\nMinimum recovery ending location: CA/35000000\nMin recovery ending loc's timeline: 10\nBackup start location: 0/0\nBackup end location: 0/0\nEnd-of-backup record required: no\nwal_level setting: logical\nwal_log_hints setting: on\nmax_connections setting: 100\nmax_worker_processes setting: 32\nmax_wal_senders setting: 10\nmax_prepared_xacts setting: 0\nmax_locks_per_xact setting: 64\ntrack_commit_timestamp setting: off\nMaximum data alignment: 8\nDatabase block size: 8192\nBlocks per segment of large relation: 131072\nWAL block size: 8192\nBytes per WAL segment: 16777216\nMaximum length of identifiers: 64\nMaximum columns in an index: 32\nMaximum size of a TOAST chunk: 1996\nSize of a large-object chunk: 2048\nDat
e/time type storage: 64-bit integers\nFloat8 argument passing: by value\nData page checksum version: 0\nMock authentication nonce: 1527c7c996593b2ba147d001a5fd50051eefe2ee208395d490d357f44029e3f1\n","pipe":"stdout","logging_pod":"pgsql15-3"}
{"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Instance is still down, will retry in 1 second","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"pgsql15","namespace":"services-postgresql"},"namespace":"services-postgresql","name":"pgsql15","reconcileID":"0c8d5946-aff0-4735-a388-ed324ba1a852","uuid":"1f48fefc-8385-11ee-b613-5e21884c1f50","logging_pod":"pgsql15-3"}
2023-11-15T08:03:47.565078624+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"All workers finished","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster"}
2023-11-15T08:03:47.565093879+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Stopping and waiting for caches"}
2023-11-15T08:03:47.565127252+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Stopping and waiting for webhooks"}
2023-11-15T08:03:47.565139524+01:00 {"level":"info","ts":"2023-11-15T07:03:47Z","msg":"Wait completed, proceeding to shutdown the manager"}Code of Conduct
- I agree to follow this project's Code of Conduct
Reacted by Jakob Gillich, Aaron, limalc, godunko-mikhail, Romain Lecat and Ani Ravi
Activity
jgillich commentedon Nov 18, 2023
I think the reason is this
we've hit this several times as well, a workaround is to delete the pvc and pod, cnpg will then create a new replica. Not sure what the cause is though, something about replication and failover, probably...
kfkawalec commentedon Nov 20, 2023
I know that deleting pvc and pod helps. But is there any other way?
Delete only some files from PVC?
On a large database recreating nodes from scratch will take a lot of time :(
gbartolini commentedon Nov 22, 2023
This problem should have been fixed by several commits that landed in 1.20.4 and 1.21.1. Please update and try again.
kfkawalec commentedon Nov 28, 2023
Ok, I'll try 1.21.1
Pwdak commentedon Dec 12, 2023
Hi guys! i have an OKD cluster with 3masters 2workers 1manager to which IP addr the api server, console, api-int dns are attached. After shoot down of my network, i restarted all the nodes and now my OKD cluster does not start, the console is no more working. I encountered this error message : Get "https://api.okd-mz.example.com:6443/apis/config.openshift.io/v1/clusteroperators": EOF
NicoJDE commentedon Dec 23, 2023
Problem persistens in 1.21.1
After Restarting the new primary Pod the not syncing Pod is working again
Controller Log:
Pod Log:
Pod Primary
NicoJDE commentedon Mar 7, 2024
any updates on this?
ibotty commentedon Apr 16, 2024
I also hit this problem with the same error message:
yxxhero commentedon Apr 16, 2024
I have same issue
ibotty commentedon Sep 18, 2024
I now had this happen on a small database (1GB), so it's easy to experiment. It might have also been because of a not-working failover or anything like that. But I cannot reconstruct that ATM.
Doing a barman backup directly before creating a new replica does not work. Restarting the primary before creating a new replica does not work as well.
Anything I can do to debug?
github-actions commentedon Feb 17, 2025
This issue is stale because it has been open for 60 days with no activity.
mlazowik commentedon Feb 17, 2025
Not stale
gbartolini commentedon Apr 28, 2025
Can you please try with the new startup and readiness probes' replica strategy? Thanks! Please try the release candidate version: https://cloudnative-pg.io/documentation/preview/
bck01215 commentedon Jun 17, 2025
I am running my nodes on instances that fail over fairly regularly in a staging cluster and recently this issue keeps occurring and I have to delete the PVC. The backup takes a long time to run
The version 1.25.1 cnpg:17.4-4 with added timescale version 2.19.0
github-actions commentedon Aug 22, 2025
This issue is stale because it has been open for 60 days with no activity.
github-actions commentedon Sep 6, 2025
This issue was closed because it has been inactive for 14 days since being marked as stale.