-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
What happened?
Clicking "Archive" on a trace in the Jaeger UI shows "This trace has been archived", but nothing is written to Elasticsearch. No archive indices are created and no errors are logged.
Calling the API directly confirms the issue — it returns HTTP 200 with an empty response that looks like a search result, not a write acknowledgment:
POST /api/archive/{traceID}
→ 200 {"data":[],"total":0,"limit":0,"offset":0,"errors":[]}
Steps to reproduce
- Deploy Jaeger v2.14.1 with Elasticsearch and
traces_archiveconfigured (see config below) - Open a trace in the Jaeger UI
- Click the "Archive" button
- UI shows "This trace has been archived"
- Check Elasticsearch — no
archive*indices exist
Expected behavior
The trace should be written to Elasticsearch under the archive index prefix, and archive-jaeger-span-* indices should appear.
Relevant log output
# No archive-related log output at all, even after clicking Archive.
# Startup logs show both stores initializing successfully:
Initializing storage 'archive_store_elasticsearch'
Elasticsearch detected version=7
Initializing storage 'primary_store_elasticsearch'
Elasticsearch detected version=7Additional context
Primary storage works fine — jaeger-span-* and jaeger-service-* indices are created and populated. Only the archive write is silently failing.
Possibly related to #6225 (storage role assignment).
Jaeger setup
Jaeger backend version: v2.14.1
Storage backend: AWS OpenSearch 7.x (VPC endpoint)
Deployment configs:
extensions:
jaeger_query:
storage:
traces: primary_store_elasticsearch
traces_archive: archive_store_elasticsearch
jaeger_storage:
backends:
primary_store_elasticsearch:
elasticsearch:
server_urls: ["https://my-opensearch.eu-west-1.es.amazonaws.com:443"]
archive_store_elasticsearch:
elasticsearch:
server_urls: ["https://my-opensearch.eu-west-1.es.amazonaws.com:443"]
indices:
index_prefix: "archive"