Closed mprimeaux closed 2 years ago
Does it only work with an arm-compatible spilo image @CyberDem0n? @jopadi can test.
@CyberDem0n and @jopadi if there's any help you need from me with testing, please let me know. Appreciate your help and time.
@mprimeaux according to logs Patroni successfully run initdb
and started Postgres. After that Postgres crashed while Patroni was running post_init.sh.
You need to check postgres logs in the ~postgres/pgdata/pgroot/pg_log
directory.
@CyberDem0n I will check that tonight or first thing in the morning and get back to you.
@CyberDem0n Here are the various logs and ls
from the ~postgres/pgdata/pgroot/pg_log
folder.
k8s-log.txt ls.txt postgresql-5.csv postgresql-5.log
Of the set, the one entry that stands out from the postgres-5.csv
file is the following:
2022-06-17 23:21:41.416 UTC,"postgres","postgres",714,"[local]",62ad0c85.2ca,2,"authentication",2022-06-17 23:21:41 UTC,5/6,0,LOG,00000,"connection authorized: user=postgres database=postgres application_name=Patroni",,,,,,,,,"","client backend",,0
2022-06-17 23:21:41.874 UTC,,,698,,62ad0c84.2ba,2,,2022-06-17 23:21:40 UTC,4/0,0,FATAL,57P01,"postmaster exited while TimescaleDB background worker launcher was working",,,,,,,,,"","TimescaleDB Background Worker Launcher",,0
Any thoughts or guidance? For context, no errors are experienced on and64 CPUs. Not sure if there are arm64 builds available for the related container images.
@CyberDem0n it appears the latest operator release 1.8.2 addressed this issue, which might be due to the latest spilo version being used.
Please, answer some short questions which should help us to understand your problem / question better?
Some general remarks when posting a bug report:
Thanks for your help in advance. I'm not sure where to start so thought I'd start with this project. In a nutshell, the PostgreSQL operator and related spilo works as expected on intel (amd64) hosts but not on Apple Silicon (arm64). I've tried this out on both my Apple MacBook Pro and Apple Studio.
Here is the log, which I think may point to spilo but also eludes to the the PostgreSQL socket not starting.
Your help and insight is greatly appreciated. I'm happy to help as desired.