Rama
12/08/2022, 10:44 AMdagster._core.errors.DagsterUserCodeUnreachableError: Could not reach user code server
when updating dagster locally to 1.1.1 from 0.14.9. Here's detail error :
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with: status = StatusCode.UNAVAILABLE details = "DNS resolution failed for docker_dbt:4000: C-ares status is not ARES_SUCCESS qtype=A name=docker_dbt is_balancer=0: Domain name not found" debug_error_string = "{"created":"@1670495594.598923552","description":"DNS resolution failed for docker_dbt:4000: C-ares status is not ARES_SUCCESS qtype=A name=docker_dbt is_balancer=0: Domain name not found","file":"src/core/lib/transport/error_utils.cc","file_line":167,"grpc_status":14}" >
File "/opt/conda/lib/python3.9/site-packages/dagster/_grpc/client.py", line 139, in _query
return self._get_response(method, request=request_type(**kwargs), timeout=timeout)
File "/opt/conda/lib/python3.9/site-packages/dagster/_grpc/client.py", line 129, in _get_response
return getattr(stub, method)(request, metadata=self._metadata, timeout=timeout)
File "/opt/conda/lib/python3.9/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/opt/conda/lib/python3.9/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
Did I miss something when updating the version?daniel
12/09/2022, 1:47 PMRama
12/11/2022, 5:26 PMdaniel
12/11/2022, 5:27 PMRama
12/11/2022, 5:35 PMdaniel
12/11/2022, 5:56 PMRama
12/11/2022, 6:30 PMTraceback (most recent call last):
File "/opt/conda/lib/python3.9/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/opt/conda/lib/python3.9/runpy.py", line 147, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/opt/conda/lib/python3.9/runpy.py", line 158, in _get_module_details
code = loader.get_code(mod_name)
AttributeError: 'AliasedModuleLoader' object has no attribute 'get_code'
daniel
12/11/2022, 6:33 PMRama
12/12/2022, 10:53 AMdaniel
12/12/2022, 12:10 PMRama
12/12/2022, 12:57 PMdebug_error_string = "{"created":"@1670849761.118030908","description":"DNS resolution failed for docker:4004: C-ares status is not ARES_SUCCESS qtype=A name=docker is_balancer=0: Domain name not found","file":"src/core/lib/transport/error_utils.cc","file_line":167,"grpc_status":14}"
daniel
12/12/2022, 12:58 PMRama
12/14/2022, 2:43 PMFROM continuumio/miniconda3:latest
RUN pip install dagster==1.1.1 dagit==1.1.1 dagster-graphql==1.1.1 dagster-postgres==0.17.1 dagster-aws==0.17.1
daniel
12/14/2022, 3:06 PMRama
12/15/2022, 7:41 PMFROM continuumio/miniconda3:latest
RUN pip install dagster dagit dagster-graphql dagster-postgres dagster-aws
RUN apt-get update && apt-get install make
# Create envs
RUN conda create -n workspace python=3.8
RUN /opt/conda/envs/workspace/bin/pip install dagster dagit dagster-graphql dagster-postgres dagster-aws boto3 GitPython dagster-docker
python -m dagster.grpc -h 0.0.0.0 -p 4000 -f repo.py
daniel
12/15/2022, 9:18 PMRama
12/15/2022, 9:22 PMTraceback (most recent call last):
File "/Users/miniconda3/lib/python3.8/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/Users/miniconda3/lib/python3.8/runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/Users/miniconda3/lib/python3.8/runpy.py", line 153, in _get_module_details
code = loader.get_code(mod_name)
AttributeError: 'AliasedModuleLoader' object has no attribute 'get_code'
daniel
12/15/2022, 9:25 PMpython -m dagster._grpc -h 0.0.0.0 -p 4000 -f repo.py
Or even better if this works:
dagster api grpc -h 0.0.0.0 -p 4000 -f repo.py
Rama
12/15/2022, 9:34 PMdaniel
12/15/2022, 9:34 PMRama
12/15/2022, 9:47 PM