Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Member discovery fails: discovery.talos.dev not reachable (1.9.1, Openstack) #10136

Open
tbshrst opened this issue Jan 15, 2025 · 1 comment
Open

Comments

@tbshrst
Copy link

tbshrst commented Jan 15, 2025

Attempting to form a cluster consisting of 1 control plane and 1 worker node fails, because both machines cannot reach discovery.talos.dev for member discovery.

Both are running in Openstack in the same net with an external gateway configured for internet access. An addition, both nodes are configured to use a proxy.

Logs:
talosctl logs controller-runtime

ERROR hello failed {"component": "controller-runtime", "controller": "cluster.DiscoveryServiceController", "error": "rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 172.174.35.21:443: connect: no route to host"", "endpoint": "discovery.talos.dev:443"}
ERROR hello failed {"component": "controller-runtime", "controller": "cluster.DiscoveryServiceController", "error": "rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 172.174.35.21:443: i/o timeout"", "endpoint": "discovery.talos.dev:443"}
ERROR hello failed {"component": "controller-runtime", "controller": "cluster.DiscoveryServiceController", "error": "rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 172.174.35.21:443: i/o timeout"", "endpoint": "discovery.talos.dev:443"}
..

controlplane.yaml/worker.yaml:

machine:
	env:
    HTTP_PROXY: http://$IP
    HTTPS_PROXY: http://$IP
    http_proxy: http://$IP
    https_proxy: http://$IP

However, if I run the discovery service locally both machines can connect.
Could it be possible that the DiscoveryController ignores the proxy settings?

Environment
Talos version: v1.9.1
Kubernetes version: v1.32.0
Platform: Openstack

@tbshrst tbshrst changed the title Member discovery fails: discovery.talos.dev not reachable (1.9.1) Member discovery fails: discovery.talos.dev not reachable (1.9.1, Openstack) Jan 15, 2025
@smira
Copy link
Member

smira commented Jan 15, 2025

No, Discovery Service respects proxy settings. These failures might have happened before you apply proxy settings, but totally not clear from your description.

Use talosctl get members to see if Discovery Service is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants