Rohan Kshirsagar
02/05/2022, 6:08 PMdaniel
02/05/2022, 6:27 PMRohan Kshirsagar
02/05/2022, 6:28 PMdaniel
02/05/2022, 6:45 PMRohan Kshirsagar
02/05/2022, 6:52 PMdaniel
02/05/2022, 6:53 PMRohan Kshirsagar
02/06/2022, 5:43 PMdaniel
02/06/2022, 5:46 PMRohan Kshirsagar
02/27/2022, 8:21 PMdaniel
02/27/2022, 9:20 PMRohan Kshirsagar
02/28/2022, 4:35 PMThe above exception was caused by the following exception:
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1646066017.618437961","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3128,"referenced_errors":[{"created":"@1646066017.618436560","description":"failed to connect to all addresses","file":"src/core/lib/transport/error_utils.cc","file_line":163,"grpc_status":14}]}"
daniel
02/28/2022, 4:35 PMRohan Kshirsagar
02/28/2022, 4:35 PM2022-02-28 16:33:25 +0000 - dagster - ERROR - topic_job - 7596ba94-1f22-4222-8285-49aad84705a9 - 2757 - assign_topics - STEP_FAILURE - Execution of step "assign_topics" failed.
dagster.core.executor.child_process_executor.ChildProcessCrashException
Stack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/core/executor/multiprocess.py", line 210, in execute
event_or_none = next(step_iter)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/core/executor/multiprocess.py", line 323, in execute_step_out_of_process
for ret in execute_child_process_command(multiproc_ctx, command):
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/core/executor/child_process_executor.py", line 158, in execute_child_process_command
raise ChildProcessCrashException(exit_code=process.exitcode)
2022-02-28 16:33:26 +0000 - dagster - ERROR - topic_job - 7596ba94-1f22-4222-8285-49aad84705a9 - store_to_table - Dependencies for step store_to_table failed: ['assign_topics']. Not executing.
Stack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 541, in _process_api_request
api_result = self._handle_api_request(request, instance, user_code_launcher)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 390, in _handle_api_request
serialized_sensor_data_or_error = client.external_sensor_execution(
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/client.py", line 292, in external_sensor_execution
chunks = list(
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/client.py", line 117, in _streaming_query
raise DagsterUserCodeUnreachableError("Could not reach user code server") from e
The above exception was caused by the following exception:
grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1646066137.749912668","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3128,"referenced_errors":[{"created":"@1646066137.749911537","description":"failed to connect to all addresses","file":"src/core/lib/transport/error_utils.cc","file_line":163,"grpc_status":14}]}"
>
Stack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/client.py", line 115, in _streaming_query
yield from response_stream
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/grpc/_channel.py", line 426, in __next__
return self._next()
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/grpc/_channel.py", line 809, in _next
raise self
daniel
02/28/2022, 4:37 PMRohan Kshirsagar
02/28/2022, 4:39 PM2022-02-28 16:38:41 +0000 - dagster_cloud - ERROR - dagster.core.errors.DagsterUserCodeUnreachableError: Failure loading server endpoint for location unify-news-dag: Exception: Timed out waiting for gRPC server to start with arguments: "/home/rohan/miniconda3/envs/unify_news_dag/bin/python -m dagster api grpc --lazy-load-user-code --socket /tmp/tmp07zmf4q_ --heartbeat --heartbeat-timeout 60 --log-level WARNING --use-python-environment-entry-point -d /home/rohan/news-bias --package-name unify_news_dag". Most recent connection error: dagster.core.errors.DagsterUserCodeUnreachableError: Could not reach user code server
Stack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/server.py", line 933, in wait_for_grpc_server
client.ping("")
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/client.py", line 121, in ping
res = self._query("Ping", api_pb2.PingRequest, echo=echo)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/client.py", line 108, in _query
raise DagsterUserCodeUnreachableError("Could not reach user code server") from e
The above exception was caused by the following exception:
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNAVAILABLE
details = "failed to connect to all addresses"
debug_error_string = "{"created":"@1646066257.267542960","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":3128,"referenced_errors":[{"created":"@1646066257.267541769","description":"failed to connect to all addresses","file":"src/core/lib/transport/error_utils.cc","file_line":163,"grpc_status":14}]}"
>
Stack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/client.py", line 105, in _query
response = getattr(stub, method)(request_type(**kwargs), timeout=timeout)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/grpc/_channel.py", line 946, in __call__
return _end_unary_response_blocking(state, call, False, None)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
Stack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/workspace/user_code_launcher/user_code_launcher.py", line 410, in _reconcile
new_updated_endpoint = self._create_new_server_endpoint(
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/workspace/user_code_launcher/process.py", line 128, in _create_new_server_endpoint
server_process = GrpcServerProcess(
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/server.py", line 1091, in __init__
self.server_process = open_server_process(
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/server.py", line 1004, in open_server_process
wait_for_grpc_server(server_process, client, subprocess_args, timeout=startup_timeout)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/server.py", line 939, in wait_for_grpc_server
raise Exception(
Stack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 541, in _process_api_request
api_result = self._handle_api_request(request, instance, user_code_launcher)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 384, in _handle_api_request
client = self._get_grpc_client(
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 269, in _get_grpc_client
endpoint = user_code_launcher.get_grpc_endpoint(repository_location_origin)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/workspace/user_code_launcher/user_code_launcher.py", line 511, in get_grpc_endpoint
raise DagsterUserCodeUnreachableError(
daniel
02/28/2022, 4:40 PMexecution:
config:
in_process:
Rohan Kshirsagar
02/28/2022, 4:44 PMops:
store_to_table:
config:
param: "blah"
execution:
config:
in_process:
daniel
02/28/2022, 4:48 PMRohan Kshirsagar
02/28/2022, 4:54 PMStack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 541, in _process_api_request
api_result = self._handle_api_request(request, instance, user_code_launcher)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 390, in _handle_api_request
serialized_sensor_data_or_error = client.external_sensor_execution(
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/client.py", line 292, in external_sensor_execution
chunks = list(
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster/grpc/client.py", line 117, in _streaming_query
raise DagsterUserCodeUnreachableError("Could not reach user code server") from e
daniel
02/28/2022, 4:55 PMRohan Kshirsagar
02/28/2022, 4:57 PMdaniel
02/28/2022, 4:58 PMRohan Kshirsagar
02/28/2022, 4:58 PMpython
daniel
02/28/2022, 5:00 PMps aux | grep <pid>
? where pid is the pid of that process? Usually that gives more information about the arguments that were passed inRohan Kshirsagar
02/28/2022, 5:00 PMrohan 7954 4.3 40.5 4303820 1637944 pts/1 Sl+ 16:55 0:13 /home/rohan/miniconda3/envs/unify_news_dag/bin/python -m dagster api grpc --lazy-load-user-code --socket /tmp/tmpu4rrl7_x --heartbeat --heartbeat-timeout 60 --log-level WARNING --use-python-environment-entry-point -d /home/rohan/news-bias --package-name unify_news_dag
daniel
02/28/2022, 5:02 PMRohan Kshirsagar
02/28/2022, 5:04 PMdaniel
02/28/2022, 5:04 PMRohan Kshirsagar
02/28/2022, 5:05 PMdaniel
02/28/2022, 5:10 PMRohan Kshirsagar
02/28/2022, 5:11 PMdaniel
02/28/2022, 5:16 PMRohan Kshirsagar
02/28/2022, 5:46 PMdagster_cloud.storage.errors.GraphQLStorageError: Could not find a suitable TLS CA certificate bundle, invalid path: /home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/certifi/cacert.pem
Stack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 169, in run_loop
self._check_update_workspace(instance, user_code_launcher)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 194, in _check_update_workspace
self._query_for_workspace_updates(instance, user_code_launcher, upload_results=False)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/agent/dagster_cloud_agent.py", line 242, in _query_for_workspace_updates
result = instance.graphql_client.execute(WORKSPACE_ENTRIES_QUERY)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/storage/client.py", line 84, in execute
raise GraphQLStorageError(exc.__str__()) from exc
The above exception was caused by the following exception:
OSError: Could not find a suitable TLS CA certificate bundle, invalid path: /home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/certifi/cacert.pem
Stack Trace:
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/dagster_cloud/storage/client.py", line 69, in execute
response = <http://self._session.post|self._session.post>(self.url, **post_args)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/requests/sessions.py", line 577, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/requests/adapters.py", line 417, in send
self.cert_verify(conn, request.url, verify, cert)
File "/home/rohan/miniconda3/envs/unify_news_dag/lib/python3.8/site-packages/requests/adapters.py", line 228, in cert_verify
raise IOError("Could not find a suitable TLS CA certificate bundle, "
I assume this is a google compute engine setup thingdaniel
02/28/2022, 5:48 PMRohan Kshirsagar
03/01/2022, 12:48 AM