Rubén Lopez Lozoya
02/24/2021, 8:52 AMTraceback (most recent call last):
File "/usr/local/bin/dagster", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/site-packages/dagster/cli/__init__.py", line 41, in main
cli(auto_envvar_prefix=ENV_PREFIX) # pylint:disable=E1123
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/dagster/cli/api.py", line 86, in execute_run_with_structured_logs_command
DagsterInstance.from_ref(args.instance_ref) if args.instance_ref else DagsterInstance.get()
File "/usr/local/lib/python3.8/site-packages/dagster/core/instance/__init__.py", line 311, in from_ref
run_storage=instance_ref.run_storage,
File "/usr/local/lib/python3.8/site-packages/dagster/core/instance/ref.py", line 196, in run_storage
return self.run_storage_data.rehydrate()
File "/usr/local/lib/python3.8/site-packages/dagster/serdes/__init__.py", line 342, in rehydrate
module = importlib.import_module(self.module_name)
File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 961, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/lib/python3.8/site-packages/dagster_postgres/__init__.py", line 4, in <module>
from .run_storage import PostgresRunStorage
File "/usr/local/lib/python3.8/site-packages/dagster_postgres/run_storage/__init__.py", line 1, in <module>
from .run_storage import PostgresRunStorage
File "/usr/local/lib/python3.8/site-packages/dagster_postgres/run_storage/run_storage.py", line 3, in <module>
from dagster.core.storage.runs import DaemonHeartbeatsTable, RunStorageSqlMetadata, SqlRunStorage
ImportError: cannot import name 'DaemonHeartbeatsTable' from 'dagster.core.storage.runs' (/usr/local/lib/python3.8/site-packages/dagster/core/storage/runs/__init__.py)
I've followed the deploy docker example and the only difference is the docker_example pipelines dockerfile (where I use my own app). All the containers are up and running but the error rises when a new container is spawned after trying to run a pipeline. Anybody knows why does this happen?
Edit: The log error comes from the spawned container (which stops immediately)daniel
02/24/2021, 2:13 PMRubén Lopez Lozoya
02/24/2021, 2:20 PMdaniel
02/24/2021, 2:28 PMRubén Lopez Lozoya
02/24/2021, 2:29 PM