Adam Harrison
5232a9af6b
Add release v1.4.3
v1.4.3
2016-02-02 16:35:32 +00:00
Adam Harrison
c393b23b31
Merge pull request #1918 from weaveworks/issues/1906-plugin-no-weave
...
Return an error when weave isn't running, on RequestPool
2016-02-02 15:54:39 +00:00
Adam Harrison
955fbca44a
Merge pull request #1943 from weaveworks/1942-mcast-iface-up
...
don't set the interface 'up' before it is fully configured
2016-02-01 15:29:46 +00:00
Matthias Radestock
18c26e9fbb
don't set the interface 'up' before it is fully configured
...
This was causing container entrypoints to execute too early,
e.g. before the interface had been given an IP address. But only when
running with --no-multicast-route, since otherwise weavewait is
waiting for the multicast route to appear.
Fixes #1942 .
2016-02-01 12:04:15 +00:00
Matthias Radestock
b54efbde69
fix typo in comment
2016-01-30 11:15:57 +00:00
Matthias Radestock
be9d64b2cc
Merge pull request #1936 from weaveworks/issues/1934-rm-socket
...
Remove Unix domain sockets on shutdown
Fixes #1934 .
2016-01-29 15:46:24 +00:00
Matthias Radestock
c6f356a167
Merge pull request #1935 from weaveworks/issues/1757-volumes-container
...
Reduce docker volumes for weavewait to just one set per release
Fixes #1757 .
2016-01-29 15:24:42 +00:00
Matthias Radestock
eae45ebc94
Merge pull request #1921 from weaveworks/issues/1745-plugin-ps
...
Make weave script scan veths with prefix 'ethwe'
Fixes #1745
2016-01-29 12:45:10 +00:00
Bryan Boreham
ea50b3d5cc
Create a different weavevolumes container for each Weave version.
...
They will be named 'weavevolumes-v1.4.3', 'weavevolumes-latest', etc.
Use a label to identify these containers so they can all be removed on `weave reset`.
2016-01-29 12:22:22 +00:00
Bryan Boreham
3297b93edb
Smoke-test 'weave ps' and restarting when using plugin
2016-01-29 12:13:00 +00:00
Bryan Boreham
6d0e867ad0
Capture addresses from veths with prefix 'ethwe'
...
This is to address the plugin case, where the veth will have a name like 'ethwe0'.
Previously we only looked at the device named exactly 'ethwe'.
Covers `weave ps` and reclaim of addresses for IPAM and WeaveDNS.
2016-01-29 12:13:00 +00:00
Bryan Boreham
1cea9c1c87
Extract function to detect container running in host namespace
2016-01-29 12:13:00 +00:00
Bryan Boreham
3320a9e7d4
Re-organise code so we can clean up using defer and return error codes to top level
2016-01-29 11:41:24 +00:00
Bryan Boreham
9b90a938f5
Remove Unix domain sockets on shutdown
2016-01-28 18:26:34 +00:00
Matthias Radestock
c6d0149ba6
add missing dependency
...
The plugin image derives from the weaveexec image.
2016-01-28 17:50:26 +00:00
Bryan Boreham
598efe5d1a
Reduce docker volumes for weavewait to just one set.
...
- Create an auxilliary container 'weavevolumes' to hold the '/w/w'
files, and map into that instead of creating new volumes every time.
- Show "/bin/false" as its command in `docker ps` instead of
"/home/weave/sigproxy".
- Remove volumes when cleaning up smoketest containers.
2016-01-28 15:57:22 +00:00
Matthias Radestock
3679065258
cope with nil route.Dst
...
Fixes #1932 .
2016-01-27 22:02:07 +00:00
Matthias Radestock
4649f1158a
Merge pull request #1926 from weaveworks/issues/1905-fix-negative-fragment
...
Negative fragment fix
Fixes #1905 .
2016-01-26 16:56:03 +00:00
Adam Harrison
de17a44f35
Fix fragmentation test
...
The assumptions on which this test was based were violated by the
introduction of fast datapath. A new rule is required to block fast
datapath traffic, to ensure that sleeve is selected for forwarding; the
rules must also be moved from the FORWARD chain to INPUT as the router
now runs in the host netns (NB we use INPUT instead of OUTPUT as the
latter results in sleeve receiving an 'operation not permitted' udpv4
write error when it tries to send a packet that is too big, rather than
the packet just being silently dropped as required)
2016-01-25 10:58:31 +00:00
Adam Harrison
52ce4df18e
Increase the lowest possible good PMTU
...
The current minimum PMTU we can detect is eight bytes, which, being
lower than the minimum IPv4 MTU of 68 bytes, can cause an exception in
the sleeve packet fragmentation implementation. We increase that minimum
to 552, the lowest PMTU value that Linux will cache.
2016-01-25 10:53:10 +00:00
Matthias Radestock
f1ed5bf838
Merge branch 'latest_release_doc_updates' into 1.4
2016-01-22 13:35:27 +00:00
Matthias Radestock
256a801d16
typo
2016-01-22 13:34:59 +00:00
Matthias Radestock
c416cf8da5
tidying of plugin docs
2016-01-22 13:27:22 +00:00
Matthias Radestock
75e812a061
Merge branch 'latest_release_doc_updates' into 1.4
2016-01-21 12:30:14 +00:00
Matthias Radestock
4cc7b01940
Merge pull request #1907 from weaveworks/systemd-timeout
...
Suggest disabling systemd timeout if using Weave Net plugin
2016-01-21 12:29:42 +00:00
Matthias Radestock
a2ff7e5981
Merge pull request #1919 from weaveworks/issues/1900-dont-stop-stoppin
...
Warn, don't error, if unable to remove network in 'weave stop'
Fixes #1900 .
2016-01-21 11:22:21 +00:00
Bryan Boreham
cda98a6375
Merge pull request #1917 from weaveworks/issues/1911-fix-unexpected-eof
...
Fix unexpected EOF with Docker 1.10-rc1 and proxy --rewrite-inspect
2016-01-21 10:15:20 +00:00
Matthias Radestock
3b7a754b0a
Merge branch 'latest_release_doc_updates' into 1.4
2016-01-20 18:56:26 +00:00
Anita Buehrle
c01c6bcb91
fixed logo image in header
2016-01-20 12:48:31 -06:00
Bryan Boreham
e47360f8dc
Warn, don't error, if unable to remove network in 'weave stop'
2016-01-20 16:18:09 +00:00
Bryan Boreham
6035b54277
Send back an http error code in case of error, so Docker is clear something went wrong
2016-01-20 15:36:42 +00:00
Bryan Boreham
a238130613
Give more explanation if we can't find weave to talk to
2016-01-20 15:36:34 +00:00
Bryan Boreham
998be42a52
Don't crash if no default subnet available
2016-01-20 15:36:25 +00:00
Adam Harrison
14944da396
Ignore stderr in proxy_addrs
2016-01-20 14:24:59 +00:00
Adam Harrison
a3974c2aeb
Abort inspect exec rewrite unless Containers node is present
2016-01-20 14:24:28 +00:00
Bryan Boreham
13ec517f94
Merge pull request #1910 from weaveworks/1909-forEachRoute-panic
...
cope with errors during route traversal
2016-01-20 14:05:10 +00:00
Matthias Radestock
43419815f4
bypass netlink.LinkByIndex
...
since we are seeing some cases where it returns "Link not found" when
the link is in fact there.
2016-01-19 16:36:16 +00:00
Matthias Radestock
b5256f7b71
refactor: inline
...
This eliminates the unnecessary indirection via interface names,
instead identifying the interface by its index.
2016-01-19 16:36:16 +00:00
Matthias Radestock
0caa9dd652
cope with errors during route traversal
...
Fixes #1909 .
2016-01-19 15:28:31 +00:00
Bryan Boreham
5e1e8ec543
Suggest user disables systemd timeout if using plugin
2016-01-18 11:45:17 +00:00
Adam Harrison
c391092ea6
Add release v1.4.2
v1.4.2
2016-01-14 11:40:17 +00:00
Adam Harrison
b3a29bec1b
Merge pull request #1886 from weaveworks/issues/1869-leave-plugin
...
Allow plugin to keep running on 'weave launch'
2016-01-13 11:08:54 +00:00
Bryan Boreham
b055c9a4a2
Fool-proofing
2016-01-13 10:33:49 +00:00
Bryan Boreham
3daceac668
Allow pre-existing plugin on 'weave launch-plugin'
2016-01-13 10:05:02 +00:00
Matthias Radestock
4611e8825a
Merge branch 'latest_release_doc_updates' into 1.4
2016-01-13 09:25:34 +00:00
Matthias Radestock
00e4729533
Merge pull request #1872 from weaveworks/issues/1871-address-docs
...
Documentation on IP addresses, routes and networks
2016-01-13 09:24:31 +00:00
Bryan Boreham
517a2e0e0a
Fix nonzero exit code for a pre-existing plugin on launch;
...
do this purely for the 'plugin running' case, not 'restarting' etc.
2016-01-12 17:06:38 +00:00
Bryan Boreham
bb8c7c599c
Revert "don't launch anything when plugin is running"
...
This reverts commit 3ade796e8d .
2016-01-12 16:51:49 +00:00
Bryan Boreham
0d0fc39236
More review feedback
2016-01-12 15:35:34 +00:00
Adam Harrison
302a5a4efc
Merge pull request #1884 from weaveworks/issues/1882-check-after-subscribe
...
Fix race condition in weavewait
2016-01-12 14:28:03 +00:00