We installed temporal in the our AWS EKS Cluster with helm chart. (The version of temporal is 1.22.4, and version of the helm chart is 0.32.0). Also, we would like to use Archival with AWS S3 provider. Here, the part of our helm values file, related to Archival:
server:
archival:
history:
state: "enabled"
enableRead: true
provider:
s3store:
region: "eu-west-2"
visibility:
state: "enabled"
enableRead: true
provider:
s3store:
region: "eu-west-2"
namespaceDefaults:
archival:
history:
state: "enabled"
URI: "s3://dev-archival-bucket"
visibility:
state: "enabled"
URI: "s3://dev-archival-bucket"
When I create workflow in the Temporal, I get this errors in the Archival pod logs:
{"level":"error","ts":"2024-01-27T14:45:27.896Z","msg":"failed to archive target","shard-id":242,"archival-caller-service-name":"history","archival-request-namespace-id":"f6c90475-977f-4603-a949-f415732c1d50","archival-request-namespace":"ges","archival-request-workflow-id":"464aa4a4-ffdf-452f-b94d-006afa61840e","archival-request-run-id":"19b38e5d-79a1-4f11-8270-87960ea1c5e8","archival-URI":"file:///tmp/temporal_vis_archival/development","target":"visibility","error":"unable to find archiver config for the given scheme","logging-call-at":"archiver.go:276","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error\n\t/home/builder/temporal/common/log/zap_logger.go:156\ngo.temporal.io/server/service/history/archival.(*archiver).recordArchiveTargetResult\n\t/home/builder/temporal/service/history/archival/archiver.go:276\ngo.temporal.io/server/service/history/archival.(*archiver).archiveVisibility\n\t/home/builder/temporal/service/history/archival/archiver.go:235\ngo.temporal.io/server/service/history/archival.(*archiver).Archive.func3\n\t/home/builder/temporal/service/history/archival/archiver.go:188"}
{"level":"error","ts":"2024-01-27T14:45:27.896Z","msg":"failed to archive target","shard-id":242,"archival-caller-service-name":"history","archival-request-namespace-id":"f6c90475-977f-4603-a949-f415732c1d50","archival-request-namespace":"ges","archival-request-workflow-id":"464aa4a4-ffdf-452f-b94d-006afa61840e","archival-request-run-id":"19b38e5d-79a1-4f11-8270-87960ea1c5e8","archival-request-branch-token":"ZiQxOWIzOGU1ZS03OWExLTRqMvTtODI1MC06Ezk2MGVhMWM1ZTgSJDJlNzhkN2M5LWElY7ItVYhlMC1iNDRlLWVlYjcjPmRzOGXjYw==","archival-request-close-failover-version":0,"archival-URI":"file:///tmp/temporal_archival/development","target":"history","error":"unable to find archiver config for the given scheme","logging-call-at":"archiver.go:276","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error\n\t/home/builder/temporal/common/log/zap_logger.go:156\ngo.temporal.io/server/service/history/archival.(*archiver).recordArchiveTargetResult\n\t/home/builder/temporal/service/history/archival/archiver.go:276\ngo.temporal.io/server/service/history/archival.(*archiver).archiveHistory\n\t/home/builder/temporal/service/history/archival/archiver.go:211\ngo.temporal.io/server/service/history/archival.(*archiver).Archive.func2\n\t/home/builder/temporal/service/history/archival/archiver.go:182"}
{"level":"warn","ts":"2024-01-27T14:45:27.897Z","msg":"failed to archive workflow","shard-id":242,"archival-caller-service-name":"history","archival-request-namespace-id":"f6c90475-977f-4603-a949-f415732c1d50","archival-request-namespace":"ges","archival-request-workflow-id":"464aa4a4-ffdf-452f-b94d-006afa61840e","archival-request-run-id":"19b38e5d-79a1-4f11-8270-87960ea1c5e8","error":"unable to find archiver config for the given scheme; unable to find archiver config for the given scheme","errorCauses":[{"error":"unable to find archiver config for the given scheme"},{"error":"unable to find archiver config for the given scheme"}],"logging-call-at":"archiver.go:153"}
{"level":"error","ts":"2024-01-27T14:45:27.897Z","msg":"Fail to process task","shard-id":242,"address":"10.0.4.41:7234","component":"archival-queue-processor","wf-namespace-id":"f6c90475-977f-4603-a949-f415732c1d50","wf-id":"464aa4a4-ffdf-452f-b94d-006afa61840e","wf-run-id":"19b38e5d-79a1-4f11-8270-87960ea1c5e8","queue-task-id":60817439,"queue-task-visibility-timestamp":"2024-01-27T14:33:30.483Z","queue-task-type":"ArchivalArchiveExecution","queue-task":{"NamespaceID":"f6c90475-977f-4603-a949-f415732c1d50","WorkflowID":"464aa4a4-ffdf-452f-b94d-006afa61840e","RunID":"19b38e5d-79a1-4f11-8270-87960ea1c5e8","VisibilityTimestamp":"2024-01-27T14:33:30.483205Z","TaskID":60817439,"Version":0},"wf-history-event-id":0,"error":"unable to find archiver config for the given scheme; unable to find archiver config for the given scheme","errorCauses":[{"error":"unable to find archiver config for the given scheme"},{"error":"unable to find archiver config for the given scheme"}],"lifecycle":"ProcessingFailed","logging-call-at":"lazy_logger.go:68","stacktrace":"go.temporal.io/server/common/log.(*zapLogger).Error\n\t/home/builder/temporal/common/log/zap_logger.go:156\ngo.temporal.io/server/common/log.(*lazyLogger).Error\n\t/home/builder/temporal/common/log/lazy_logger.go:68\ngo.temporal.io/server/service/history/queues.(*executableImpl).HandleErr\n\t/home/builder/temporal/service/history/queues/executable.go:347\ngo.temporal.io/server/common/tasks.(*FIFOScheduler[...]).executeTask.func1\n\t/home/builder/temporal/common/tasks/fifo_scheduler.go:224\ngo.temporal.io/server/common/backoff.ThrottleRetry.func1\n\t/home/builder/temporal/common/backoff/retry.go:119\ngo.temporal.io/server/common/backoff.ThrottleRetryContext\n\t/home/builder/temporal/common/backoff/retry.go:145\ngo.temporal.io/server/common/backoff.ThrottleRetry\n\t/home/builder/temporal/common/backoff/retry.go:120\ngo.temporal.io/server/common/tasks.(*FIFOScheduler[...]).executeTask\n\t/home/builder/temporal/common/tasks/fifo_scheduler.go:233\ngo.temporal.io/server/common/tasks.(*FIFOScheduler[...]).processTask\n\t/home/builder/temporal/common/tasks/fifo_scheduler.go:211"}
As I can see from logs, URI
for visibility still for local file system file:///tmp/temporal_vis_archival
Could anyone help me solve this problem? Thank you in advance!