Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3278 from weaveworks/seeded-docs
Browse files Browse the repository at this point in the history
Add instructions for 'seeded by different peers' message
  • Loading branch information
brb committed May 22, 2018
2 parents dbcc72a + e05345d commit bfaa3a3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions site/tasks/ipam/troubleshooting-ipam.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


### <a name="seeded-different-peers"></a>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.
4 changes: 4 additions & 0 deletions site/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

### <a name="weave-status-peers"></a>List Peers

Detailed information on peers can be obtained with `weave status
Expand Down Expand Up @@ -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)

0 comments on commit bfaa3a3

Please sign in to comment.