Skip to content

TaskRunner Docker with fileHandlingStrategy MOUNT error #443

Description

@thomas-depierre

Describe the issue

Using "fileHandlingStrategy: MOUNT" in "io.kestra.plugin.scripts.python.Script" with a dedicated docker task runner don't work.
("python: can't open file '/tmp/kestra-wd/tmp/43zhGVqpWVfcLvi6ZJRZiX/14502749081614047022.py': [Errno 2] No such file or directory").

- id: test
    type: io.kestra.plugin.scripts.python.Script
    taskRunner:
      type: io.kestra.plugin.scripts.runner.docker.Docker
      fileHandlingStrategy: MOUNT
    script: print("hello")

For scripts that process large files, the time spent mounting and unmounting volumes results in significant delays. We therefore tried using "MOUNT" to access the storage point directly, but without success. Even with the simplest of scripts, we still encountered errors.

Environment

  • Kestra Version: 1.3.37

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/pluginPlugin-related issue or feature requestgood first issueGreat issue for new contributors

Type

Fields

Stage

In progress

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions