rectalogic
04/06/2023, 5:40 PMdagster/dagster-cloud-agent:1.2.4
and I set DAGSTER_HOME
env var on the container to /opt/dagster/dagster_home
. The image for my code location does not have the /opt/dagster
directory and so I set DAGSTER_HOME
in dagster.yaml
env_vars
to /home/dagster
- but it still seems to be trying to store output in /opt/dagster
which doesn't exist (and it does not have permission to create)
dagster._core.errors.DagsterExecutionHandleOutputError: Error occurred while handling output "result" of step "hello_redshift":
...
The above exception was caused by the following exception:
PermissionError: [Errno 13] Permission denied: '/opt/dagster'
File "/site/venv/lib/python3.10/site-packages/dagster/_core/execution/plan/utils.py", line 54, in op_execution_error_boundary
yield
File "/site/venv/lib/python3.10/site-packages/dagster/_utils/__init__.py", line 439, in iterate_with_context
next_output = next(iterator)
File "/site/venv/lib/python3.10/site-packages/dagster/_core/execution/plan/execute_step.py", line 594, in _gen_fn
gen_output = output_manager.handle_output(output_context, output.value)
File "/site/venv/lib/python3.10/site-packages/dagster/_core/storage/upath_io_manager.py", line 239, in handle_output
path.parent.mkdir(parents=True, exist_ok=True)
daniel
04/06/2023, 5:43 PMdaniel
04/06/2023, 5:46 PMrectalogic
04/06/2023, 5:51 PMdaniel
04/06/2023, 5:52 PMdaniel
04/06/2023, 5:52 PMrectalogic
04/06/2023, 5:53 PMdaniel
04/06/2023, 5:53 PMrectalogic
04/06/2023, 5:55 PMlocal_artifact_storage
key go under user_code_launcher.config
in my dagster.yaml?daniel
04/06/2023, 5:56 PMrectalogic
04/06/2023, 5:56 PM