Bryan Boreham
f56d001703
Updated vendored libraries:
...
vendor/github.com/Sirupsen/logrus to latest release 0.10.0
vendor/github.com/appc/cni to latest master
vendor/github.com/boltdb/bolt to latest release 1.2.0
vendor/github.com/coreos/go-iptables to latest release 0.1.0
vendor/github.com/fsouza/go-dockerclient to latest master
vendor/github.com/docker/docker to latest release 1.11.0
vendor/github.com/docker/libnetwork to v0.7.0-dev.6 matching docker 1.11.0
vendor/github.com/docker/machine to latest release v0.7.0
vendor/github.com/google/gopacket to latest master
vendor/github.com/gorilla/context to latest release 1.1
vendor/github.com/gorilla/mux to latest release 1.1
vendor/github.com/hashicorp/go-cleanhttp to latest master
vendor/github.com/miekg/dns to latest master
vendor/github.com/opencontainers/runc to latest release 0.1.0
vendor/github.com/stretchr/testify unchanged at 1.1.3
vendor/github.com/vishvananda/netlink to latest master
vendor/github.com/vishvananda/netns to latest master
vendor/github.com/weaveworks/go-checkpoint unchanged; already at latest on master
vendor/github.com/weaveworks/go-odp to latest master
vendor/github.com/weaveworks/mesh to latest master
vendor/golang.org/x/crypto to latest master
2016-04-26 14:19:29 +01:00
Bryan Boreham
ee75d91756
Merge branch '1.5'
2016-04-22 14:37:25 +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
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
Bryan Boreham
934ec2467d
Eliminate race from call_weave; call check_running only after curl fails
2016-04-05 17:54:18 +01:00
Bryan Boreham
ff4d0dae70
Keep going if an IPAM claim errors
2016-04-05 17:54:18 +01:00
Bryan Boreham
ecb180c0c5
Ignore 404 from IP address claim when IPAM is disabled
2016-04-05 17:54:18 +01:00
Bryan Boreham
f01d91459b
Make http_call send error messages to stderr and return error codes,
...
and fix up all uses of this function.
2016-04-05 17:54:18 +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
Bryan Boreham
afff92c248
Merge pull request #2124 from weaveworks/idempotent-tombstone
...
make DNS tombstoning idempotent
2016-04-05 17:15:53 +02:00
Bryan Boreham
c38dcb1d73
Adapt to logging changes in weaveworks/mesh
2016-04-04 16:01:58 +01:00
Bryan Boreham
00fe47ba62
Update weaveworks/mesh to send gossip to restarted peer
2016-04-04 15:29:36 +01:00
Bryan Boreham
b7d49cdeb7
Merge pull request #2117 from weaveworks/2113-wait-for-dp
...
wait for datapath device to be ready
2016-04-01 12:13:21 +02:00
Bryan Boreham
9f13d28508
Merge pull request #2116 from weaveworks/plugin-coverage
...
add coverage to plugin
2016-04-01 12:01:25 +02: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
Bryan Boreham
aab86c38b7
Merge pull request #2093 from weaveworks/tools
...
Update tools to get misspell integration. Aho-Corasick FTW!
2016-03-24 14:09:45 +00:00
Bryan Boreham
adc038d8d1
Merge pull request #2095 from berlic/berlic-plugin-docker-args
...
Support custom docker args for weave-plugin
2016-03-24 12:53:10 +00:00
Bryan Boreham
cfa9b4f638
Assert that paxos quorum is set
2016-03-24 12:06:59 +00:00
Bryan Boreham
e6fd970920
Exclude retry-never peers from quorum
...
Note: includes update to latest version of weaveworks/mesh library.
2016-03-24 12:06:59 +00:00
Bryan Boreham
ad0a5477f9
Reverse order of 'start' and 'connect' in test so we don't hang waiting for consensus
2016-03-24 12:06:59 +00:00
Bryan Boreham
2b617633ae
Compute quorum based on the dynamic number of target peers
2016-03-24 12:06:59 +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
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
Bryan Boreham
001322751f
Don't hold Nameserver lock over call out via isKnownPeer
2016-03-21 11:52:13 +00:00
Bryan Boreham
4a2affabb5
Clean up so test will run again on same host
2016-03-19 16:35:45 +00:00
Bryan Boreham
09a6c2eda0
Get the owned ranges for test purposes via the actor loop, so we don't set off the race detector
2016-03-19 15:29:34 +00:00
Bryan Boreham
71ec252298
Merge pull request #2066 from weaveworks/2058-idempotent-rmpeer
...
make 'rmpeer' report on size of transferred range, and not fail
2016-03-19 15:10:58 +00:00
Bryan Boreham
b1ec2b788a
Bump template name so it will fetch latest Docker
2016-03-19 14:12:17 +00:00
Bryan Boreham
f11314ed3e
Introduce 'Count' type to avoid abusing 'Offset'
2016-03-19 11:47:34 +00:00
Bryan Boreham
e080f00354
Review feedback
2016-03-18 19:40:16 +00:00
Bryan Boreham
b00f0aee65
Check errors on test for root namespace
2016-03-18 19:39:52 +00:00
Bryan Boreham
88cb07203a
Improve name of cni_volume_options and include them when running the CNI plugin inside a container
2016-03-18 19:02:28 +00:00
Bryan Boreham
4903c2b23c
Remove unnecessary netns switch for router in attach_router,
...
and improve the name of the function which sends existing
container data into the router
2016-03-17 20:32:41 +00:00
Bryan Boreham
c8ca295cda
CNI plugin smoke test
2016-03-17 18:20:29 +00:00
Bryan Boreham
4e09889cab
Make container_pid a common test function
2016-03-17 18:20:29 +00:00
Bryan Boreham
a66543f98e
Use link ParentIndex where available
2016-03-17 18:20:18 +00:00
Bryan Boreham
0705319f25
Return failure from various functions when sub-operation fails.
...
We cannot rely on `set -e` to fail the whole script in contexts
where functions are called inside conditionals.
2016-03-17 15:02:40 +00:00
Bryan Boreham
b153e6a0d2
Simplify, after review feedback
2016-03-17 14:29:34 +00:00
Bryan Boreham
ef892fd4ed
Docs for CNI plugins
2016-03-17 14:29:34 +00:00
Bryan Boreham
024eb46c7d
CNI plugin implemented as script that docker runs plugin container,
...
installed via `weave setup`
2016-03-17 14:29:33 +00:00
Bryan Boreham
ecdd7aa7ce
Configure arp cache on new interface
2016-03-17 14:29:33 +00:00