Guillaume Balaine
07/05/2023, 7:29 AMdagster._check.ParameterCheckError: Param "image" is not a str. Got None which is type <class 'NoneType'>.
From the docs, dagster is supposed to derive the image name from the ecs task definition of dagit or the daemon, but it looks like this isn't the case.
Is there any way to get dagster running without a dedicated user code repository cluster on ECS ?Guillaume Balaine
07/05/2023, 7:29 AMdagster._check.ParameterCheckError: Param "image" is not a str. Got None which is type <class 'NoneType'>.
File "/usr/local/lib/python3.11/site-packages/dagster/_daemon/run_coordinator/queued_run_coordinator_daemon.py", line 332, in _dequeue_run
instance.run_launcher.launch_run(LaunchRunContext(dagster_run=run, workspace=workspace))
File "/usr/local/lib/python3.11/site-packages/dagster_aws/ecs/launcher.py", line 383, in launch_run
run_task_kwargs = self._run_task_kwargs(run, image, container_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dagster_aws/ecs/launcher.py", line 627, in _run_task_kwargs
task_definition_config = DagsterEcsTaskDefinitionConfig.from_task_definition_dict(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dagster_aws/ecs/tasks.py", line 142, in from_task_definition_dict
return DagsterEcsTaskDefinitionConfig(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dagster_aws/ecs/tasks.py", line 61, in __new__
check.str_param(image, "image"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/dagster/_check/__init__.py", line 1347, in str_param
raise _param_type_mismatch_exception(obj, str, param_name, additional_message)
Guillaume Balaine
07/05/2023, 8:45 AM