Bryan Boreham
ba266ef8d3
Add release v1.4.1
v1.4.1
2015-12-22 17:25:47 +00:00
Bryan Boreham
f434fad3be
Merge pull request #1822 from weaveworks/1820-unix-only
...
Only pass $DOCKER_HOST if it is a Unix socket - fixes #1820
2015-12-22 17:16:40 +00:00
Bryan Boreham
bab758ebf9
Revert "Launch the proxy via unix socket in last test"
...
- since we won't now be copying $DOCKER_HOST
This reverts commit d8cfbc4e08 .
2015-12-22 17:01:04 +00:00
Bryan Boreham
800f4663b6
Only pass through $DOCKER_HOST in exec_remote() if it is a Unix socket;
...
a TCP socket may be secured by TLS, in which case we can't use it.
2015-12-22 17:01:04 +00:00
Matthias Radestock
b1b62afa90
Merge pull request #1812 from weaveworks/1810-warn-with-dns
...
Issue a warning on --with-dns option to proxy, because it was removed
Fixes #1810
2015-12-22 15:12:27 +00:00
Bryan Boreham
6b90ef7078
Clarify message
2015-12-22 14:56:40 +00:00
Matthias Radestock
2ed4b45c24
Merge pull request #1817 from weaveworks/1815-docker-version
...
Check we have Docker 1.9 or newer before trying to remove a network
Fixes #1815 .
2015-12-22 14:01:55 +00:00
Matthias Radestock
47ba9748b4
Merge pull request #1814 from weaveworks/1778-check-running
...
Handle weave containers in 'restarting' state
Fixes #1778 .
2015-12-22 13:49:19 +00:00
Bryan Boreham
077ad4208f
Merge pull request #1813 from weaveworks/1797-plugin-version
...
Show plugin version; Fixes #1797
2015-12-22 13:12:38 +00:00
Bryan Boreham
c19edec364
Add 'weave stop-xxx' instructions for 'already running' case
2015-12-22 13:04:06 +00:00
Bryan Boreham
0c2aa494ae
Reduce duplication
2015-12-22 13:03:04 +00:00
Bryan Boreham
73e0a6bb0a
Inform user about weave containers in state 'restarting'
2015-12-22 13:01:00 +00:00
Bryan Boreham
abf1db0045
Merge pull request #1819 from weaveworks/1818-dont-launch-when-plugin-running
...
don't launch anything when plugin is running; fixes #1818 . LGTM.
2015-12-22 12:55:57 +00:00
Matthias Radestock
b40b78ece0
refactor docker_sock_volume_mount()
2015-12-22 12:47:36 +00:00
Matthias Radestock
3ade796e8d
don't launch anything when plugin is running
...
...just as we don't launch anything if either the router or proxy are
running.
Fixes #1818 .
2015-12-22 12:30:53 +00:00
Bryan Boreham
7c2e808924
Check we have Docker 1.9 or newer before trying to remove a network
2015-12-22 12:10:48 +00:00
Bryan Boreham
7d2227c5a4
Add plugin version to 'weave version'
2015-12-22 10:50:02 +00:00
Bryan Boreham
8a517d5c7c
Issue a warning on --with-dns option to proxy, because it was removed
2015-12-22 10:00:06 +00:00
Bryan Boreham
48658f011f
Merge pull request #1805 from weaveworks/script-indentation
...
Fix indentation of weave script
2015-12-18 09:53:12 +00:00
Bryan Boreham
4ebb13fa94
Fix indentation of netcheck if-statement
2015-12-17 16:23:42 +00:00
Adam Harrison
ff9a6b91a4
Merge branch 'latest_release_doc_updates' into 1.4
2015-12-17 13:07:48 +00:00
Adam Harrison
86fc37a968
Merge pull request #1799 from weaveworks/plugin-docs
...
Extend plugin docs
2015-12-17 12:24:12 +00:00
Bryan Boreham
37ae169323
Merge remote-tracking branch 'origin/master' into latest_release_doc_updates
2015-12-17 11:48:23 +00:00
Bryan Boreham
1ce0df4e94
Explain multiple networks
2015-12-17 11:42:41 +00:00
Bryan Boreham
db5ba61915
Improve formatting
2015-12-17 11:41:44 +00:00
Bryan Boreham
db120fb9be
Add release v1.4.0
v1.4.0
2015-12-17 10:30:06 +00:00
Adam Harrison
ea6e171a7f
Merge pull request #1794 from weaveworks/warn-stop-plugin
...
Warn user if weave network is in use on stop or reset of plugin
2015-12-17 10:27:58 +00:00
Bryan Boreham
246cb76e50
Add note to docs about not removing the plugin
2015-12-17 10:26:08 +00:00
Bryan Boreham
ecf4a82b99
Warn user if weave network is in use on stop or reset
2015-12-17 10:05:36 +00:00
Bryan Boreham
357f67255e
Move logging of Docker API info to callers
2015-12-17 08:25:51 +00:00
Adam Harrison
7015ab8717
Merge pull request #1780 from weaveworks/1748-no-with-dns
...
Remove WITH_DNS variable from weave script
2015-12-16 15:59:24 +00:00
Bryan Boreham
67195bc9f3
Remove WITH_DNS variable and deprecate --with-dns option to 'weave run'
2015-12-16 14:55:35 +00:00
Adam Harrison
ce18509aa7
Merge pull request #1781 from weaveworks/1754-no-with-dns
...
Remove --with-dns option from proxy
2015-12-16 14:02:30 +00:00
Bryan Boreham
cbaa92dcb2
Revert "don't broadcast-gossip other peer when adding a connection"
...
while we consider how to fix it properly.
This reverts commit cbb2ad018d .
2015-12-16 13:46:37 +00:00
Bryan Boreham
f09d87c112
Merge pull request #1796 from weaveworks/gossip-test-connection-mistake
...
fix gossip test connection peer initialisation and connection deletion mistakes
2015-12-16 13:36:50 +00:00
Adam Harrison
7a8bba4d95
Merge pull request #1776 from weaveworks/1752-plugin-multicast
...
Plugin optional multicast route
2015-12-16 13:28:03 +00:00
Bryan Boreham
e6e414a017
Merge pull request #1795 from weaveworks/issues/1772-fix-fastdp-address-already-in-use
...
Introduce limited retry on vxlan vport creation. LGTM; fixes #1772 .
2015-12-16 13:22:50 +00:00
Matthias Radestock
81df06b3f4
fix DeleteTestGossipConnection
...
This is a one-sided operation, so we shouldn't be touching the
remote's Peers.
Also fix the associated test... When both 1 and 2 have lost their
connection to 3, they no longer have a route to 3 and hence gc it.
And because they no longer have a route, gossip from them won't get
through to 3.
2015-12-16 13:18:05 +00:00
Matthias Radestock
5401037743
refactor: inline mockGossipConnection.Connect
...
Also change Start() order in AddTestGossipConnection to be more
pleasing to the eye; the order isn't actually important.
2015-12-16 12:45:12 +00:00
Matthias Radestock
9d9768ee6f
fix incorrect peer initialisation on test gossip connections
...
We were creating peers with NewPeerFrom, which copies the Version (but
not connections). That's not what happens for a real connection, where
remote peers are always created with an initial version of 0.
The mistake results in brokenness: when we subsequently receive a
topology update for that peer with the same version then we ignore it,
even though the update contains connection information which is new to
us.
Related, it is conceptually wrong to call FetchWithDefault on the
remote router. That is not what happens for a real connection - the
FetchWithDefault occurs in the symmetric counterpart.
2015-12-16 12:33:07 +00:00
Bryan Boreham
3043217b2c
Extend --no-multicast-route test to plugin
2015-12-16 12:17:25 +00:00
Bryan Boreham
afcb84d42c
Set up static route for multicast, with option to turn off
2015-12-16 12:17:25 +00:00
Adam Harrison
d5aad8f8d2
Introduce limited retry on vxlan vport creation
...
The kernel processes vport deletion asynchronously, meaning that we can
sometimes fail to recreate vxlan vports on startup with an EADDRINUSE
error. We compensate by retrying a small number of times with a short
sleep on encountering this error, failing as before on a different error
or exhaustion of retries.
2015-12-16 11:51:28 +00:00
Bryan Boreham
c46febd7df
Fix Makefile so weavewait* are statically linked
...
- the `-tags netgo` was being ignored by an interaction with the newer tags
2015-12-16 11:45:10 +00:00
Bryan Boreham
f880da4827
Merge pull request #1722 from weaveworks/fdp-high-level-overview
...
Add fast datapath high level overview
2015-12-16 10:49:31 +00:00
Bryan Boreham
85c9cf43f7
Merge pull request #1689 from weaveworks/1586-alternate-docker-sock
...
Support weave script running against non-standard DOCKER_HOST.
2015-12-16 10:35:46 +00:00
Adam Harrison
ce90d2389b
Merge pull request #1790 from weaveworks/1783-veth-name
...
Prefix interface names with 'veth' so NetworkManager ignores them
2015-12-16 10:34:32 +00:00
Bryan Boreham
d8cfbc4e08
Launch the proxy via unix socket in last test
...
- proxy copies permissions from $DOCKER_HOST socket if available, so in
this case it was not accessible because we were booting via a TCP
socket
2015-12-16 10:14:44 +00:00
Paul Bellamy
88fad251aa
add test for proxy against docker on non-standard unix socket
...
Means we need to rebuild the gce images
(also small improvement re tmpdir)
2015-12-16 10:14:15 +00:00
Bryan Boreham
1a1d8b7c74
Prefix interface names with 'veth' so NetworkManager ignores them
2015-12-16 10:01:57 +00:00