Bootstrap automatically using shared secret #35

Closed
opened 2021-03-10 18:44:02 +00:00 by lx · 2 comments
Owner

Use a shared secret and (a DHT / something??), instead of relying on Consul or fixed boostrap addresses.

Use a shared secret and (a DHT / something??), instead of relying on Consul or fixed boostrap addresses.
lx added this to the (deleted) milestone 2021-03-15 18:25:57 +00:00
lx modified the milestone from (deleted) to Speculative 2021-03-17 10:04:37 +00:00
lx changed title from Better node discovery between garage nodes to Bootstrap automatically using shared secret 2021-04-05 16:34:57 +00:00
Owner

Should we close this issue?

Should we close this issue?
Author
Owner

Not sure. Basically the idea of this issue is to make Garage run automatically on any kind of network and not need the administrator to manage connections between nodes. It could work like Syncthing: just copy-paste a node ID into another node, and the two nodes will manage to do NAT traversal and other stuff to manage to connect to one another. In the case of Garage, nodes could just know the shared secret (= rpc_secret), and from there have a signaling mechanism to find other nodes of the cluster and automatically connect. However the mechanism in Syncthing uses a centralized bootstrap server to find other nodes, not sure we want to do that.

Not sure. Basically the idea of this issue is to make Garage run automatically on any kind of network and not need the administrator to manage connections between nodes. It could work like Syncthing: just copy-paste a node ID into another node, and the two nodes will manage to do NAT traversal and other stuff to manage to connect to one another. In the case of Garage, nodes could just know the shared secret (= rpc_secret), and from there have a signaling mechanism to find other nodes of the cluster and automatically connect. However the mechanism in Syncthing uses a centralized bootstrap server to find other nodes, not sure we want to do that.
lx added the
Improvement
label 2022-09-14 11:09:20 +00:00
lx closed this issue 2024-02-20 16:58:48 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#35
No description provided.