CodeAnalysis icon indicating copy to clipboard operation
CodeAnalysis copied to clipboard

三方工具cobra依赖有问题

Open wangsanshi123 opened this issue 3 years ago • 4 comments

image cobra日志为: 2022-08-12 21:34:14,028-INFO: start to run task: Cobra, execute_processes: ['datahandle'] 2022-08-12 21:34:14,093-ERROR: method(load_data) call fails on error: <urlopen error [Errno -2] Name or service not known> 2022-08-12 21:34:14,093-INFO: retrying method(load_data) after 5 seconds 2022-08-12 21:34:19,096-ERROR: method(load_data) call fails on error: <urlopen error [Errno -2] Name or service not known> 2022-08-12 21:34:19,096-INFO: retrying method(load_data) after 5 seconds 2022-08-12 21:34:24,098-ERROR: method(load_data) call fails on error: <urlopen error [Errno -2] Name or service not known> 2022-08-12 21:34:24,098-WARNING: method(load_data) call still fails after 2 retries 2022-08-12 21:34:24,100-WARNING: task status code is 201 2022-08-12 21:34:24,100-WARNING: task messsage: URLError: <urlopen error [Errno -2] Name or service not known> 2022-08-12 21:34:24,101-INFO: task result: /root/CodeAnalysis/client/data/taskdirs/task_1172/task_response.json client中执行 python3 cobra.py --help image

wangsanshi123 avatar Aug 12 '22 13:08 wangsanshi123

@wangsanshi123
<urlopen error [Errno -2] Name or service not known> 这里报的是访问文件服务器时的域名解析错误,可以检查下节点的网络,请问目前部署了几台机器呢? 上面截图的cobra的”下载任务结果“对应的链接可以发一下 ?点击之后能下载到文件吗?

bensonhome avatar Aug 15 '22 02:08 bensonhome

我的架构是client手动部署在宿主机中,其他服务用docker-compose 部署在同一台服务器中。服务间通过ip通信,不存在域名解析

wangsanshi123 avatar Aug 15 '22 04:08 wangsanshi123

客户端配置 image docker-compose文件 image image

wangsanshi123 avatar Aug 15 '22 04:08 wangsanshi123

@wangsanshi123 2022-08-12 21:34:14,028-INFO: start to run task: Cobra, execute_processes: ['datahandle'] 看这里只跑了datahandle步骤,是这个节点的工具进程里把Cobra的analyze给去掉勾选了吗?

bensonhome avatar Aug 15 '22 07:08 bensonhome