Open dhiaayachi opened 2 months ago
The issue you're experiencing is likely due to a mismatch between the Temporal Server's configuration and the Elasticsearch cluster configuration. Here's a breakdown of the possible causes and how to troubleshoot:
1. Elasticsearch Connectivity
es.mgmt.dev.xxx.com:443
):
curl -s -XGET 'https://es.mgmt.dev.xxx.com:443/_cluster/health'
You should see a response indicating a healthy cluster.
temporal_visibility
and <placeholder>
) you've configured in the es-visibility
datastore are correct and have the appropriate permissions on OpenSearch.2. Elasticsearch Index and Mapping
temporal-visibility
aligns with the expected schema defined in your config_template.yaml
. Refer to Elasticsearch Mapping documentation. 3. Temporal Configuration and Compatibility
advancedVisibilityStore
is set to es-visibility
in your config_template.yaml
file.es-visibility
datastore (version: "v7"
).4. Temporal UI Configuration
publicClient.hostPort
).Troubleshooting Steps
curl
or wget
to test connectivity between the Temporal Server pods and the OpenSearch cluster.Additional Tips
Once you've thoroughly verified the connection, mapping, and configuration, and the issue persists, you should consult the Temporal community for additional guidance.
Key Resources
Remember: Providing specific details about your setup and the errors you encounter will help troubleshoot the issue more effectively.
Thanks for reporting this issue.
It looks like you're not seeing the data in the Temporal UI even though you're seeing data going into OpenSearch. You mentioned that there are no errors in the Temporal logs.
Could you please confirm:
To assist you further, I'll need more information to help you troubleshoot this issue. Please provide details as requested above.
Thanks for reporting this issue. The Temporal UI does not show data when using an Elasticsearch visibility store. This is because the visibility data in Elasticsearch needs to be refreshed.
You can work around this by triggering a refresh of the visibility data in Elasticsearch. There are two ways to do this:
Use the temporal operator search-attribute list
command. This command will refresh the visibility data in Elasticsearch.
Use the temporal workflow list
command with the --query
option. This option can be used to filter the Workflow Executions to be affected by the Batch Job.
You can also refer to the documentation for Advanced Visibility for more information on how to use Elasticsearch as a visibility store.
Thank you for reporting this issue.
I see that you are using OpenSearch for your advanced visibility store, but the Temporal UI is not showing any data.
To help me determine what might be causing this, could you please provide the following information:
temporal-visibility
index exists in your OpenSearch cluster? The documentation for advanced visibility and OpenSearch can be found here: https://docs.temporal.io/visibility#advanced-visibility
If you provide this information, I should be able to suggest a potential solution.
Thanks for reporting this! It looks like you're experiencing a known issue where the Temporal UI doesn't display data when using an OpenSearch cluster for the advanced visibility store. This is due to a mismatch in indexing configurations between the default and advanced visibility stores.
Here are the steps to fix the issue:
For more information about configuring advanced visibility in Temporal, you can refer to the documentation:
Please feel free to ask further questions if you need more assistance.
Thanks for reporting this issue!
I see that you are using Opensearch as your visibility store. The Temporal UI only supports Elasticsearch v7 or v8 for advanced visibility features. If you are using an older version of Elasticsearch, you may need to upgrade your cluster.
Can you share the version of Opensearch you are using?
Here is a link to the documentation for advanced visibility features: https://docs.temporal.io/visibility
I have a temporal setup as following: defaultstore: postgres advancedVisibilityStore: es-visibility (the database behind es-visiblity is opensearch cluster) I ran some workflows and I see the data going into the opensearch. But the temporal UI does not show any data. Neither do I see any error logs from the temporal pods. The configmap for the temporal services look as following: (.venv) temporal prashanth$ kubectl get cm ft1-mm-temporal-frontend-config -o yaml apiVersion: v1 data: config_template.yaml: |- log: stdout: true level: "debug,info"
UI: