Skip to content

one_primary_ipv4 not respected on Proxmox VE (Debian 10.2) #19

@t4nec0

Description

@t4nec0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions