Hi guys. I have deployed Signoz to Kubernetes and I have run into signoz-schema-migrator-sync-init-8nqkq pod error
{"L":"info","timestamp":"2024-12-03T21:24:16.080Z","C":"schema_migrator/manager.go:395","M":"Mutation details","database":"signoz_logs","table":"schema_migrations_v2","command":"UPDATE status = 'failed', error = 'failed to wait for mutations\\nbackoff stopped', updated_at = '2024-12-03 21:14:50' WHERE migration_id = 1","mutation_id":"0000000007","latest_fail_reason":"Code: 198. DB::NetException: Not found address of host: core2-clicksignoz-prod-n2. (DNS_ERROR) (version 24.11.1.2557 (official build))"}
I see that it tries to connect to
core2-clicksignoz-prod-n2
. It is a hostname of one of external clickhouse nodes, BUT I defined IP address in helm chart.
...
spec:
containers:
- args:
- sync
- --dsn
- tcp://$(CLICKHOUSE_USER):$(CLICKHOUSE_PASSWORD)@10.xx.x.220:9001
- --replication
- --up=
env:
- name: CLICKHOUSE_HOST
value: 10.xx.x.220
- name: CLICKHOUSE_PORT
value: "9001"
- name: CLICKHOUSE_HTTP_PORT
value: "8124"
- name: CLICKHOUSE_CLUSTER
value: cluster
...
How to resolve this problem?
Thank you in advance