Paul Bellamy
e80a83b30b
adding work around to the proxy /var/run warning
2015-11-17 09:40:34 +00:00
Paul Bellamy
d80e72dfcd
[proxy] dynamically mount -H dirs into the proxy when launching
...
This lets you use -H unix://*.sock outside /var/run/weave. Using a
socket directly in /var/run (i.e. /var/run/foo.sock), will reintroduce
the bug with namespaces not being GCed, so that is a warning.
2015-11-17 09:40:34 +00:00
Matthias Radestock
d01c26e618
cosmetic: remove outdated comment
...
The deadlock described for SendProtocolMsg (if it was going via the
actor) cannot occur since all sending of broadcasts and gossip by
LocalPeer is mediated by GossipSenders, the interaction with which is
non-blocking.
2015-11-17 09:27:49 +00:00
Matthias Radestock
cab2e11ca9
refactor: simplify per-connection GossipSender gc and creation
...
by putting it in one place and inlining some helper functions
2015-11-16 23:21:33 +00:00
Matthias Radestock
b48994b1b3
cosmetic: move some functions
2015-11-16 23:01:20 +00:00
Matthias Radestock
fb48acddb2
cosmetic: update comment
2015-11-16 19:27:31 +00:00
Paul Bellamy
7d627f7af4
Merge pull request #1673 from weaveworks/1440-cleanup
...
Move some netlink code to upstream library
2015-11-16 14:24:10 +00:00
Bryan Boreham
de802f9d76
Work round docker-py assuming busybox is present ( https://github.com/docker/docker-py/issues/852 )
2015-11-13 11:44:08 +00:00
Bryan Boreham
804e6ba586
Cope with changes in docker-py structure.
...
Tests are now in a different directory,
and get sharded by module rather than individually.
2015-11-13 11:08:57 +00:00
Adam Harrison
af3fc82b77
Add release v1.3.0
v1.3.0
2015-11-12 16:49:33 +00:00
Adam Harrison
3bb7036cfd
Runner depends on tools
2015-11-12 16:48:56 +00:00
Bryan Boreham
d802eb485b
Merge pull request #1664 from weaveworks/weave-launch-plugin
...
Add plugin support to weave script. LGTM.
2015-11-12 16:04:41 +00:00
Adam Harrison
b4dd9c2490
Add plugin to features doc
2015-11-12 16:01:01 +00:00
Adam Harrison
04ab198e95
Set restart policy to 'always'
...
Docker attempts to recreate networks on startup which means the plugin
container has to be started. If it isn't started automatically by Docker
with a restart policy, it's not possible to start it manually because
Docker is blocked.
2015-11-12 14:58:54 +00:00
Adam Harrison
c345700963
Add plugin to weave status
2015-11-12 14:58:54 +00:00
Adam Harrison
b21afcb78f
Implement weave launch-plugin and weave stop-plugin
2015-11-12 14:56:13 +00:00
Adam Harrison
7f65530b26
weave setup fetches plugin
2015-11-12 14:56:13 +00:00
Bryan Boreham
e230eeb486
Use upstream netlink code
2015-11-12 13:08:56 +00:00
Bryan Boreham
b1b03f3a97
Revert "Remove code coverage as temporary work-around to Docker 1.9 issue"
...
This reverts commit 65fe753a58 .
2015-11-12 11:27:48 +00:00
Bryan Boreham
36ef6d8da2
Merge remote-tracking branch 'origin/1.2'
2015-11-12 11:27:01 +00:00
Bryan Boreham
28bb0dd3b0
Merge pull request #1671 from weaveworks/1666-remove-cont-dir
...
Remove containers directory bind-mount from proxy; fixes #1647 and #1666
2015-11-12 11:25:34 +00:00
Bryan Boreham
79f8a8f909
Merge remote-tracking branch 'origin/1.2'
2015-11-12 10:43:01 +00:00
Bryan Boreham
bfe2513540
Merge pull request #1669 from dpw/fdp-fix-npd
...
Handle the case where Forward returns nil. Fixes #1661 .
2015-11-12 10:38:29 +00:00
Bryan Boreham
2536aef737
Proxy doesn't need to mount the containers dir
2015-11-12 10:28:58 +00:00
Adam Harrison
0661ccdea9
Revert "Revert "Disable restart of docker""
...
This reverts commit 76db732f1b .
2015-11-11 10:10:17 +00:00
Adam Harrison
29f7015e58
Merge pull request #1665 from weaveworks/move-odp-helpers
...
Move ODP helper functions out to their own package
2015-11-11 09:56:24 +00:00
David Wragg
7dc1b50d3b
Handle the case where Forward returns nil
...
Forward can return nil if the remote peer has HasShortID false. That
can happen if we learn about a 1.2 peer from a 1.1 peer and attempt to
connect to it.
This change just fixes the panic. HasShortID will never be set, so we'll
fall back to sleeve. But if that occurs, if can be fixed by a restart of
the affected routers.
2015-11-10 23:17:01 +00:00
Bryan Boreham
682133a56a
Move ODP helper functions out to their own package
2015-11-10 17:09:17 +00:00
Adam Harrison
76db732f1b
Revert "Disable restart of docker"
...
This reverts commit a400a3dd09 .
2015-11-10 10:24:58 +00:00
Matthias Radestock
64aa2b5cc3
refactor: remove weave overlay-isms from mesh
2015-11-09 20:56:04 +00:00
Matthias Radestock
1eed5fd271
cosmetic: don't mention UDP in mesh
2015-11-09 19:47:27 +00:00
Matthias Radestock
dd7ffa4501
code docs: warn against nonce re-use by overlay connection
2015-11-09 19:46:53 +00:00
Adam Harrison
5e79da0c9c
Merge pull request #1658 from weaveworks/tweak-circle
...
Upgrade CI to Docker 1.9 and work round issues
2015-11-09 17:55:27 +00:00
Bryan Boreham
65fe753a58
Remove code coverage as temporary work-around to Docker 1.9 issue
2015-11-09 17:18:59 +00:00
Bryan Boreham
17c835e672
Compress weave.tar to save upload time
2015-11-09 17:18:58 +00:00
Bryan Boreham
fa5bcd0457
Lump some commands together to reduce CircleCI waiting overhead
2015-11-09 17:18:58 +00:00
Bryan Boreham
499d6312b7
Don't need --add-host except in non-FDP case because we put the
...
mappings in the outer /etc/hosts
2015-11-09 17:18:58 +00:00
Bryan Boreham
20d5903696
Update test template name to pull in new Docker version
2015-11-09 17:18:57 +00:00
Adam Harrison
f039221ec9
Merge remote-tracking branch 'origin/create-mesh'
...
Closes #1659 .
2015-11-09 17:16:35 +00:00
Matthias Radestock
dc9f8762ca
move generic communication substrate into its own 'mesh' package
...
This is mostly a matter of moving some files, changing package names,
changing some imports, and changing some type references.
We duplicate the odd constant & global var, and the intmac/macint
functions, since neither 'router' or 'mesh' nor, really,' common' are
a natural home for them.
2015-11-09 16:37:39 +00:00
Adam Harrison
e5c69801a7
Merge remote-tracking branch 'origin/separate-overlay'
...
Closes #1648 .
2015-11-09 16:17:41 +00:00
Matthias Radestock
ab458368de
refactor: move NetworkRouterStatus into its own file
2015-11-09 15:51:11 +00:00
Matthias Radestock
8eb680fcc9
refactor: separate out NetworkRouter-specific status
2015-11-09 15:51:11 +00:00
Matthias Radestock
71b05972f4
refactor: move NetworkRouter into its own file
2015-11-09 15:50:55 +00:00
Matthias Radestock
7deeb8dba5
refactor: separate NetworkRouter from Router
2015-11-09 15:47:08 +00:00
Matthias Radestock
daad190188
refactor: split overlay.go to extract network overlay stuff
2015-11-09 15:47:08 +00:00
Matthias Radestock
7cc0052451
refactor: separate NullNetworkOverlay from NullOverlay
2015-11-09 15:47:07 +00:00
Matthias Radestock
18f8e29af8
refactor: separate NetworkOverlay from Overlay
...
...since connections only need to know about the latter.
2015-11-09 15:47:07 +00:00
Matthias Radestock
d78f6614cc
refactor: separate forwarder from overlay connection
...
...since the main connections only need to know about the former.
We make LocalConnection.Overlay (formerly '.forwarder') public since
the router needs access to it, and it shouldn't be doing that via a
private field.
2015-11-09 15:45:06 +00:00
Bryan Boreham
53ac43202a
Merge pull request #1641 from weaveworks/1554-converge-on-peer-uid-change
...
better convergence when peers restart; fixes #1554 .
2015-11-09 15:09:59 +00:00