ceph-salt icon indicating copy to clipboard operation
ceph-salt copied to clipboard

ceph-salt needs to assert that hosts don't think their own IP address is a loopback address

Open smithfarm opened this issue 2 years ago • 0 comments

As a pre-flight check before "apply", ceph-salt should check what each host returns for

socket.gethostbyname(socket.gethostname())

If the value returned by this looks like a loopback address (IPv4 or IPv6), error out and tell the user to fix it.

See the code and comments in https://github.com/ceph/ceph-salt/pull/465 for more context.

smithfarm avatar Nov 09 '21 10:11 smithfarm