This is raw copy of the default behaviour of the debian-installer. This causes some issues with services running on the local machines but not listening on localhost interface, ex: ceph usespace daemons.
According to this section, "For a system with a permanent IP address, that permanent IP address should be used here instead of 127.0.1.1.". All clusters nodes have static IP addresses on the administration network. This address must be used in place of 127.0.1.1.
Currently, the network module appends a line in
/etc/hosts
for binding the hostname + FQDN to127.0.1.1
:https://github.com/edf-hpc/puppet-hpc/blob/81b6aeabd5536d61a78a2cb19aff4df37529e37d/puppet-config/modules/network/manifests/config.pp#L50
This is raw copy of the default behaviour of the debian-installer. This causes some issues with services running on the local machines but not listening on localhost interface, ex: ceph usespace daemons.
There is a section of the Debian Reference guide mentioning this point: https://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_hostname_resolution
According to this section, "For a system with a permanent IP address, that permanent IP address should be used here instead of 127.0.1.1.". All clusters nodes have static IP addresses on the administration network. This address must be used in place of
127.0.1.1
.