New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to install tobs OR timescaldb-single : FATAL: "/var/lib/postgresql/data" is not a valid data directory #106
Comments
Hi @inoam This looks like an error from the storage class you have configured as initial lines of the logs say
Do you mind elaborating us on your setup i.e. k8s platform, storage type and steps on how you are configuring storage class in tobs |
Hi @VineethReddy02 ! BTW do you know where could I find this core-dump? it was not on the machine nor on the container (I ran the patroni from inside the container without exec, so it would be kept up ; still no core-dump at /var/crash) |
Yes, issue solved when applying the following to
|
so @inoam can we close this issue? |
How do you disable them for timescaledb? The fixes in the other issues don't quite work with the timescale helm chart |
Tried to install tobs on k8s. Followed the basic steps:
And then changed the storage class to match storage class I have in the cluster.
Then installed:
Helm installation finished.
However the tobs-timescaledb-0 pod keeps crushing for :
I had later tried to install only timescaledb-single from the chart, and got the same failure.
I had modified the sts to sleep before running the init script on patroni, and I see directory /var/lib/postgresql/data is created by the pod command and exist.
However, indeed PG_VERSION does not exist there, not sure who shoold create it and when.
Full logs of timescaledb pod:
The text was updated successfully, but these errors were encountered: