From e05345d3bbc6eca597efd4d7b28cec0d7fe4d85a Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 17 Apr 2018 10:24:00 +0100 Subject: [PATCH] Add instructions for 'seeded by different peers' message --- site/tasks/ipam/troubleshooting-ipam.md | 15 +++++++++++++++ site/troubleshooting.md | 4 ++++ 2 files changed, 19 insertions(+) diff --git a/site/tasks/ipam/troubleshooting-ipam.md b/site/tasks/ipam/troubleshooting-ipam.md index bddffb53..b9cd1318 100644 --- a/site/tasks/ipam/troubleshooting-ipam.md +++ b/site/tasks/ipam/troubleshooting-ipam.md @@ -67,3 +67,18 @@ Columns are as follows: partition, it may be because the peer has failed and needs to be removed administratively - see [Starting, Stopping and Removing Peers](/site/tasks/ipam/stop-remove-peers-ipam.md) for more details. + + +### Seeded by Different Peers + +If you see the message: `IP allocation was seeded by different peers`, +this means that some Weave Net peers were initialized into one cluster +and some into another cluster; Weave Net cannot operate in this state. + +To recover, you need to eliminate the IPAM data from the affected +nodes and restart. If you installed via the Kubernetes Addon, this +data will be in a file under `/var/lib/weave` on the node - delete +this file and restart the node. + +For other installations, run `weave reset` and restart. Any existing +connections to containers will be lost. diff --git a/site/troubleshooting.md b/site/troubleshooting.md index 7ade9e43..e98ac085 100644 --- a/site/troubleshooting.md +++ b/site/troubleshooting.md @@ -157,6 +157,9 @@ The columns are as follows: the encryption mode, data transport method, remote peer name and nickname for pending and established connections, mtu if known +Specific error messages: +* `IP allocation was seeded by different peers` - [more details here](/site/ipam/troubleshooting-ipam.md#seeded-different-peers) + ### List Peers Detailed information on peers can be obtained with `weave status @@ -329,5 +332,6 @@ and the container image versions as git hashes. **See Also** + * [Troubleshooting the Kubernetes Addon](/site/kubernetes/kube-addon/#troubleshooting) * [Troubleshooting IPAM](/site/tasks/ipam/troubleshooting-ipam.md) * [Troubleshooting the Proxy](/site/tasks/weave-docker-api/using-proxy.md)