This website requires JavaScript.
ba8926a6ea
Persist set of peers to connect to
Bryan Boreham
2016-02-12 10:53:23 +00:00
09cd9e091a
Merge branch '1.4'
Matthias Radestock
2016-02-16 14:09:06 +00:00
17d53af2a2
improve logging of dns entry creation
Matthias Radestock
2016-02-16 14:04:34 +00:00
2d4d3577ba
Merge pull request #1971 from weaveworks/issues/678-persist-ipam2
Adam Harrison
2016-02-15 10:15:53 +00:00
546f9592f9
Hard-fail on persistence errors, otherwise the network can get confused on a restart. Create Allocator.fatalf(), for consistency
Bryan Boreham
2016-02-12 13:36:38 +00:00
06f3793f05
Remove persisted IPAM ring data on peerName change
Bryan Boreham
2016-02-12 10:19:07 +00:00
f396c60402
Persist the Ring
Bryan Boreham
2016-02-12 09:00:30 +00:00
ad036499eb
Add db infra to IPAM
Bryan Boreham
2016-02-12 08:46:47 +00:00
38c6eb28e8
Add basic infrastructure to use BoltDB for persistence
Bryan Boreham
2016-02-12 08:23:51 +00:00
11e2515f70
Merge pull request #1968 from weaveworks/refactor-veth-creation
Matthias Radestock
2016-02-10 13:49:13 +00:00
c79e036c08
Merge pull request #1966 from weaveworks/issues/1965-fix-local-weave-ps
Matthias Radestock
2016-02-09 22:40:36 +00:00
7a19c2f147
add a test
Matthias Radestock
2016-02-09 22:11:00 +00:00
4cee647e73
Make weaveutil container-addrs observe $PROCFS
Adam Harrison
2016-02-09 17:49:09 +00:00
7ea3299dc6
oops
Matthias Radestock
2016-02-09 22:05:11 +00:00
5707581ba3
Merge pull request #1964 from weaveworks/weave-veth-cleanup
Matthias Radestock
2016-02-09 21:11:27 +00:00
264d5e4828
Make attach-bridge iptables rule insertion idempotent
Adam Harrison
2016-02-09 17:13:20 +00:00
9311294d9c
"refactor" veth creation
Matthias Radestock
2016-02-09 19:22:14 +00:00
2bfc86e7b2
Cleanup attach-bridge iptables rule
Adam Harrison
2016-02-09 16:51:04 +00:00
36ee8bacb0
Remove all vethwe* interfaces in reset
Adam Harrison
2016-02-09 16:40:12 +00:00
1bb1108b91
tiny refactor: use ${CONTAINER_IFNAME} for name construction
Matthias Radestock
2016-02-09 16:40:58 +00:00
a77201bf77
Merge pull request #1955 from weaveworks/weave-attach-bridge
Matthias Radestock
2016-02-09 15:45:28 +00:00
a3d842bf4a
Implement attach-bridge
Adam Harrison
2016-02-04 17:24:57 +00:00
43eb70193b
Merge branch '1.4'
Adam Harrison
2016-02-09 11:40:14 +00:00
1228dbddb9
Add release v1.4.4
v1.4.4
Adam Harrison
2016-02-09 11:20:51 +00:00
a401d0d6ea
Merge branch '1.4'
Adam Harrison
2016-02-09 10:53:52 +00:00
c00b00d623
Merge pull request #1963 from weaveworks/issues/1959-dont-remove-network
Adam Harrison
2016-02-09 10:53:13 +00:00
7bbc9f1b82
Don't remove the weave network on shutdown because it bricks Docker 1.10
Bryan Boreham
2016-02-09 10:02:06 +00:00
6252871e93
Merge branch '1.4'
Matthias Radestock
2016-02-09 09:30:19 +00:00
15a92f9c92
Merge pull request #1961 from weaveworks/issues/1956-any-iface
Matthias Radestock
2016-02-09 09:29:05 +00:00
9386c01845
Wait for multicast route on any interface, to match weave script which only adds a route if there isn't one already
Bryan Boreham
2016-02-08 14:04:25 +00:00
6d1e33b558
Merge pull request #1957 from weaveworks/issues/1949-ring-errors
Adam Harrison
2016-02-08 13:52:59 +00:00
ed3c50f43e
Merge pull request #1951 from weaveworks/issues/1940-remove-proxy-dockerbridgeip-dep
Bryan Boreham
2016-02-08 11:05:10 +00:00
9ac62e8005
Extract common getenv-testing code
Bryan Boreham
2016-02-08 10:46:18 +00:00
034da376c4
Make error messages on ring merge clearer
Bryan Boreham
2016-02-05 17:52:16 +00:00
10fbc75997
Merge pull request #1922 from weaveworks/issues/1179-its-alive
Matthias Radestock
2016-02-05 16:36:28 +00:00
98d76e1099
Merge pull request #1941 from weaveworks/issues/1873-check-running-master
Matthias Radestock
2016-02-04 16:50:50 +00:00
f2a1b3829d
tweak: consistency
Matthias Radestock
2016-02-04 16:19:29 +00:00
e47c4a78f0
Merge pull request #1948 from weaveworks/test-claimforpeers
Matthias Radestock
2016-02-04 15:31:00 +00:00
f9f6649f90
Check some ring entries via AllRangeInfo, to improve coverage
Bryan Boreham
2016-02-04 12:27:58 +00:00
a5c9898884
Checking for existing entries is pointless when the Ring starts empty
Bryan Boreham
2016-02-04 11:12:59 +00:00
839eb28310
Unit test for ring.ClaimForPeers
Bryan Boreham
2016-02-02 13:51:13 +00:00
e2ec2b436d
Use netlink instead of shelling out to weave docker-bridge-ip
Adam Harrison
2016-02-04 11:12:48 +00:00
07b79568dd
Resurrect apparently-dead containers on ContainerStarted event
Bryan Boreham
2016-01-22 12:37:55 +00:00
1d3c80ab49
Merge pull request #1944 from weaveworks/issues/1940-remove-proxy-weaveps-dep
Bryan Boreham
2016-02-04 13:45:58 +00:00
38013d2f41
Kill zombies
Bryan Boreham
2016-02-04 12:52:16 +00:00
65c48707f6
Use netlink instead of shelling out to weave ps
Adam Harrison
2016-02-01 14:44:08 +00:00
415e550f86
Merge pull request #1930 from weaveworks/issues/1746-always-use-host-netns
Adam Harrison
2016-02-04 12:50:08 +00:00
034d8933c0
make multiweave work with weave running in the host netns
Adam Harrison
2016-01-26 16:40:14 +00:00
cf24bb0e89
remove weaveapi.NewClientWithResolver cruft
Matthias Radestock
2016-02-03 11:56:50 +00:00
ae725e333a
make plugin pay attention to WEAVE_HTTP_ADDR
Matthias Radestock
2016-02-03 11:54:05 +00:00
dde244160b
make proxy pay attention to WEAVE_HTTP_ADDR
Matthias Radestock
2016-02-03 11:28:38 +00:00
fdd006022d
make weave control address configurable
Matthias Radestock
2016-02-02 20:01:59 +00:00
1e01a31939
Support --host argument to weave launch
Adam Harrison
2016-01-26 16:38:54 +00:00
4117ef0c50
Fix WEAVE_NO_FASTDP test on GCE
Adam Harrison
2016-01-27 17:23:59 +00:00
e3c19d6414
get rid of container_ip
Matthias Radestock
2016-02-02 19:55:26 +00:00
b1e6bc2929
Always use host netns
Matthias Radestock
2016-02-02 19:28:44 +00:00
feee4f0494
refactor: make proxy use weave/api
Matthias Radestock
2016-02-02 20:45:30 +00:00
34ab86124b
fix typo
Matthias Radestock
2016-02-02 20:31:38 +00:00
f37eb4b77d
Merge branch '1.4'
Adam Harrison
2016-02-02 16:52:20 +00:00
5232a9af6b
Add release v1.4.3
v1.4.3
Adam Harrison
2016-02-02 16:35:32 +00:00
90795e5446
Merge branch '1.4'
Adam Harrison
2016-02-02 16:04:49 +00:00
c393b23b31
Merge pull request #1918 from weaveworks/issues/1906-plugin-no-weave
Adam Harrison
2016-02-02 15:54:39 +00:00
6bebce0b5a
tiny refactor
Matthias Radestock
2016-02-02 14:03:01 +00:00
71da517e88
Refactor to collect all code that touches alloc.owned
Bryan Boreham
2016-01-22 17:15:01 +00:00
faa7bad8d8
refactor with_container_netns
Matthias Radestock
2016-02-02 13:37:17 +00:00
710c13ced9
correct typo in comment
Matthias Radestock
2016-02-02 13:02:33 +00:00
6bd8da905e
Refactor: uniform use of weave_container_addresses
Adam Harrison
2016-02-02 11:30:36 +00:00
839f534350
Merge branch '1.4'
Adam Harrison
2016-02-01 15:30:51 +00:00
955fbca44a
Merge pull request #1943 from weaveworks/1942-mcast-iface-up
Adam Harrison
2016-02-01 15:29:46 +00:00
18c26e9fbb
don't set the interface 'up' before it is fully configured
Matthias Radestock
2016-02-01 12:04:15 +00:00
0a4b3a04ba
Wait for plugin status via unix socket
Bryan Boreham
2016-01-29 18:01:17 +00:00
78f2d82984
Extract function to listen on Unix socket
Bryan Boreham
2016-01-29 17:25:37 +00:00
f8fa37c895
Merge branch '1.4'
Matthias Radestock
2016-01-30 11:16:30 +00:00
b54efbde69
fix typo in comment
Matthias Radestock
2016-01-30 11:15:57 +00:00
c2a869491f
Check State.Restarting as well as State.Running
Bryan Boreham
2016-01-11 14:21:08 +00:00
a750ef8033
Don't check if container is running when we only want its ID. This avoids trying to decide if "restarting" is as good as "running". In wait_for_status we now explitly check_running, and in dns_add/remove we add an extra check_running test.
Bryan Boreham
2016-01-11 16:29:00 +00:00
30fef10afa
Merge remote-tracking branch 'upstream/master'
Matthias Radestock
2016-01-29 16:08:00 +00:00
2e9c1ee046
Merge branch '1.4'
Matthias Radestock
2016-01-29 16:07:20 +00:00
81c49e6005
Merge pull request #1938 from weaveworks/issues/1827-stopped-version
Adam Harrison
2016-01-29 15:57:15 +00:00
11ccada740
Merge pull request #1939 from weaveworks/issues/1937-dont-rm
Adam Harrison
2016-01-29 15:47:40 +00:00
be9d64b2cc
Merge pull request #1936 from weaveworks/issues/1934-rm-socket
Matthias Radestock
2016-01-29 15:46:24 +00:00
b2c9802aa2
Merge branch '1.4'
Matthias Radestock
2016-01-29 15:25:50 +00:00
c6f356a167
Merge pull request #1935 from weaveworks/issues/1757-volumes-container
Matthias Radestock
2016-01-29 15:24:42 +00:00
5fbceb0f78
Merge pull request #1777 from weaveworks/remove-plugin-nameserver-option
Adam Harrison
2016-01-29 15:24:04 +00:00
3c6211f9f2
Don't rm old containers, in case we want the log
Bryan Boreham
2016-01-29 15:07:14 +00:00
b9502ee1cd
Check if container is running before using its image to ask for version
Bryan Boreham
2016-01-29 14:43:02 +00:00
4f97b3ac85
Merge pull request #1916 from weaveworks/issues/1734-fixed-ip
Adam Harrison
2016-01-29 14:22:23 +00:00
e4828ad30a
Remove 'nameserver' option
Bryan Boreham
2015-12-07 13:25:05 +00:00
20dab1f8fe
Merge branch '1.4'
Matthias Radestock
2016-01-29 12:46:08 +00:00
eae45ebc94
Merge pull request #1921 from weaveworks/issues/1745-plugin-ps
Matthias Radestock
2016-01-29 12:45:10 +00:00
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.
Bryan Boreham
2016-01-29 12:22:22 +00:00
3297b93edb
Smoke-test 'weave ps' and restarting when using plugin
Bryan Boreham
2016-01-27 16:41:38 +00:00
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.
Bryan Boreham
2016-01-21 16:24:30 +00:00
1cea9c1c87
Extract function to detect container running in host namespace
Bryan Boreham
2016-01-21 16:24:01 +00:00
3320a9e7d4
Re-organise code so we can clean up using defer and return error codes to top level
Bryan Boreham
2016-01-29 11:41:24 +00:00
9b90a938f5
Remove Unix domain sockets on shutdown
Bryan Boreham
2016-01-28 18:26:34 +00:00
c0ece16881
Don't need to rm the network here because 'weave reset' does it
Bryan Boreham
2016-01-28 17:49:00 +00:00
95a4ca8e3e
Merge branch '1.4'
Matthias Radestock
2016-01-28 17:51:20 +00:00
c6d0149ba6
add missing dependency
Matthias Radestock
2016-01-28 17:50:26 +00:00
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.
Bryan Boreham
2015-12-08 18:17:27 +00:00