hashicorp/serf

Serf agent ignores configured interface

smurfix opened this issue · 1 comments

Config JSON:

{
         "start_join": [ … ]
    ,    "node_name": "s-base-2"
    ,    "interface": "en0"
    ,    "bind": "10.107.0.2"
}

Interfaces:

1: lo: […]
2: en0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    inet 10.107.0.2/24 brd 10.107.0.255 scope global en0
       valid_lft forever preferred_lft forever
    inet 10.107.15.11/32 scope global en0
       valid_lft forever preferred_lft forever
3: secure@en0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 88:d7:f6:c6:2d:f2 brd ff:ff:ff:ff:ff:ff
    inet 10.107.2.8/27 brd 10.107.2.31 scope global secure
       valid_lft forever preferred_lft forever

Error: serf[90738]: ==> Interface 'secure' has no '10.107.0.2' address

Owch.

Owch. My fault, had another config file lying around. :-/