Bryan Boreham
1d55ee19e4
Merge branch '1.9'
2017-03-17 11:46:32 +00:00
Bryan Boreham
9da5cee8d9
Rename Kubernetes daemonset to "1.6"
...
To emphasise this is the version that adopters of Kubernetes 1.6 need
to use.
2017-03-17 11:45:06 +00:00
Bryan Boreham
ca22ecdf09
Merge branch 'luxaslabs-add_head_manifest' into 1.9
2017-03-17 11:44:16 +00:00
Bryan Boreham
fd0c53b424
Merge pull request #2852 from weaveworks/assert-no-defunct
...
Assert no defunct process is generated as a postcondition of all tests.
2017-03-17 11:40:32 +00:00
Bryan Boreham
9810a84475
Merge branch '1.9'
2017-03-16 19:43:50 +00:00
Bryan Boreham
31b7e063e7
Use version 3 in the test
...
CNI_VERSION env var was never used, so removed from the test script.
The second test is crashing on v1, so bumped to v3.
2017-03-16 18:23:20 +00:00
Bryan Boreham
b5172f46c1
Honour the input version number
2017-03-16 18:23:20 +00:00
Bryan Boreham
5a6cb8e708
Allow CNI netns to be blank on DEL
...
Also don't error on DEL with no namespace and no addresses
2017-03-16 18:23:20 +00:00
Bryan Boreham
c3c28ea27e
Update CNI library to version 0.5.0
2017-03-16 18:23:20 +00:00
Bryan Boreham
8f44dc0986
Remove hard-coded number of hosts
2017-03-14 18:10:24 +00:00
Bryan Boreham
623abeef4c
gofmt
2017-03-14 17:56:59 +00:00
Bryan Boreham
5f30846092
Unwind changes to doExec and handle List() error differently
...
exec.Output() already wraps the stderr output, so we don't need to do that.
2017-03-14 17:56:59 +00:00
Bryan Boreham
6ddbc5cb57
Simplify List()
2017-03-14 17:56:59 +00:00
Bryan Boreham
f9f3b18ce4
Test whether non-weave ipsets get blown away
2017-03-14 17:56:59 +00:00
Bryan Boreham
56fd45f7ea
Merge pull request #2845 from weaveworks/issues/2836-defunct-launch.sh-no-exec
...
Remove exec from weaver command; Fixes #2836 .
2017-03-14 16:52:17 +00:00
Bryan Boreham
ca523fa335
Don't need --privileged when writing /etc/hosts
2017-03-10 11:55:22 +00:00
Bryan Boreham
5860332e49
Don't repeat '--privileged --net=host' docker options
2017-03-10 11:55:22 +00:00
Bryan Boreham
bec2470ddf
Merge branch '1.9'
2017-03-09 16:02:07 +00:00
Bryan Boreham
402400d4cb
Merge pull request #2831 from weaveworks/issues/2830-fix-fastdp-crypto-docs
...
doc: Remove invalid statement about missing encryption in fastdp; Fixes #2830
2017-03-09 16:00:54 +00:00
Bryan Boreham
9516b1a91b
Merge pull request #2833 from weaveworks/you-say-tomato
...
Change what we print in place of the password
2017-03-09 10:45:06 +00:00
Bryan Boreham
8468183738
'redacted' is a better word than 'elided'
2017-03-09 10:44:48 +00:00
Bryan Boreham
39563fc142
Merge pull request #2829 from dlmiddlecote/issues/2815-check-live-containers
...
Only check running containers for existing addresses
2017-03-09 09:53:03 +00:00
Bryan Boreham
fa74d1b9bb
Merge two ADD commands to remove a layer
2017-03-06 11:29:09 +00:00
Bryan Boreham
11d120bb5b
Debug log any error returned by exec-ing weave
2017-03-06 11:29:09 +00:00
Bryan Boreham
e2c96cfa85
Remove/move down WORKDIR lines in Dockerfiles
...
They seem to stop Docker using its build cache.
Removing the line entirely stops weaveproxy from working, as it
assumes it can exec `./weave` from the current directory.
2017-03-06 11:29:09 +00:00
Bryan Boreham
eee3e8d331
touch exes after running build command
...
The executables have dependencies that are not apparent to `go build`;
notably the build container. If Go doesn't see anything is out of date
then it will do nothing, hence touch the file so next time we run
`make` it is up to date.
2017-03-06 11:29:09 +00:00
Bryan Boreham
0c68ad4acb
Merge branch '1.9'
2017-03-06 11:26:00 +00:00
Bryan Boreham
640b487914
Merge pull request #2825 from weaveworks/issues/2824-fastdp-timer-race
...
Do not reset fastdp heartbeat timer for non-confirmed connections. Fixes #2824
2017-03-06 10:45:45 +00:00
Bryan Boreham
96f7c6ebab
Merge branch '1.9'
2017-03-01 11:33:25 +00:00
Bryan Boreham
b2ffe77029
Merge pull request #2821 from weaveworks/issues/2820-busybox-modprobe
...
Ignore modprobe errors in weave-kube/launch.sh
2017-03-01 11:32:52 +00:00
Bryan Boreham
6036037817
Added kops update to the release instructions
2017-02-27 18:10:13 +00:00
Bryan Boreham
242b8907bf
Add release v1.9.1
2017-02-27 16:20:02 +00:00
Bryan Boreham
9db22c3cd6
Merge pull request #2818 from 'tobowers-fix-reverse-dns'
...
Lowercase the request before comparing it
Fix #2817
2017-02-27 16:15:18 +00:00
Bryan Boreham
e57d79bd70
Test reverse DNS using dig
...
so that we can check it works with upper and lower case IN-ADDR.ARPA
2017-02-27 14:56:25 +00:00
Bryan Boreham
01fe09065c
Add weave-npc required kernel modules to docs
2017-02-27 14:25:43 +00:00
Bryan Boreham
cb73cf3f51
Ensure we have the kernel modules loaded for weave-npc
2017-02-27 12:32:57 +00:00
Bryan Boreham
f7ce16cba8
Move detailed warning about rmpeer from FAQ to docs
2017-02-23 13:22:28 +00:00
Bryan Boreham
6ac1fef01d
Fix broken link
2017-02-23 13:22:16 +00:00
Bryan Boreham
5c19efae48
Merge pull request #2811 from weaveworks/issues/2223-faq-anchors
...
Add anchors to faq questions
2017-02-23 13:19:39 +00:00
Bryan Boreham
f7c0da3ae1
Merge pull request #2781 from keontang/luanch-update
...
Add CONN_LIMIT environment var for running container
2017-02-23 12:40:01 +00:00
Bryan Boreham
fe0c833cdf
Move FAQ to the bottom of the menu
2017-02-23 12:28:51 +00:00
Bryan Boreham
58342f7509
add anchors to faq questions
2017-02-23 12:26:03 +00:00
Bryan Boreham
6d5c2ad0fa
Merge pull request #2793 from weaveworks/improve-fastdp-crypto-tests
...
Improve encryption tests
2017-02-22 14:56:14 +00:00
Bryan Boreham
7102bf6d9d
Merge pull request #2803 from weaveworks/update-readme
...
update slack community and weave user group details
2017-02-21 15:38:34 +00:00
Bryan Boreham
77988012ed
Merge pull request #2765 from weaveworks/issues/1644-fastdp-crypto-docs
...
Add fastdp-crypto docs
2017-02-20 17:56:32 +00:00
Bryan Boreham
2989e3cccd
Merge pull request #2790 from weaveworks/update-netlink-dep
...
Update vishvananda/netlink
2017-02-20 17:51:37 +00:00
Bryan Boreham
5a47d1d13f
Merge pull request #2796 from weaveworks/versions-manifest
...
Add versions manifest file for dependencies.
2017-02-20 11:42:30 +00:00
Bryan Boreham
e9fa655e0e
Merge pull request #2802 from weaveworks/issues/2761-build-chown
...
Make /usr/local/go writable to anyone
2017-02-14 16:55:37 +00:00
Bryan Boreham
201321f390
Remove refcounts on destroy and flush
2017-02-14 10:50:22 +00:00
Bryan Boreham
3afc528c88
Reference-count ipset entries
2017-02-14 10:26:59 +00:00
Bryan Boreham
4e37f5ec42
Add explanations of various claim and allocation fields
2017-02-13 17:31:02 +00:00
Bryan Boreham
39f471e9d3
Merge pull request #2773 from weaveworks/issues/2772-check-type-on-delete
...
Handle cache.DeleteFinalStateUnknown
2017-02-13 15:49:24 +00:00
Bryan Boreham
293abd953e
Fix flaky test 320
...
The intention, per the comments, is that host1 should claim from host2.
But host2 and host3 can carve up the space either way round. If host1
claims from host3 then there is a race whether anyone finds out about
it.
Adding a 'prime' on host2 ensures the space is all owned by host2 at that point.
2017-02-13 11:30:34 +00:00
Bryan Boreham
fde7dcdde9
Stop collecting addresses in weave script now we do it in Go
2017-02-13 11:30:34 +00:00
Bryan Boreham
7075b5d9fd
Extend pre-existing address reclaim to docker containers
2017-02-13 11:30:34 +00:00
Bryan Boreham
50b1aa0c74
Merge pull request #2785 from weaveworks/typo-app-isolation-doc
...
Fix typo in CIDR.
2017-02-13 11:15:17 +00:00
Bryan Boreham
e26dbf11e9
Stop collecting addresses in launch script now we do it in Go
2017-02-10 15:11:14 +00:00
Bryan Boreham
39ac1a0037
Collect existing weave addresses at start-up, to avoid a race when
...
doing it from the script
Note we need to run weaver in the host pid namespace, so it can search
for existing container IPs. Also now we are firing off sub-processes
it's better to not be PID 1 so Linux doesn't expect us to reap zombies.
2017-02-10 15:10:02 +00:00
Bryan Boreham
cc8785fdcf
Expand info about port usage
2017-02-07 14:06:24 +00:00
Bryan Boreham
7265c6ea03
Move sed of daemonset up next to weave script
...
For consistency, also for easier unpicking if the 'draft' stage fails
2017-02-03 12:18:48 +00:00
Bryan Boreham
0792f0717d
Revert "Temporarily release weave-daemonset.yaml to weave-kube repo"
...
This reverts commit 23056cbb45 .
Explanation: weave-kube has been moved into the weave repo
2017-02-02 11:56:54 +00:00
Bryan Boreham
851b58cca8
Add release v1.9.0
2017-02-02 11:01:34 +00:00
Bryan Boreham
cb48ebc399
Bump alpine version to 3.5 for arm64
...
Since 3.4 doesn't exist, and the package repo seems ok for ulogd now
2017-02-02 10:43:29 +00:00
Bryan Boreham
418c256689
Allow traffic to forward off the weave bridge
2017-02-01 15:01:18 +00:00
Bryan Boreham
4eeb846507
Add tests for connectivity to the world
2017-02-01 15:01:18 +00:00
Bryan Boreham
7529f5f9af
Raise ping timeout to reduce false negatives
2017-02-01 15:01:18 +00:00
Bryan Boreham
a9cef6327f
Update information about Weaveworks products
2017-01-31 12:43:53 +00:00
Bryan Boreham
fdeb9010ba
Merge pull request #2757 from weaveworks/upgrade-build-tools
...
Upgrade to latest 'common' and 'build-tools'.
2017-01-31 12:17:31 +00:00
Bryan Boreham
6a83130685
Document multicast behaviour of weave-npc
2017-01-30 18:14:57 +00:00
Bryan Boreham
bcc8c73f59
Fix build of manifest_tool in 'make publish'
2017-01-30 11:02:11 +00:00
Bryan Boreham
e22c6375c9
Fix build of manifest_tool
2017-01-27 18:09:22 +00:00
Bryan Boreham
7231bd00f8
Remove .weavedb.uptodate file when we remove the weavedb image in 'make clean-bin'
2017-01-27 16:26:05 +00:00
Bryan Boreham
dbb9849b8c
Remove whitespace from blank lines and comment lines
...
Principally because emacs complains about it, but also to remove the
overhead of firing up a shell process to ignore a comment in a recipe
2017-01-25 14:20:54 +00:00
Bryan Boreham
776af44782
Make manifest-tool using weave build container
2017-01-25 14:18:55 +00:00
Bryan Boreham
69dacd0594
Restrict CircleCI publishing to AMD64
2017-01-25 10:52:53 +00:00
Bryan Boreham
f17a2a00b1
Merge pull request #2713 from luxaslabs/multiarch
...
Make Weave Net multi-architecture
2017-01-24 18:07:32 +00:00
Bryan Boreham
49b9a2c8df
Bump Docker to 1.10
2017-01-24 17:28:08 +02:00
Bryan Boreham
6c251417d5
Update 'docker inspect weavedb' format for Docker 1.10
2017-01-24 17:27:53 +02:00
Bryan Boreham
f067c7d44e
Add rule to allow multicast at top level
2017-01-23 12:11:44 +00:00
Bryan Boreham
c1023eaf18
Hard-code repository name for weavebuild container
...
so we don't create a new one when testing publish to different DOCKERHUB_USER
2017-01-20 14:55:10 +00:00
Bryan Boreham
b091f59311
Merge pull request #2734 from Compositional/master
...
Add partial support for non-FHS host systems
2017-01-20 14:45:33 +00:00
Bryan Boreham
917c1ddbad
Update mesh lib to break cycle of old gossip
2017-01-20 12:05:55 +00:00
Bryan Boreham
1ad118a38f
Merge branch '1.8'
2017-01-20 09:45:13 +00:00
Bryan Boreham
9d1648cee7
Merge pull request #2741 from weaveworks/document-mtu-with-weave-kube
...
Document WEAVE_MTU in weave-kube config options
2017-01-20 09:40:57 +00:00
Bryan Boreham
929167366a
Don't fail if only half the system IDs are blank
2017-01-19 15:57:21 +00:00
Bryan Boreham
353ccf5e6c
Move build to 'dependencies' section
...
This means we don't spend time trying to run other tests if the build failed.
2017-01-19 10:59:16 +00:00
Bryan Boreham
cfc1fa4fae
Build test runner inside build container for consistency
2017-01-19 10:59:04 +00:00
Bryan Boreham
84013c4452
Merge pull request #2735 from weaveworks/issues/2732-pin-alpine-version
...
Pin alpine container version
2017-01-18 16:49:04 +00:00
Bryan Boreham
0145282a10
Merge pull request #2728 from weaveworks/issues/2653-ulogd-pdeathsig
...
SIGKILL ulogd on weave-npc exit
2017-01-11 17:31:18 +00:00
Bryan Boreham
e7eeecd762
Smoke test for peer names
2017-01-11 13:14:35 +00:00
Bryan Boreham
7d308a4ac5
Wire weaveutil unique-id into weave script
...
Also ensure the right host directories are mounted when create-bridge
is called from either the weave script or weave-kube.
2017-01-11 13:14:35 +00:00
Bryan Boreham
ebcb7f6108
Use persisted peer name if it matches old-style ID
2017-01-11 13:14:35 +00:00
Bryan Boreham
e03c7b1b7c
Allow opening persistence file read-only
2017-01-11 13:13:19 +00:00
Bryan Boreham
70a20b4d26
Generate peer name / mac address in Go
2017-01-11 13:12:30 +00:00
Bryan Boreham
d143470d77
Refactor: extract db filename to a constant
2017-01-11 13:05:25 +00:00
Bryan Boreham
30d6639a98
Refactor: move peer name identifier to DB package
2017-01-11 13:05:25 +00:00
Bryan Boreham
e370443a3f
Merge pull request #2699 from weaveworks/2647-parallelise-sanity-checks
...
Parallelise sanity checks in order to speed them up.
2017-01-09 12:57:44 +00:00
Bryan Boreham
738ff2b65f
Update tools submodule to avoid breaking on missing Docker mflag
2017-01-09 12:50:18 +00:00
Bryan Boreham
cef8c908d0
Merge pull request #2704 from weaveworks/2647-parallelise-setup
...
Parallelise setup.sh's individual tasks.
2017-01-09 12:30:53 +00:00
Bryan Boreham
35de3720e9
Merge pull request #2698 from weaveworks/2647-find-relative-dir
...
Finding and running tests no longer depends on current directory.
2017-01-09 10:34:07 +00:00