This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
weave-kube reclaim is not able to rm a dead peer if a running peer has the same hostname #3394
Open
Description
As seen in #3384 (comment), it's possible for a new node to have an IP addr (and a hostname) of a dead node. In this situation, the weave-kube reclaimer won't be able to rmpeer the dead node, because it doesn't identify running nodes by their peer names, but their hostname (https://github.com/weaveworks/weave/blob/v2.4.0/prog/kube-utils/main.go#L114).
Amazon ASG users are extremely exposed to this problem.