Nicolai Birkmose Oksen
10/31/2023, 4:23 PM{
"level": "fatal",
"timestamp": "2023-10-31T16:03:57.316Z",
"caller": "signozschemamigrator/migrate.go:79",
"msg": "Failed to create migration manager",
"component": "migrate cli",
"error": "failed to parse dsn: parse \"tcp://<redacted>.aws.clickhouse.cloud:%!s(float64=9000)?username=default&password=<redacted>\": invalid port \":%!s(float64=9000)\" after host",
"stacktrace": "main.main\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/cmd/signozschemamigrator/migrate.go:79\nruntime.main\n\t/opt/hostedtoolcache/go/1.20.10/x64/src/runtime/proc.go:250"
}
Nočnica Mellifera
10/31/2023, 7:25 PM(float64=9000)
but it looks like you figured out that bit,
does a test ping to your clickhouse cloud instance succeed?Nicolai Birkmose Oksen
10/31/2023, 7:26 PMNočnica Mellifera
10/31/2023, 7:27 PMMayur B
11/09/2023, 2:55 PM{
"level": "fatal",
"timestamp": "2023-11-09T14:59:48.372Z",
"caller": "signozschemamigrator/migrate.go:104",
"msg": "Failed to create migration manager",
"component": "migrate cli",
"error": "failed to parse dsn: parse \"<tcp://clickhouse-microk8s>:%!s(float64=9000)?username=xxx&password=xxx\": invalid port \":%!s(float64=9000)\" after host",
"stacktrace": "main.main\n\t/home/runner/work/signoz-otel-collector/signoz-otel-collector/cmd/signozschemamigrator/migrate.go:104\nruntime.main\n\t/opt/hostedtoolcache/go/1.20.10/x64/src/runtime/proc.go:250"
}
This is what happens if i remove the port. This is the schema-migrator-pod.
And this is the init container when the port is removedschemaMigrator:
enabled: false
TCPHandler: Code: 81. DB::Exception: Database signoz_metrics doesn't exist
This is the error i get when i disable migrator