Bryan Boreham
f29716387f
Persist the 'owned' address set
2016-03-02 11:35:24 -08:00
Adam Harrison
71af1f3120
Merge pull request #1972 from weaveworks/persist-peers
...
Persist set of peers to connect to
2016-02-29 15:54:54 +00:00
Bryan Boreham
436f8ef7c8
Compare the environment so we can detect a change in password
2016-02-26 23:41:57 +00:00
Bryan Boreham
65f435f042
Smoke-test for restarts
2016-02-26 23:41:57 +00:00
Tom Wilkie
6ff7419981
Review feedback
2016-02-26 15:35:12 +00:00
Bryan Boreham
b064bcce49
Log when command-line peer list overridden by persisted list
...
Reworked interface to router so we split setting up the initial list
from beginning to make connections - we shouldn't do that until
after router.Start().
2016-02-19 14:29:33 +00:00
Bryan Boreham
f396c60402
Persist the Ring
2016-02-12 18:12:26 +00:00
Matthias Radestock
7a19c2f147
add a test
2016-02-09 22:26:01 +00:00
Adam Harrison
4117ef0c50
Fix WEAVE_NO_FASTDP test on GCE
2016-02-02 20:48:49 +00:00
Adam Harrison
839f534350
Merge branch '1.4'
2016-02-01 15:30:51 +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
b2c9802aa2
Merge branch '1.4'
2016-01-29 15:25:50 +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
20dab1f8fe
Merge branch '1.4'
2016-01-29 12:46:08 +00:00
Bryan Boreham
3297b93edb
Smoke-test 'weave ps' and restarting when using plugin
2016-01-29 12:13:00 +00:00
Bryan Boreham
c0ece16881
Don't need to rm the network here because 'weave reset' does it
2016-01-28 17:55:27 +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
d220379ad3
Merge branch '1.4'
2016-01-26 16:57:28 +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
a64435a9a5
Adjust tests to accomodate docker/docker#14012
2016-01-21 17:28:54 +00:00
Matthias Radestock
d5bfc61a73
use hashicorp's wily64 images instead of ubuntu's
...
The latter suffer from https://github.com/mitchellh/vagrant/issues/6653
2016-01-21 11:08:14 +00:00
Adam Harrison
2a2b2da097
Update Vagrant to use Wily 15.10
2016-01-20 09:17:07 +00:00
Tom Wilkie
c098aefed9
Build in a container by default, using go 1.5 and vendored dependancies.
...
- Use submodules for vendoring.
- Don't go clean, now that everything is in .pkg.
- sudo -E as we need the environment variables.
- Install -race version of std so the tests can run without sudo.
- Cache the build image on circle, use the rebuild-image script from tools.
2016-01-13 04:40:18 -08:00
Bryan Boreham
e468399616
Extend the timeout for dead containers to 30 seconds,
...
but remove them if they are destroyed, to reduce starvation
when users are creating and destroying containers quickly.
2016-01-12 14:38:44 +00:00
Bryan Boreham
7985e43e68
Add 'weave restart' command
2016-01-12 14:38:44 +00:00
Bryan Boreham
f84b933d7c
Leave container allocations for a time after death
...
so they will be reclaimed if the container is restarted.
Still cancel pending operations immediately a container dies
2016-01-12 14:38:44 +00:00
Bryan Boreham
604f5c599a
Check if there are any machines to destroy, and stop masking failures
2016-01-07 13:40:34 +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
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
3043217b2c
Extend --no-multicast-route test to plugin
2015-12-16 12:17:25 +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
1539009362
Simple smoke-test for 'local' plugin network
2015-12-15 16:47:33 +00:00
Bryan Boreham
9542b77a34
Extend smoke-test framework for weaveplugin
2015-12-15 16:47:33 +00:00
Bryan Boreham
c973808b20
Merge pull request #1758 from weaveworks/issues/82-optional-encryption
...
Make encryption optional; fixes #82 , #1788 . LGTM.
2015-12-15 15:23:58 +00:00
Adam Harrison
85d4b1f137
Smoke test trusted subnets
2015-12-14 12:13:16 +00:00
Adam Harrison
96f69583e7
Smoke test --no-multicast-route
2015-12-14 11:53:06 +00:00
Bryan Boreham
68d6c262d1
Remove --with-dns option from proxy
2015-12-12 14:12:39 +00:00
Adam Harrison
d0be36dc9b
Merge branch '1.3'
...
Conflicts:
Makefile
2015-12-08 16:53:47 +00:00
Bryan Boreham
c981cff450
Move build of test/tls program into Makefile so it builds in the build container
2015-12-08 16:14:53 +00:00
Paul Bellamy
cd7c88e5a5
[proxy] Symlink sockets to /var/run/weave/weave.sock from inside the proxy
...
We copy docker.sock owner to symlinks. Permissions are not copied,
because the permissions will inherit from the target.
use versioned exec image to create symlinks
2015-11-30 15:45:30 +00:00
Paul Bellamy
0f9b117744
Connect to gce boxes as vagrant so we can access docker unix socket
2015-11-20 16:54:41 +00:00
Paul Bellamy
3bae4b0d93
Revert "Automatically symlink /var/run/*.sock sockets to /var/run/weave/*.sock"
2015-11-20 16:23:40 +00:00
Adam Harrison
1432bd7a81
Merge pull request #1696 from weaveworks/1694-symlink-into-var-run
...
Automatically symlink /var/run/*.sock sockets to /var/run/weave/*.sock
2015-11-20 16:23:12 +00:00
Bryan Boreham
bbf26fc3e8
Raise minimum Docker version to 1.6 to address #1683
2015-11-20 10:44:45 +00:00
Paul Bellamy
33648b083c
SSH into test vms on gce as 'vagrant' user
2015-11-19 14:10:52 +00:00
Paul Bellamy
77bc22baf5
[proxy] Auto-symlink /var/run/*.sock in from /var/run/weave/*.sock
...
Avoids the obscure warning for users
2015-11-17 17:25:21 +00:00
Paul Bellamy
f57988761c
Revert "Revert "Merge pull request #1580 from weaveworks/1579-launch-proxy-mount-h""
...
This reverts commit 7987d09438 .
2015-11-17 17:15:28 +00:00