timescale / helm-charts

Configuration and Documentation to run TimescaleDB in your Kubernetes cluster
Apache License 2.0
261 stars 223 forks source link

Integrate TimeScaleDB Single Helm Chart #622

Closed yspassivelogic closed 9 months ago

yspassivelogic commented 9 months ago
2023-09-05 19:39:18,895 ERROR: create_config_service failed
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 950, in _create_config_service
    if not self._api.create_namespaced_service(self._namespace, body):
  File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 483, in wrapper
    return getattr(self._core_v1_api, func)(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 419, in wrapper
    return self._api_client.call_api(method, path, headers, body, **kwargs)
  File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 388, in call_api
    return self._handle_server_response(response, _preload_content)
  File "/usr/lib/python3/dist-packages/patroni/dcs/kubernetes.py", line 218, in _handle_server_response
    raise k8s_client.rest.ApiException(http_resp=response)
patroni.dcs.kubernetes.K8sClient.rest.ApiException: (403)
Reason: Forbidden
HTTP response headers: HTTPHeaderDict({'Audit-Id': 'da6b4420-beb5-40d1-aa6d-f3ec56d2871e', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '93548455-9601-470c-8762-5ef928dda88f', 'X-Kubernetes-Pf-Prioritylevel-Uid': '6aaa6ec7-25c1-4aac-a866-49522b17068f', 'Date': 'Tue, 05 Sep 2023 19:39:18 GMT', 'Content-Length': '304'})
HTTP response body: b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"services is forbidden: User \\"system:serviceaccount:test-load:timescaledb\\" cannot create resource \\"services\\" in API group \\"\\" in the namespace \\"test-load\\"","reason":"Forbidden","details":{"kind":"services"},"code":403}\n'

But this issue exists because the timescaledb HA patroni image - https://hub.docker.com/r/timescale/timescaledb-ha:

https://github.com/timescale/helm-charts/issues/554

CLAassistant commented 9 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.