1

I'm facing a problem.. It seems like impossible to import my cluster on Paralus. With domain name I got a no such host error and with core dns resolution I got a go error..

After installed paralus on my cluster, with the basic commands like : helm install paralus paralus/ztka
-f https://raw.githubusercontent.com/paralus/helm-charts/main/examples/values.dev-generic.yaml
--set fqdn.domain="my.domain"
-n paralus
--create-namespace As it recommends, set password etc.. On import cluster, I'm downloading the bootstrap file provide by paralus. Then, stopped here. My paralus namespace is paralus, the namespace of the bootstrap file is paralus-system. But by following there getting started, they not changes the namespace in the bootstrap file. (And I tested, it changed nothing) I added to each of my nodes, *.user.my.domain and *.core-connector.my.domain in the host file of them and I'm getting an error :

,"caller":"agent/agent.go:354","msg":"Relay Agent::failed to register relay agent error: Post \"http://console.my.domain:80/v2/sentry/bootstrap/template%2Fces3ntd8uvkc73f2meb0/register\": dial tcp: lookup console.my.domain on x.x.x.x:53: no such host ","stacktrace":"github.com/paralus/relay/pkg/agent.registerRelayAgent\n\t/build/pkg/agent/agent.go:354\ngithub.com/paralus/relay/pkg/agent.handleRelayNetworks\n\t/build/pkg/agent/agent.go:560"}

I'm trying to add ingress on the dashboard service of paralus, to resolve on console.my.domain but still not working.

I changed in the bootstrap file, le console.my.domain:80 by dashboard.paralus:80, normally, the core dns is able to resolve this in the cluster.

And I'm getting this error :

"caller":"agent/agent.go:354","msg":"Relay Agent::failed to register relay agent error: &{0 [] } (*models.GooglerpcStatus) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface ","stacktrace":"github.com/paralus/relay/pkg/agent.registerRelayAgent\n\t/build/pkg/agent/agent.go:354\ngithub.com/paralus/relay/pkg/agent.handleRelayNetworks\n\t/build/pkg/agent/agent.go:560"}

I supposed that it received an empty string who fire this error but I'm blocked here.

Can someone have a solution please? Or another way to import cluster on paralus ?

Thanks

mblt
  • 19
  • 1

2 Answers2

0

--set fqdn.domain="my.domain" , looks like you are using example domain in the documentation, do you own the domain '.my.domain', can you make sure you be able resolve 'console.my.domain' especially from the cluster that you are trying to import.

  • This does not provide an answer to the question. Once you have sufficient [reputation](https://stackoverflow.com/help/whats-reputation) you will be able to [comment on any post](https://stackoverflow.com/help/privileges/comment); instead, [provide answers that don't require clarification from the asker](https://meta.stackexchange.com/questions/214173/why-do-i-need-50-reputation-to-comment-what-can-i-do-instead). - [From Review](/review/late-answers/34318936) – Narendranath Reddy May 09 '23 at 08:32
0

Firstly do you own the domain you have configured? In this case my.domain

If yes, then ensure you have configured your DNS settings similar to below with your domain registration. Then verify all these are accessible from the target cluster.

DNS Settings

Alternatively if you are trying out Paralus in your local machine using one of the quickstart guides, e.g. kind, then ensure you are configuring /etc/hosts or local dns routing appropriately.

Alez
  • 1,913
  • 3
  • 18
  • 22