Project

General

Profile

Actions

Bug #20977

closed

a-c-r crashes with "Secret store only accepts strings" if you try to register a workflow with secrets

Added by Brett Smith about 1 year ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
CWL
Story points:
-

Description

e.g., if you run arvados-cwl-runner --create-workflow aws-s3-bulk-cp.cwl from our aws-cli-cwl repository:

INFO bin/arvados-cwl-runner 2.6.3, arvados-python-client 2.6.3, cwltool 3.1.20230601100705
INFO Resolved 'aws-s3-bulk-cp.cwl' to 'file:///aws-cli-cwl/aws-s3-bulk-cp.cwl'
ERROR Unhandled error:
  Secret store only accepts strings
Traceback (most recent call last):
  File "lib/python3.9/site-packages/cwltool/main.py", line 1264, in main
    initialized_job_order_object = init_job_order(
  File "lib/python3.9/site-packages/cwltool/main.py", line 456, in init_job_order
    secret_store.store(
  File "lib/python3.9/site-packages/cwltool/secrets.py", line 34, in store
    job[j] = self.add(job[j])
  File "lib/python3.9/site-packages/cwltool/secrets.py", line 22, in add
    raise Exception("Secret store only accepts strings")
Exception: Secret store only accepts strings

Subtasks 1 (0 open1 closed)

Task #21874: ReviewResolvedLucas Di Pentima07/01/2024Actions

Related issues

Related to Arvados - Bug #15814: Running a workflow from WB2 exposes secret inputsResolvedPeter AmstutzActions
Actions

Also available in: Atom PDF