Slackbot
07/28/2022, 6:57 PMMansour Zayer
07/28/2022, 7:04 PMERROR - agent | Exception encountered while deploying flow run 4950edf5-46db-4ff9-8cfd-07ce62570c55
Traceback (most recent call last):
deployment_info = self.deploy_flow(flow_run)
File "/usr/local/lib/python3.9/site-packages/prefect/agent/agent.py", line 388, in _deploy_flow_run
File "/usr/local/lib/python3.9/site-packages/kubernetes/client/api_client.py", line 180, in __call_api
File "/usr/local/lib/python3.9/site-packages/kubernetes/client/api/batch_v1_api.py", line 309, in create_namespaced_job_with_http_info
File "/usr/local/lib/python3.9/site-packages/kubernetes/client/api_client.py", line 391, in request
File "/usr/local/lib/python3.9/site-packages/prefect/agent/kubernetes/agent.py", line 437, in deploy_flow
return self.request("POST", url,
return self.api_client.call_api(
return self.create_namespaced_job_with_http_info(namespace, body, **kwargs) # noqa: E501
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Unauthorized","reason":"Unauthorized","code":401}
Anna Geller
07/28/2022, 7:36 PMMansour Zayer
07/28/2022, 8:18 PMAnna Geller
07/28/2022, 8:43 PM