Open berlic opened 6 years ago
@berlic thanks for providing details steps to reproduce the issue. There were some critical issues related IPAM that got fixed in both 2.4.0 and 2.5.0. I will try to reproduce if this is still issue.
This change https://github.com/weaveworks/weave/commit/873781ab580773c17c573383bd77fd709207a3e6 makes this issue less likely to happen, but still possible.
What you expected to happen?
Host that was removed from cluster with
rmpeer
+forget
should not be able to hijack it's former IPAM tokens back from cluster.What happened?
Decommissioned host takes it's former tokens back from cluster making IPAM status inconsistent forever.
How to reproduce it?
rmpeer B
on node C andforget B
on nodes A, C, D, E.Version
incremented a bit.Version
of IPAM token.Version
of IPAM token on resurrected node B becomes grater thanVersion
of this token on node C, all other nodes in cluster (A, D, E) update their IPAM tables with node B as owner of IPAM token in question.Anything else we need to know?
weave 2.3.0, used as "legacy" plugin without swarm.