talos/internal
Andrey Smirnov bec89bf6e5
fix: use 'no block' etcd dial with multiple endpoints
The problem showed up on 'reset' of the Talos node which had multiple
endpoints for other control plane nodes, many of which weren't actually
available.

When 'grpc.WithBlock()' is used, etcd will try to dial the first
endpoint and return an error if the dial fails.

Use noblock mode by default with multiple endpoints, and blocking mode
with a single endpoint.

Pass the context to etcd to properly abort dial operations if the
context get canceled.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2023-03-21 15:35:31 +04:00
..
app fix: use 'no block' etcd dial with multiple endpoints 2023-03-21 15:35:31 +04:00
integration fix: add --force flag for talosctl gen 2023-03-17 15:07:12 +05:30
pkg fix: use 'no block' etcd dial with multiple endpoints 2023-03-21 15:35:31 +04:00