-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I set up a bunch of nodes (CentOS 7.4) using the default settings for the module, in particular one_primary_ipv4, with no issues. These nodes are multi-hosted and I wanted the hostname to resolve to the "internal" (cluster) interface instead of the public one (default route).
With one_primary_ipv4=true (default) the # Primary address section is empty, as expected.
I replicated the same configuration for another bunch of nodes, this time based on Proxmox VE (Debian 10.2), but this time the result was different.
In fact I got the (wrong) primary address inserted, resulting in a duplication of the name. Since this entry comes before the other I set, it was used and corosync did not behave correctly anymore.
By reading the module code I found no reason for this... but I may have missed something.
To fix this I set hosts::enable_ipv4 to false and put 127.0.0.1 localhost explicitly in my entries list.