Connection refused for layout show or status #886
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#886
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Garage CLI reports an access denied.
This is my current config, bind the private address and advertise the Freebox public IP that does NAT for me.
But if I run
strace garage layout show
It reveals:
I conclude that the code should use the bind address and not the public address to get the status.
My freebox router does not know how to route packets to itself (it's own public IP).
In all cases, you must configure your network (including your router) so that connections to
rpc_public_addr
are directed to your Garage node, otherwise your Garage cluster will not work. The current behaviour is correct:rpc_bind_addr
describes the address to bind for the listening socket (which can be0.0.0.0
for all IP addresses); andrpc_public_addr
describes the address other nodes and the CLI tool should use to connect to your node.