-
Notifications
You must be signed in to change notification settings - Fork 344
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
[Bug] ElasticSearch index not created when using existing SQL/Cassandra #445
Comments
I stumbled upon this today while trying to configure temporal with an external PostgreSQL DB. I also found a workaround, but it isn't pretty. We're deploying this through an ArgoCD application, and this is what it looks like:
All 4 temporal pods were stuck initializing. I only checked the worker pod which was was failing with:
This is due the I ended up cloning the repo, checking out the tag I was using above, putting the helm values on a file by themselves and templating the chart locally:
And strangely enough this generated the yaml for the I ran out of time to troubleshoot why the helm chart has this strange behaviour, if it wasn't for this issue I would assume the problem was between my chair and keyboard, but now I'm not so sure. Also it is worth bearing in mind that many temporal users will use a GitOps tool (likely ArgoCD or FluxCD) to deploy this helm chart, so it is also something worth validating. Cheers |
same issue is happening to me, have pods stuck on |
Do you happen to have any updates on this? Our team is also affected by this issue. |
I seem to also have this issue upgrading from 0.36.0 to 0.37.0. It is my first upgrade. Scott |
I also had this issue; after a Kubernetes update I realized my Temporal deployment wasn't in a good state. I found that the
Then you can search for
I had to kick a few of the pods to restart the deployment but then everything was working as normal. |
If you are using ArgoCD:
all working fine. |
i ran into this and added
to my chart. not sure if this is wrong though |
What are you really trying to do?
Deploy Temporal with an existing Database.
Describe the bug
When an exiting DB is used, the suggested configuration is disabling the schema setup and update:
However, this causes the the index creation job not to run either: https://github.com/temporalio/helm-charts/blob/master/templates/server-job.yaml#L347
There should likely be a separate flag controlling the ElasticSearch index creation.
Minimal Reproduction
Just run any of the "Install with your own MySQL/PostgreSQL/Cassandra" examples. All server services will be stuck in Init "waiting for elasticsearch index to become ready"
Additional context
There is this post on the community forum which might be related.
The text was updated successfully, but these errors were encountered: