Alessandro Marrella
10/02/2020, 4:59 PMdagit
locally connected to a remote Kubernetes cluster with Dagster installed. I'm trying to use the K8sRunLauncher.
Dagit starts fine and I can see my pipeline, but when i trigger it and check the pod logs I see this error:
dagster.check.ParameterCheckError: Param "pipeline_run" is not a PipelineRun. Got None which is type <class 'NoneType'>.
the args of the pod look like this:
api
execute_run_with_structured_logs
{"__class__": "ExecuteRunArgs", "instance_ref": null, "pipeline_origin": {"__class__": "PipelinePythonOrigin", "pipeline_name": "pipeline", "repository_origin": {"__class__": "RepositoryPythonOrigin", "code_pointer": {"__class__": "FileCodePointer", "fn_name": "pipeline", "python_file": "/Users/[redacted]/Projects/ml-platform/dsdk/pipeline.py", "working_directory": null}, "executable_path": "/Users/[redacted]/Projects/ml-platform/dsdk/.venv/bin/python"}}, "pipeline_run_id": "9a037a94-c7cc-4fd0-a737-ab65d46b5ab4"}
The local paths look suspicious but are they the cause for the error?
This is my launcher config but I'm not sure if it's relevant
run_launcher:
module: dagster_k8s.launcher
class: K8sRunLauncher
config:
dagster_home:
env: DAGSTER_HOME
instance_config_map: dagster-instance
service_account_name: dagster
postgres_password_secret: dagster-postgresql-secret
job_image: [REDACTED].<http://dkr.ecr.us-east-1.amazonaws.com/dsdk:dagster|dkr.ecr.us-east-1.amazonaws.com/dsdk:dagster>
job_namespace: datascience
load_incluster_config: false
image_pull_policy: Always
can anyone help me?
Thanks in advance! And thanks again for this great project 🙂johann
10/02/2020, 5:03 PMAlessandro Marrella
10/02/2020, 5:06 PMjohann
10/02/2020, 5:14 PMAlessandro Marrella
10/02/2020, 5:19 PMjohann
10/02/2020, 6:01 PMAlessandro Marrella
10/02/2020, 6:04 PMjohann
10/02/2020, 6:04 PM