bk-process-config-manager icon indicating copy to clipboard operation
bk-process-config-manager copied to clipboard

[OPTIMIZATION] 任务执行GSE接口异常时友好提示

Open ZhuoZhuoCrayon opened this issue 3 years ago • 0 comments

你想要什么功能 任务执行GSE接口异常时友好提示 为什么需要 [BKAPI] request_datetime=>2021-11-03 07:40:59+00:00 && url=>http:///api/c/compapi/v2/gse/get_proc_operate_result_v2/ && module=>管控平台 && method=>POST && method_override=>None && query_params=>{"task_id": "GSETASK:FS:", "bk_username": "admin"} && response_result=>False && response_code=>50001 && response_data=>null && response_message=>组件请求第三方系统GSE接口get_proc_operate_result_v2出错:HTTPConnectionPool(host='', port=): Max retries exceeded with url: /procapi/v2/proc/operate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0xdcf3a10>: Failed to establish a new connection: [Errno 111] Connection refused',)),请联系第三方系统负责人(蓝鲸助手)处理 && response_errors=>None && cost_time=>0.031430959701538086 && request_id=>* && request_user=>admin

json.message: Traceback (most recent call last): File "/app/apps/gsekit/pipeline_plugins/components/collections/base.py", line 267, in run run_return = service_func(**kwargs) or {"result": False} File "/app/apps/gsekit/pipeline_plugins/components/collections/gse.py", line 337, in _schedule task_result = self.get_job_task_gse_result(gse_api_result, job_task) File "/app/apps/gsekit/pipeline_plugins/components/collections/gse.py", line 194, in get_job_task_gse_result return gse_api_result["data"].get(uniq_key) or { AttributeError: 'NoneType' object has no attribute 'get' json.pathname: /app/apps/gsekit/pipeline_plugins/components/collections/base.py

ZhuoZhuoCrayon avatar Nov 03 '21 07:11 ZhuoZhuoCrayon