hashicorp / hashicorp/serf

Missing tags after HUP signal

Open
#445 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
6.1k
Forks
609
Avg merge
15h 1m
Merged PRs (30d)
3

Description

Hi team,

Tags configured in a serf node are missed after send a HUP signal. I've a tags-file configured to use persistent tags, but seems to be ignored after an HUP signal. However, tags doesn't missed after restarting serf process.

```
[root@localhost ~]# cat /etc/serf/00first.json
{"bind":"10.0.203.58","tags_file":"/etc/serf/tags","node_name":"rb-jqlhlwo9y6"}

[root@localhost ~]# serf members
rb-jqlhlwo9y6 10.0.203.58:7946 alive

[root@localhost ~]# serf tags -set newTag=testing
Successfully updated agent tags

[root@localhost ~]# serf members
rb-jqlhlwo9y6 10.0.203.58:7946 alive newTag=testing

[root@localhost ~]# kill -SIGHUP 17063

[root@localhost ~]# serf members
rb-jqlhlwo9y6 10.0.203.58:7946 alive
```
I'm using 0.8.0 version.

Best regards

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.