-
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When attempting to machine ls or service ls fails when the first node in the cluster is down:
$ uc --uncloud-config ./blatta.yaml service ls
Error: connect to cluster: connect to cluster (context 'default'): connect to machine: SSH login to provision@192.168.1.203:22: connect using SSH agent: dial tcp 192.168.1.203:22: i/o timeout
How to reproduce
Local configuration:
current_context: default
contexts:
default:
connections:
# blatta1
- ssh: provision@192.168.1.203
# blatta2
- ssh: provision@192.168.1.194
# blatta3
- ssh: provision@192.168.1.246- Setup 2/3 nodes cluster and ensure all nodes are listed in
connectionsof uncloud configuration - Verify services and machines are listed and running
- Turn off/poweroff the first node of the list in the cluster
- Attempt to repeat step number 2 and notice the timeout failure
- Comment out the first connection and try again, this time it works.
Expected behavior
I would expect uc to retry by connecting any of the servers listed under connections instead of failing at the first one.
Environment:
- Uncloud versions:
- Control (client) node (
uc --version):0.12.1(darwin/arm64) - Uncloud daemon (from the server) (
uncloudd --version): 0.12.1 (linux/amd64)
- Control (client) node (
- OS version (
uname -a):- Client (control node): Darwin Kernel Version 24.6.0
- Server: Debian 6.12.43-1 (2025-08-27) x86_64 GNU/Linux
Thank you
❤️ ❤️ ❤️
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working