Bryan Boreham
f5cd7b5073
Remove 'make update' from release process now we vendor dependencies
2016-05-26 16:10:07 +00:00
Bryan Boreham
cda1084777
Check validity of IP subnets
...
Be more consistent about this - check in the same way whether at startup
or during allocation.
2016-05-26 14:31:17 +00:00
Bryan Boreham
fd257f43d1
Don't release fake gateway address
...
Watch out for Docker releasing the fake gateway address we create when
the network is set up, and don't pass it on to Weave IPAM.
2016-05-26 12:30:03 +00:00
Bryan Boreham
f695b3fd17
Smoke-test CNI arp update
2016-05-25 12:05:20 +01:00
Bryan Boreham
ede00047db
Send out arp update from CNI plugin
2016-05-25 12:05:20 +01:00
Bryan Boreham
56145ba518
Merge pull request #2311 from weaveworks/issues/2306-proxy-swarm-pending
...
Flush chunked response header immediately; fixes #2306 .
2016-05-24 10:36:09 +01:00
Bryan Boreham
5ed18994cd
Send error messages about incompatible bridge settings to stderr
2016-05-19 15:58:15 +01:00
Bryan Boreham
bc79a9187f
Protect against Docker hanging trying to talk to a non-existent plugin
...
Remove the Unix socket from the filesystem before doing volume
operations, if the plugin is not running.
2016-05-12 15:40:04 +00:00
Bryan Boreham
6c7f860418
Merge pull request #2278 from weaveworks/issues/fix-320-claim-test
...
Fix 320_claim_3_test.sh
2016-05-12 11:59:14 +01:00
Bryan Boreham
4ff574744e
Use ubuntu:trusty to ensure 'nc' is available
2016-05-12 09:53:29 +00:00
Bryan Boreham
16b75f899e
Move sleep on reset from IPAM Allocator to weave script
2016-05-10 16:03:08 +01:00
Bryan Boreham
c3abe4f7b2
If we don't have a ring, just ignore a request for space.
2016-05-10 15:33:13 +01:00
Bryan Boreham
f800813031
Test claim as first operation
2016-05-10 15:32:15 +01:00
Bryan Boreham
e49bbe176d
Make clear that we want the same universe throughout the test
2016-05-10 13:32:56 +01:00
Bryan Boreham
3963d4453a
Remove mention of obsolete branch latest_release_doc_updates
2016-05-09 15:48:05 +01:00
Bryan Boreham
ce5d2a6dd0
Add release v1.5.1
2016-05-09 15:16:21 +01:00
Bryan Boreham
a2e301c648
Merge pull request #2263 from weaveworks/issues/1876-weave-status-ipam-docs
...
Document `weave status ipam`. Fixes #1876 .
2016-05-09 14:56:59 +01:00
Bryan Boreham
0425d5bf6a
Removed duplicated 'name'
2016-05-09 14:45:43 +01:00
Bryan Boreham
2fa576f3c0
Merge pull request #2265 from weaveworks/issues/2232-block-claim
...
Make claim block if the IPAM ring is not established. Fixes #2232
2016-05-09 14:37:37 +01:00
Bryan Boreham
469d456c8b
Smoke-test for container restart with proxy attach failure
2016-05-09 11:19:19 +01:00
Bryan Boreham
8d71467802
Kill process instead of container, on container restart.
...
When Docker restarts a container and something goes wrong attaching
the network, kill the process inside the container instead of killing
the container, so that Docker will restart it again
2016-05-06 18:02:11 +01:00
Bryan Boreham
01e3d1d81b
Refactor: extract kill_container function
2016-05-06 15:45:54 +01:00
Bryan Boreham
7fcd837277
Cosmetic
2016-05-06 12:45:54 +01:00
Bryan Boreham
5993b3e846
Refactor: extract function to look up waiting channel for container
2016-05-06 12:45:03 +01:00
Bryan Boreham
e16a4aa97a
Document adding a route on non-Weave hosts
2016-05-06 11:13:15 +01:00
Bryan Boreham
12fa345d10
Punctuation
2016-05-06 11:10:34 +01:00
Bryan Boreham
11c368531a
Add --log-level to weave usage message, and document it and a couple of
...
other options on the proxy.
2016-05-05 12:44:40 +00:00
Bryan Boreham
fbb6e58b4f
Add a section explaining WEAVE_MTU for fastdp ( #2253 )
...
Add a section explaining WEAVE_MTU for fastdp
Fixes #2198
2016-05-05 12:06:13 +01:00
Bryan Boreham
87b61419f3
Move plugin arguments from separate doc into main plugin doc and add table of contents with sub-heading anchors
2016-05-04 14:44:10 +01:00
Bryan Boreham
503546d2a9
Return DNS no-error with empty answer if we have a matching name
...
but the query is for a record type we don't support.
2016-05-03 17:33:51 +01:00
Bryan Boreham
3252a25e00
Broadcast initial ring after persisting it, in case we die between those operations
2016-05-03 17:23:00 +01:00
Bryan Boreham
6847a3551d
Persist the ring in Shutdown() and AdminTakeoverRanges().
...
Also make AdminTakeoverRanges cause pending ops to be retried.
2016-05-03 17:23:00 +01:00
Bryan Boreham
70bd0ade45
Identifier "_" is address, not cidr
2016-05-03 15:47:45 +01:00
Bryan Boreham
8405e0759a
Clarify the function of the periodic ticker.
...
- it either retries for consensus or retries operations we would have tried previously.
There is no point retrying pending operations if we are waiting for consensus.
2016-05-03 15:13:20 +01:00
Bryan Boreham
5ac8cc74d3
Refactor nested if-statements as switch
2016-05-03 13:52:36 +01:00
Bryan Boreham
f6966548eb
Delete persisted data when IPAM range changes
2016-05-03 13:20:04 +01:00
Bryan Boreham
fb3ed9c1a6
Re-organise checking of persisted data so the failure paths bail out
...
of the function first.
Also bail out if there is no persisted ring, since persisted 'owned'
data isn't meaningful in that state.
2016-05-03 13:20:04 +01:00
Bryan Boreham
61fc5d56fb
Refactor: move initialisation in the case that we don't use persisted data
...
out from loadPersistedData().
2016-05-03 13:20:04 +01:00
Bryan Boreham
e96b68f0aa
Don't use persisted data until we are sure it matches
2016-05-03 13:20:04 +01:00
Bryan Boreham
393fa3a333
Remove obsolete option and add --no-restart option
2016-04-29 19:49:21 +00:00
Bryan Boreham
9ce229ba3a
Merge pull request #2202 from weaveworks/issues/1482-update-test320
...
Update test 320 to cope with persistence
2016-04-28 10:21:57 +01:00
Bryan Boreham
0e655a2bbd
Remove plugin-connected containers before end of test, to avoid delaying later cleanup.
...
Also use a shorter sequence to exclude the plugin when removing other containers.
2016-04-26 15:42:35 +01:00
Bryan Boreham
d2450aae1c
Merge pull request #2204 from weaveworks/issues/2193-dns-leak
...
Fixes #2123 : Use ContainerID when restarting a container
2016-04-22 14:36:17 +01:00
Bryan Boreham
76f9afb59c
Removed errant spaces on bullets
2016-04-21 17:45:52 +01:00
Bryan Boreham
192fbe3a53
Update test 320 to cope with persistence
2016-04-21 16:19:59 +01:00
Bryan Boreham
2f5a3f4513
Remove db-prefix now that persistence is in a volume
2016-04-21 14:32:45 +01:00
Bryan Boreham
c984ec1e86
Fix port number in docs, and add to FAQ
2016-04-20 12:41:54 +01:00
Bryan Boreham
061d2b123f
Add weavedb to the images pulled by 'weave setup'
2016-04-20 11:53:10 +01:00
Bryan Boreham
5b72142aa3
Fix broken fastdp links
2016-04-19 15:21:49 +01:00
Bryan Boreham
476d2fee09
Update plugin docs for restarts
2016-04-19 15:09:53 +01:00
Bryan Boreham
b95c559564
Document --no-restart
2016-04-19 15:09:31 +01:00
Bryan Boreham
cfdba71f90
Document IPAM persistence
...
Remove statement that nothing is persisted in IPAM
2016-04-19 13:45:49 +01:00
Bryan Boreham
8ac90c693d
Move video up, fix guide link and remove stray bracket
2016-04-19 13:45:21 +01:00
Bryan Boreham
74546578ac
Move 'using weave' netcat example up a level
2016-04-19 13:45:21 +01:00
Bryan Boreham
88c6c17767
Minor improvements to docs
2016-04-19 13:38:10 +01:00
Bryan Boreham
f5223d754a
Add release v1.5.0
2016-04-19 12:03:44 +01:00
Bryan Boreham
278f7d8381
Move CNI up to top level
2016-04-18 18:15:32 +01:00
Bryan Boreham
d454e610f1
Move encryption out of top level
2016-04-18 18:00:09 +01:00
Bryan Boreham
4d06069138
Move IP Addressing overview under how-it-works and Configuring IP under Using Weave
2016-04-18 17:58:07 +01:00
Bryan Boreham
3f0a5d9e5d
Move systemd page out of top level
2016-04-18 17:55:00 +01:00
Bryan Boreham
85bda72038
Move fastdp pages out of top level
2016-04-18 17:54:51 +01:00
Bryan Boreham
1c7df2958a
Merge branch '1.4'
2016-04-18 17:15:37 +01:00
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
ca2e54c361
Renamed 'router-topology' to 'how-it-works'
2016-04-18 16:53:39 +01:00
Bryan Boreham
d32fc495c8
Merge branch '1.4'
2016-04-18 14:08:04 +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
8253d17529
Merge branch '1.4'
2016-04-18 10:58:39 +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
Bryan Boreham
b7b9322e33
Merge pull request #2178 from weaveworks/2177-multiweave-persistence
...
name db container after weave container
2016-04-18 10:31:09 +01:00
Bryan Boreham
5e4ab7f307
Plumb isContainer through Claim calls
2016-04-18 10:16:54 +01:00
Bryan Boreham
2b159b0c75
Pass checkAlive flag through as isContainer in Allocate
2016-04-18 10:16:54 +01:00
Bryan Boreham
984ba8a377
Extend 'owned' structure to store IsContainer flag
2016-04-18 10:13:09 +01:00
Bryan Boreham
01be916c37
Add test to expose problem deleting non-container IPs
...
and check dead containers are removed
2016-04-18 10:13:09 +01:00
Bryan Boreham
098be788ae
Merge pull request #2166 from weaveworks/optional-restart-policy
...
Optional restart policy
2016-04-15 17:45:54 +01:00
Bryan Boreham
4669da6074
Disable persistence of peer lists
2016-04-15 14:49:50 +01:00
Bryan Boreham
02516361c7
Merge pull request #2155 from weaveworks/issues/2065-rationalise-ipam-concepts
...
Rationalise IPAM concepts
2016-04-14 17:33:27 +01:00
Bryan Boreham
0eee97b988
Use regular persistence settings in test, since they now survive a restart
2016-04-13 16:08:41 +01:00
Bryan Boreham
358342aa4f
Use a data volume container for BoltDB files.
...
We provide a very small image to use for this container.
Also we add an empty weavedata.db file to weave image so it doesn't crash when run without volume override
2016-04-13 16:07:55 +01:00
Bryan Boreham
6b08f97910
Merge pull request #2131 from weaveworks/issues/2089-vsn-check
...
2089: Add info about new available versions to the `weave status` report
2016-04-13 12:20:57 +01:00
Bryan Boreham
045edcca2f
Add iptables rule excluding multicast from NAT on 'weave expose'
2016-04-13 12:05:24 +01:00
Bryan Boreham
6639353568
Lock round TestRouter map accesses, and copy the set where we may block.
2016-04-13 07:49:53 +01:00
Bryan Boreham
15bdf6cd2d
Rework CNI test so it uses the scriptlet
2016-04-11 16:00:49 +01:00
Bryan Boreham
4bd6de5995
Extract out CNI setup so we can call it from a test
2016-04-11 15:28:11 +01:00
Bryan Boreham
61b0d0ba9e
Merge pull request #2149 from weaveworks/stop-test-router
...
stop ipam tests from leaking routers
2016-04-11 13:34:21 +01:00
Bryan Boreham
c10d26cf02
Fix up TestBootstrap after consensus changes
2016-04-11 13:20:54 +01:00
Bryan Boreham
ecf1887e5b
Initialize Paxos quorum to 0 until this node needs to request consensus.
...
With a 0 quorum we will participate in voting, but will not actively
try to form a ring.
2016-04-11 11:42:24 +01:00
Bryan Boreham
c6e8f54fe7
Add CNI plugin to description
2016-04-11 11:31:25 +01:00
Bryan Boreham
737b0e0504
Two different configs; ensure weave-ipam driver works when named
2016-04-08 17:59:23 +01:00
Bryan Boreham
16e5032528
Merge branch '1.4'
2016-04-08 17:48:33 +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
Bryan Boreham
13f3ff15bd
Sanity-check ipam args to make diagnosis easier
2016-04-08 15:18:08 +01:00
Bryan Boreham
e88e67f02c
Bind-mount docker socket for CNI plugin scripts
2016-04-08 15:16:54 +01:00
Bryan Boreham
aad5b4dd7e
Document observer status
2016-04-07 13:16:15 +01:00
Bryan Boreham
c12a52d20e
Better log and status messages for Paxos observer
2016-04-07 12:50:52 +01:00
Bryan Boreham
0c59de40e7
Refactor Paxos status call to remove type assertion
2016-04-07 12:12:08 +01:00
Bryan Boreham
768e2a31fa
Re-hide output coming from stop, since it's generally uninteresting
2016-04-06 13:54:12 +01:00
Bryan Boreham
487392b99c
Immediately broadcast DNS records that "re-assert a peer's authority"
...
and enable test to check.
2016-04-06 13:35:07 +01:00
Bryan Boreham
a83359da7d
Update reboots section now we have --restart=always
2016-04-06 10:29:53 +01:00
Bryan Boreham
9c4b4ca35f
Remove recursive link
2016-04-06 10:02:57 +01:00