使用导入 Kubernetes功能报错,数据中心操作故障,请稍后重试
885
File “/app/ui/console/services/enterprise_services.py”, line 282, in get_enterprise_runing_service
886
data = region_api.get_enterprise_running_services(enterprise_id, region.region_name, test=True)
887
File “/app/ui/www/apiclient/regionapi.py”, line 797, in get_enterprise_running_services
888
self.get_enterprise_api_version_v2(enterprise_id, region=region)
889
File “/app/ui/www/apiclient/regionapi.py”, line 898, in get_enterprise_api_version_v2
890
res, body = self._get(url, self.default_headers, region=region, **kwargs)
891
File “/app/ui/www/apiclient/regionapibaseclient.py”, line 258, in get
892
response, content = self.request(url, ‘GET’, headers=headers, *args, **kwargs)
893
File “/app/ui/www/apiclient/regionapibaseclient.py”, line 184, in request
894
raise ServiceHandleException(error_code=10411, msg=“MaxRetryError”, msg_show=“访问数据中心异常,请稍后重试”)
895
(400, 10411, ‘MaxRetryError’, ‘访问数据中心异常,请稍后重试’)
896
52:13 [DEBUG] localhost [request] /app/ui/www/apiclient/regionapibaseclient.py:182 error url https://192.168.31.230:8443/api/v1/alerts
897
52:13 [ERROR] localhost [_request] /app/ui/www/apiclient/regionapibaseclient.py:183 HTTPSConnectionPool(host=‘192.168.31.230’, port=8443): Max retries exceeded with url: /api/v1/alerts (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0×7f8c668b7f98>: Failed to establish a new connection: [Errno 111] Connection refused’,))
898
899
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connection.py”, line 160, in new_conn
900
(self.dns_host, self.port), self.timeout, **extra_kw
901
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/util/connection.py”, line 84, in create_connection
902
raise err
903
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/util/connection.py”, line 74, in create_connection
904
sock.connect(sa)
905
File “/app/ui/py_venv/lib/python3.6/site-packages/gevent/_socketcommon.py”, line 607, in connect
906
raise _SocketError(err, strerror(err))
907
[Errno 111] Connection refused
908
909
910
911
912
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
913
chunked=chunked,
914
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 381, in make_request
915
self.validate_conn(conn)
916
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 978, in validate_conn
917
conn.connect()
918
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connection.py”, line 309, in connect
919
conn = self.new_conn()
920
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connection.py”, line 172, in _new_conn
921
%s" % e
922
<urllib3.connection.HTTPSConnection object at 0×7f8c668b7f98>: Failed to establish a new connection: [Errno 111] Connection refused
923
924
925
926
927
File “/app/ui/www/apiclient/regionapibaseclient.py”, line 162, in _request
928
retries=retries)
929
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/request.py”, line 76, in request
930
method, url, fields=fields, headers=headers, **urlopen_kw
931
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/request.py”, line 97, in request_encode_url
932
return self.urlopen(method, url, **extra_kw)
933
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/poolmanager.py”, line 336, in urlopen
934
response = conn.urlopen(method, u.request_uri, **kw)
935
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 767, in urlopen
936
**response_kw
937
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 727, in urlopen
938
method, url, error=e, _pool=self, stacktrace=sys.exc_info()[2]
939
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/util/retry.py”, line 439, in increment
940
raise MaxRetryError(pool, url, error or ResponseError(cause))
941
HTTPSConnectionPool(host=‘192.168.31.230’, port=8443): Max retries exceeded with url: /api/v1/alerts (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0×7f8c668b7f98>: Failed to establish a new connection: [Errno 111] Connection refused’,))
942
52:13 [DEBUG] localhost [get_enterprise_alerts] /app/ui/console/services/enterprise_services.py:338 (400, 10411, ‘MaxRetryError’, ‘访问数据中心异常,请稍后重试’)
943
52:35 [DEBUG] localhost [__get_upgradeable_versions] /app/ui/console/services/market_app_service.py:1444 current version time: 1595904395.0; new version time: 1595904395.0; need update: False
944
27:35 [DEBUG] localhost [request] /app/ui/www/apiclient/regionapibaseclient.py:182 error url https://192.168.31.230:8443/v2/events/myteam?tenant=tenant&tenant_ids={"tenant_ids": [“fa08f3259e4f4283809de39b0e07fa66”]}&page=1&size=15
945
27:35 [ERROR] localhost [request] /app/ui/www/apiclient/regionapibaseclient.py:183 HTTPSConnectionPool(host=‘192.168.31.230’, port=8443): Max retries exceeded with url: /v2/events/myteam?tenant=tenant&tenant_ids=%7B%22tenant_ids%22:%20%5B%22fa08f3259e4f4283809de39b0e07fa66%22%5D%7D&page=1&size=15 (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0×7ff122410940>: Failed to establish a new connection: [Errno 111] Connection refused’,))
946
947
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connection.py”, line 160, in new_conn
948
(self.dns_host, self.port), self.timeout, **extra_kw
949
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/util/connection.py”, line 84, in create_connection
950
raise err
951
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/util/connection.py”, line 74, in create_connection
952
sock.connect(sa)
953
File “/app/ui/py_venv/lib/python3.6/site-packages/gevent/_socketcommon.py”, line 607, in connect
954
raise _SocketError(err, strerror(err))
955
[Errno 111] Connection refused
956
957
958
959
960
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 677, in urlopen
961
chunked=chunked,
962
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 381, in make_request
963
self.validate_conn(conn)
964
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 978, in validate_conn
965
conn.connect()
966
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connection.py”, line 309, in connect
967
conn = self.new_conn()
968
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connection.py”, line 172, in _new_conn
969
%s" % e
970
<urllib3.connection.HTTPSConnection object at 0×7ff122410940>: Failed to establish a new connection: [Errno 111] Connection refused
971
972
973
974
975
File “/app/ui/www/apiclient/regionapibaseclient.py”, line 162, in _request
976
retries=retries)
977
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/request.py”, line 76, in request
978
method, url, fields=fields, headers=headers, **urlopen_kw
979
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/request.py”, line 97, in request_encode_url
980
return self.urlopen(method, url, **extra_kw)
981
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/poolmanager.py”, line 336, in urlopen
982
response = conn.urlopen(method, u.request_uri, **kw)
983
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 767, in urlopen
984
**response_kw
985
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 767, in urlopen
986
**response_kw
987
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/connectionpool.py”, line 727, in urlopen
988
method, url, error=e, _pool=self, stacktrace=sys.exc_info()[2]
989
File “/app/ui/py_venv/lib/python3.6/site-packages/urllib3/util/retry.py”, line 439, in increment
990
raise MaxRetryError(pool, url, error or ResponseError(cause))
991
HTTPSConnectionPool(host=‘192.168.31.230’, port=8443): Max retries exceeded with url: /v2/events/myteam?tenant=tenant&tenant_ids=%7B%22tenant_ids%22:%20%5B%22fa08f3259e4f4283809de39b0e07fa66%22%5D%7D&page=1&size=15 (Caused by NewConnectionError(‘<urllib3.connection.HTTPSConnection object at 0×7ff122410940>: Failed to establish a new connection: [Errno 111] Connection refused’,))