Bryan Boreham
302d412530
Merge pull request #2158 from weaveworks/issues/2147-dont-nat-cast
...
Add iptables rule excluding multicast from NAT on 'weave expose'
2016-04-18 17:14:29 +01:00
Bryan Boreham
d3635eed77
Need to mock-gossip from the end of the chain
2016-04-18 14:06:38 +01:00
Bryan Boreham
d3be3d8912
Remove outdated comment
2016-04-18 10:53:55 +01:00
Bryan Boreham
a6e0226189
Merge pull request #2182 from weaveworks/2180-test-transfer-1.4
...
fix simulation of periodic gossip in TestTransfer
2016-04-18 10:52:28 +01:00
Matthias Radestock
c0c5906d07
fix simulation of periodic gossip in TestTransfer
...
`GossipBroadcast` in the `TestRouter` only goes one hop. In
`TestTransfer` the three peers are connected in a chain, and hence we
need to take extra care to ensure propagation to all peers.
Fixes #2180 .
2016-04-16 10:11:06 +01:00
Bryan Boreham
045edcca2f
Add iptables rule excluding multicast from NAT on 'weave expose'
2016-04-13 12:05:24 +01:00
Matthias Radestock
d4fb739981
Merge pull request #2151 from weaveworks/issues/2140-fqdn-trailing-dot
...
Remove trailing dot from FQDN
Fixes #2140
2016-04-11 15:39:48 +01:00
Martynas Pumputis
a4062bd15c
Remove trailing dot from FQDN
...
As it is described in #2140 , the trailing dot might appear
when starting a container via "weave run".
2016-04-11 11:17:36 +01:00
Bryan Boreham
26bd1b5787
Specify /dev/null stdin for netcat, to avoid inconsistency in Docker 1.11
2016-04-08 17:48:08 +01:00
Matthias Radestock
28e0b14220
Merge pull request #2128 from weaveworks/issues/2109-skip-empty-json
...
Don't attempt to parse JSON payload if it is 0 bytes long.
Fixes #2109 .
2016-04-05 17:24:37 +01:00
Matthias Radestock
53ba2f0aff
rename test so it actually gets run
2016-04-05 17:07:07 +01:00
Matthias Radestock
4f1d87f893
Merge pull request #2126 from weaveworks/2090-delay-start
...
Delay notifying observers about 'start' events
Fixes #2090 . Partially addresses #1775 .
2016-04-05 16:48:20 +01:00
Bryan Boreham
66c92fe075
Don't attempt to parse JSON payload if it is 0 bytes long.
...
Also added a test to trigger this.
2016-04-05 16:47:11 +01:00
Bryan Boreham
ebc5dcb4bb
Delay notifying observers about 'start' events
...
...until the container has a pid, or we see the same container die.
This is to work around https://github.com/docker/docker/issues/18574
Fixes #2090 . Partially addresses #1775 .
2016-04-05 16:20:07 +01:00
Adam Harrison
6e04ccf677
Merge pull request #2101 from weaveworks/2099-no-dns
...
make `weave dns-args` and `weave run` work with `--no-dns`
2016-03-29 11:44:12 +01:00
Matthias Radestock
cc75b084d8
Merge branch 'latest_release_doc_updates' into 1.4
2016-03-29 05:36:59 +01:00
Matthias Radestock
bd9314939b
correct weave status proxy output
2016-03-29 05:36:11 +01:00
Matthias Radestock
cc06a2d8ab
Merge branch 'latest_release_doc_updates' into 1.4
2016-03-28 17:24:51 +01:00
Matthias Radestock
1dd2cdf7a9
fix dns load balancing example
2016-03-28 17:24:08 +01:00
Matthias Radestock
b2a484d5f0
refactor: inline
2016-03-28 14:17:54 +01:00
Matthias Radestock
8472272afe
refactor(ish): bail early if weaveDNS is disabled
2016-03-28 14:10:31 +01:00
Matthias Radestock
648632d5ac
add a test for working with --no-dns
2016-03-28 14:07:48 +01:00
Matthias Radestock
ea3456756d
make weave dns-args and weave run work with --no-dns
...
...rather than exploding
i.e. the former returns nothing and the latter leaves naming related
container settings untouched, just like happens in the proxy and
plugin.
Fixes #2099 .
2016-03-28 14:04:07 +01:00
Matthias Radestock
a1381fe0cf
add --no-dns to usage
...
Closes #1687 .
2016-03-28 12:49:31 +01:00
Matthias Radestock
3baf8058ed
Merge branch 'latest_release_doc_updates' into 1.4
2016-03-28 12:48:36 +01:00
Matthias Radestock
daf92d8e08
document --no-dns
...
Part of #1687 .
2016-03-28 12:46:58 +01:00
Matthias Radestock
abd138026b
cosmetic: identation
2016-03-28 11:10:36 +01:00
Bryan Boreham
88d115aab1
Merge pull request #2098 from weaveworks/2097-fail-on-attach-errors
...
fail plugin operation on bridge attachment error
2016-03-24 17:16:55 +00:00
Matthias Radestock
fce954192c
fail plugin operation on bridge attachment error
...
Fixes #2097 .
2016-03-24 17:01:15 +00:00
Adam Harrison
6c0075ab82
Add release v1.4.6
v1.4.6
2016-03-23 17:37:21 +00:00
Matthias Radestock
ae0a4fef50
Merge pull request #2092 from weaveworks/issues/2083-error-not-panic
...
Change invariant fail on Merge() from panic to error
Fixes #2083 .
2016-03-23 16:38:52 +00:00
Matthias Radestock
8360024e06
Merge pull request #2088 from weaveworks/issues/2087-leave-direct-targets
...
Don't delete targets that seem invalid if they are 'direct' targets
Fixes #2087 .
2016-03-23 16:22:08 +00:00
Bryan Boreham
2e4d56efd6
Suspend connecting to targets that seem invalid, if they are 'direct' targets.
...
Introduce TargetSuspended state to reflect this.
2016-03-23 15:36:55 +00:00
Bryan Boreham
6bc199a8bc
Change invariant fail on Merge() from panic to error
2016-03-23 15:26:26 +00:00
Matthias Radestock
537868008f
make linter happy
2016-03-22 16:28:25 +00:00
Matthias Radestock
1664fce9d1
Merge pull request #2081 from weaveworks/issues/2023-override-stale-dns
...
Override stale dns entries received via gossip
Fixes #1867 and #2023 .
2016-03-22 13:47:17 +00:00
Bryan Boreham
c2cf825cdf
Smoke test for stale DNS entries
2016-03-22 12:57:07 +00:00
Bryan Boreham
38a79b7f59
Pick entry with newer tombstone to merge
2016-03-22 12:57:07 +00:00
Bryan Boreham
010766fe9e
Check entries claiming to originate from us against our current data, and override if necessary
2016-03-22 12:57:07 +00:00
Matthias Radestock
6b33f4215b
Merge branch 'latest_release_doc_updates' into 1.4
2016-03-21 15:53:18 +00:00
Matthias Radestock
cc43782d87
Merge pull request #2080 from weaveworks/issues/2061-correct-weave-status
...
Correct IPAM state docs
Fixes #2061 .
2016-03-21 15:49:03 +00:00
Adam Harrison
c2eb900dd3
Correct IPAM state docs
2016-03-21 15:33:37 +00:00
Bryan Boreham
001322751f
Don't hold Nameserver lock over call out via isKnownPeer
2016-03-21 11:52:13 +00:00
Bryan Boreham
b1ec2b788a
Bump template name so it will fetch latest Docker
2016-03-19 14:12:17 +00:00
Matthias Radestock
f42e275884
broadcast ipam ring update after rmpeer
...
So that other peers notice the change more promptly.
Fixes #2068 .
2016-03-19 13:57:20 +00:00
Matthias Radestock
5dfd104728
reduce docker event subscription retry max interval
2016-03-18 19:29:21 +00:00
Bryan Boreham
9c096526b8
Merge pull request #2049 from weaveworks/issues/2016-retry-docker-event-subscription
...
Retry docker event subscription
2016-03-16 14:38:27 +00:00
Adam Harrison
922f465ecb
Reset retry interval if we spent long enough processing events
2016-03-16 13:41:18 +00:00
Adam Harrison
08e9db900a
Retry docker event subscription
2016-03-16 09:23:32 +00:00
Adam Harrison
30b9d33276
Adjust tests to accomodate docker/docker#14012
2016-03-02 11:59:10 +00:00