luanluandehaobaoman / ekscost

A project for EKS cost visualization.
GNU General Public License v3.0
2 stars 0 forks source link

panic by "kubernetes.client.exceptions.ApiException: (503)" #1

Closed luanluandehaobaoman closed 2 years ago

luanluandehaobaoman commented 2 years ago

Processed 21 records. WriteRecords HTTPStatusCode: 200 2022-07-09 09:25:59 Processed 5 records. WriteRecords HTTPStatusCode: 200 Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/kubernetes/dynamic/client.py", line 55, in inner resp = func(self, *args, **kwargs) File "/usr/local/lib/python3.7/site-packages/kubernetes/dynamic/client.py", line 283, in request _request_timeout=params.get('_request_timeout') File "/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py", line 353, in call_api _preload_content, _request_timeout, _host) File "/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py", line 184, in __call_api _request_timeout=_request_timeout) File "/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py", line 377, in request headers=headers) File "/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py", line 244, in GET query_params=query_params) File "/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py", line 234, in request raise ApiException(http_resp=r) kubernetes.client.exceptions.ApiException: (503) Reason: Service Unavailable HTTP response headers: HTTPHeaderDict({'Audit-Id': 'bdfe14ae-d3a8-467c-a380-4434af62a8a5', 'Cache-Control': 'no-cache, private', 'Content-Type': 'text/plain; charset=utf-8', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': 'b9474237-7393-4bd5-aac0-6613b06bcc6f', 'X-Kubernetes-Pf-Prioritylevel-Uid': 'fd63e0d5-7ae3-4040-b9f8-bfa204f9bf16', 'Date': 'Sat, 09 Jul 2022 09:26:15 GMT', 'Content-Length': '20'}) HTTP response body: b'service unavailable\n'

luanluandehaobaoman commented 2 years ago

fixed