Project

General

Profile

Actions

Bug #20977

open

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

Added by Brett Smith 8 months ago. Updated 3 days ago.

Status:
New
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

Related issues

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

Also available in: Atom PDF