dagster-io / dagster

An orchestration platform for the development, production, and observation of data assets.
https://dagster.io
Apache License 2.0
11.26k stars 1.42k forks source link

Dagstermill: context.solid_config is not defined in the notebook #2553

Open lee335 opened 4 years ago

lee335 commented 4 years ago

Hi, we use dagstermill (0.7.16) to trigger the training of our machine learning model on aws sagemaker.

Currently we encounter an issue, where the training pipeline can be started using the playground on dagit. But whenever the dagstermill part is reached, the pipeline fails because the context.solid_config is not defined in the notebook, although everything for the notebook solid was configured correctly on the playground. However restarting the pipeline several times without changing anything, the dagstermill part will eventually get executed correctly and the pipeline finishes successfully.

Can you help us with this issue?

tinkerware commented 4 years ago

We have seen this happen as well (we were on 0.6 at the time), but did not have much time to debug it.

lee335 commented 4 years ago

We also see this issue when the pipeline is getting executed using the cron scheduler. Since we want this pipeline to be triggered twice a day in our production pipeline, is there any workaround for this problem?

lee335 commented 4 years ago

We have found a workaround that works for us. So if any one runs into the same problem, they can try the following approach:

jeremyadamsfisher commented 2 years ago

This is still an issue with the context.op_config as well