https://dagster.io/ logo
#ask-community
Title
# ask-community
m

Melle Minderhoud

07/06/2021, 9:24 AM
Copy code
["dagster","api","execute_run","{\"__class__\": \"ExecuteRunArgs\", \"instance_ref\": {\"__class__\": \"InstanceRef\", \"compute_logs_data\": {\"__class__\": \"ConfigurableClassData\", \"class_name\": \"LocalComputeLogManager\", \"config_yaml\": \"base_dir: /opt/dagster/dagster_home/storage\\n\", \"module_name\": \"dagster.core.storage.local_compute_log_manager\"}, \"custom_instance_class_data\": null, \"event_storage_data\": {\"__class__\": \"ConfigurableClassData\", \"class_name\": \"PostgresEventLogStorage\", \"config_yaml\": \"postgres_db:\\n db_name:\\n env: DAGSTER_POSTGRES_DB\\n hostname:\\n env: DAGSTER_POSTGRES_HOSTNAME\\n password:\\n env: DAGSTER_POSTGRES_PASSWORD\\n port: 5432\\n username:\\n env: DAGSTER_POSTGRES_USER\\n\", \"module_name\": \"dagster_postgres.event_log\"}, \"local_artifact_storage_data\": {\"__class__\": \"ConfigurableClassData\", \"class_name\": \"LocalArtifactStorage\", \"config_yaml\": \"base_dir: /opt/dagster/dagster_home/\\n\", \"module_name\": \"dagster.core.storage.root\"}, \"run_coordinator_data\": {\"__class__\": \"ConfigurableClassData\", \"class_name\": \"QueuedRunCoordinator\", \"config_yaml\": \"{}\\n\", \"module_name\": \"dagster.core.run_coordinator\"}, \"run_launcher_data\": {\"__class__\": \"ConfigurableClassData\", \"class_name\": \"EcsRunLauncher\", \"config_yaml\": \"{}\\n\", \"module_name\": \"dagster_aws.ecs\"}, \"run_storage_data\": {\"__class__\": \"ConfigurableClassData\", \"class_name\": \"PostgresRunStorage\", \"config_yaml\": \"postgres_db:\\n db_name:\\n env: DAGSTER_POSTGRES_DB\\n hostname:\\n env: DAGSTER_POSTGRES_HOSTNAME\\n password:\\n env: DAGSTER_POSTGRES_PASSWORD\\n port: 5432\\n username:\\n env: DAGSTER_POSTGRES_USER\\n\", \"module_name\": \"dagster_postgres.run_storage\"}, \"schedule_storage_data\": {\"__class__\": \"ConfigurableClassData\", \"class_name\": \"PostgresScheduleStorage\", \"config_yaml\": \"postgres_db:\\n db_name:\\n env: DAGSTER_POSTGRES_DB\\n hostname:\\n env: DAGSTER_POSTGRES_HOSTNAME\\n password:\\n env: DAGSTER_POSTGRES_PASSWORD\\n port: 5432\\n username:\\n env: DAGSTER_POSTGRES_USER\\n\", \"module_name\": \"dagster_postgres.schedule_storage\"}, \"scheduler_data\": {\"__class__\": \"ConfigurableClassData\", \"class_name\": \"DagsterDaemonScheduler\", \"config_yaml\": \"{}\\n\", \"module_name\": \"dagster.core.scheduler\"}, \"settings\": {\"telemetry\": null}}, \"pipeline_origin\": {\"__class__\": \"PipelinePythonOrigin\", \"pipeline_name\": \"[deleted]\", \"repository_origin\": {\"__class__\": \"RepositoryPythonOrigin\", \"code_pointer\": {\"__class__\": \"FileCodePointer\", \"fn_name\": \"my_repository\", \"python_file\": \"repo.py\", \"working_directory\": \"[deleted]\"}, \"container_image\": \[deleted]\", \"executable_path\": \"/opt/pysetup/.venv/bin/python\"}}, \"pipeline_run_id\": \"018515a6-02f2-4441-a23e-25cedb785ee0\"}"]
I deployed dagit using the deploy_ecs example. I can execute the example pipeline successfully, but not my own pipeline. I am using version 0.11.16. Does anybody has an idea what it wrong and how I could solve this issue?
j

jordan

07/06/2021, 12:56 PM
It seems odd that the example pipeline executes successfully but yours doesn’t. I’m trying to reproduce now. You’re sure that all of your images are using 0.11.16? The requirements files in the example don’t have any version pins so is it possible that at least one of your images has a more recent version?
d

daniel

07/06/2021, 2:43 PM
One other thing to try -i s your Dockerfile possibly setting an entrypoint? I've seen this error before when there's an entrypoint - it tries to combine the command and the entrypoint together into a single command
m

Melle Minderhoud

07/06/2021, 4:03 PM
Thanks for the suggestions! My Dockerfile was indeed setting an entrypoint. Without an entrypoint it is working. Many thanks!
🙌 2
11 Views