fluvio
fluvio copied to clipboard
Remove localhost from fluvio in favor of 127.0.0.1
Some combinations of fluvio binary and Linux distros do not resolve localhost
resulting in fluvio cluster start
startup failure.
The preliminary problem looks like the systems which this occurs have no localhost
in /etc/hosts
. They may be relying on glib/systemd-resolver conventions to resolve localhost, while musl libc (which fluvio builds with), expects a localhost entry to resolve localhost to 127.0.0.1.
Look at developing standards and linux distro conventions to see how check to see if this is a reasonable approach to directly specify 127.0.0.1 as a default. It is thought that settings where this is used can be configured at run-time for custom configurations for fluvio so this is likely a matter of default settings, and a few maybe well placed error messages.