You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, when I deploy, I got error log for this Karapace Registry pod:
Starting Karapace Schema Registry
Cannot enable Sentry.io sending: importing 'sentry_sdk' failed
asyncio MainThread ERROR unhandled exception during asyncio.run() shutdown
task: <Task finished name='Task-1' coro=<_run_app() done, defined at /usr/local/lib/python3.9/dist-packages/aiohttp/web.py:289> exception=gaierror(-8, 'Servname not supported for ai_socktype')>
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 516, in run_app
loop.run_until_complete(main_task)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
returnfuture.result()
File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 415, in _run_app
await site.start()
File "/usr/local/lib/python3.9/dist-packages/aiohttp/web_runner.py", line 121, in start
self._server = await loop.create_server(
File "/usr/lib/python3.9/asyncio/base_events.py", line 1460, in create_server
infos = await tasks.gather(*fs, loop=self)
File "/usr/lib/python3.9/asyncio/base_events.py", line 1400, in _create_server_getaddrinfo
infos = await self._ensure_resolved((host, port), family=family, File "/usr/lib/python3.9/asyncio/base_events.py", line 1396, in _ensure_resolved return await loop.getaddrinfo(host, port, family=family, type=type, File "/usr/lib/python3.9/asyncio/base_events.py", line 856, in getaddrinfo return await self.run_in_executor( File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags):socket.gaierror: [Errno -8] Servname not supported for ai_socktypekarapace.statsd MainThread ERROR Unexpected exception in statsd sendTraceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/karapace/karapace_all.py", line 66, in main app.run() File "/usr/local/lib/python3.9/dist-packages/karapace/rapu.py", line 471, in run aiohttp.web.run_app( File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 516, in run_app loop.run_until_complete(main_task) File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete return future.result() File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 415, in _run_app await site.start() File "/usr/local/lib/python3.9/dist-packages/aiohttp/web_runner.py", line 121, in start self._server = await loop.create_server( File "/usr/lib/python3.9/asyncio/base_events.py", line 1460, in create_server infos = await tasks.gather(*fs, loop=self) File "/usr/lib/python3.9/asyncio/base_events.py", line 1400, in _create_server_getaddrinfo infos = await self._ensure_resolved((host, port), family=family, File "/usr/lib/python3.9/asyncio/base_events.py", line 1396, in _ensure_resolved return await loop.getaddrinfo(host, port, family=family, type=type, File "/usr/lib/python3.9/asyncio/base_events.py", line 856, in getaddrinfo return await self.run_in_executor( File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags):socket.gaierror: [Errno -8] Servname not supported for ai_socktypeDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/karapace/statsd.py", line 82, in _send self._socket.sendto(b"".join(parts), self._dest_addr)OSError: [Errno 9] Bad file descriptorTraceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.9/dist-packages/karapace/karapace_all.py", line 74, in <module> sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/karapace/karapace_all.py", line 66, in main
app.run()
File "/usr/local/lib/python3.9/dist-packages/karapace/rapu.py", line 471, in run
aiohttp.web.run_app(
File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 516, in run_app
loop.run_until_complete(main_task)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
returnfuture.result()
File "/usr/local/lib/python3.9/dist-packages/aiohttp/web.py", line 415, in _run_app
await site.start()
File "/usr/local/lib/python3.9/dist-packages/aiohttp/web_runner.py", line 121, in start
self._server = await loop.create_server(
File "/usr/lib/python3.9/asyncio/base_events.py", line 1460, in create_server
infos = await tasks.gather(*fs, loop=self)
File "/usr/lib/python3.9/asyncio/base_events.py", line 1400, in _create_server_getaddrinfo
infos = await self._ensure_resolved((host, port), family=family, File "/usr/lib/python3.9/asyncio/base_events.py", line 1396, in _ensure_resolved return await loop.getaddrinfo(host, port, family=family, type=type, File "/usr/lib/python3.9/asyncio/base_events.py", line 856, in getaddrinfo return await self.run_in_executor( File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.9/socket.py", line 953, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags):socket.gaierror: [Errno -8] Servname not supported for ai_socktype
For KARAPACE_HOST inside, I tried 0.0.0.0, localhost, karapace-registry.hm-karapace.svc, but none of them works.
I found a similar issue with a potential solution at #397 (comment)
But I still didn't get what it means.
Plus I am not using Terraform, so I won't be able to use enable_service_links in the reply.
Any guide would be appreciate. Thanks!
The text was updated successfully, but these errors were encountered:
Pointed out in Stack Overflow seems to be on the spot: A configuration toggle to disable StatsD client fully is missing. Need to add that so that karapace does not assume telegraf client would be running on same host 8125
Originally asked in Stack Overflow. Below is a copy. Any guide would be appreciate, thanks! 馃槂
I am trying to deploy Karapace Schema Registry in a local Kubernetes based on Karapace's docker-compose.yml. Here is a copy:
As I already have Kafka in my local Kuberentes, and karapace-rest depends on karapace-registry, so I hope to make karapace-registry work first.
Here is my attempt converting karapace-registry to use Kubernetes YAML files:
hm-karapace-namespace.yaml
karapace-registry-deployment.yaml
karapace-registry-configmap.yaml
karapace-registry-service.yaml
However, when I deploy, I got error log for this Karapace Registry pod:
For
KARAPACE_HOST
inside, I tried0.0.0.0
,localhost
,karapace-registry.hm-karapace.svc
, but none of them works.I found a similar issue with a potential solution at #397 (comment)
But I still didn't get what it means.
Plus I am not using Terraform, so I won't be able to use
enable_service_links
in the reply.Any guide would be appreciate. Thanks!
The text was updated successfully, but these errors were encountered: