Ilya Dmitrichenko
d313ec935c
Merge pull request #2859 from mgalgs/patch-1
...
README: Fix formatting of "Further Information" header
2017-03-21 08:55:13 +00:00
Mitchel Humpherys
dee57aca37
README: Fix formatting of "Further Information" header
2017-03-20 17:35:32 -07:00
Bryan Boreham
7ac2301247
Merge branch '1.9'
2017-03-20 12:13:35 +00:00
Bryan Boreham
c0726923f5
Merge pull request #2851 from weaveworks/k8s-1.6-beta
...
Upgrade to latest build-tools to be able to test against 1.6+ and/or "unstable" versions of K8S
2017-03-20 12:07:38 +00:00
Marc CARRE
4d9eadde5b
Upgrade to latest version of build-tools.
...
Integrate latest changes required for testing against Kubernetes 1.6.0-beta.*.
See also: github.com/weaveworks/build-tools/pull/81
2017-03-17 12:05:27 +00:00
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
Lucas Käldström
2e58e92d48
Add a weave-kube manifest that works for kubeadm v1.6
2017-03-17 11:43:48 +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
Marc CARRE
7b1e8ac1cf
Assert no defunct process is generated as a postcondition of all tests.
2017-03-17 10:36:16 +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
Martynas Pumputis
b128562b41
Merge pull request #2838 from weaveworks/tweak-privileged
...
Remove some unnecessary --privileged flags
2017-03-15 10:30:35 +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
Stephan Austermühle
dc2925263c
Destroy ipsets prefixed weave- only (issue #2751 )
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
Marc CARRE
21a0fc30e8
Run weaver without exec.
...
This:
1. prevents from generating defunct (a.k.a. zombie) processes, and therefore fixes #2836 ; but also
2. reintroduces #2684/#2688 as shells do not forward signals and we are still running more than one process.
A proper fix would leverage something like tini.
See also:
- github.com/krallin/tini
- github.com/krallin/tini/issues/8
- github.com/docker-library/official-images#init
Sample output:
- during initialisation:
```
$ ps auxf
[...]
root 1380 0.4 1.9 879660 74660 ? Ssl Mar13 6:02 /usr/bin/docker daemon -H fd:// -H unix:///
root 1664 0.0 0.4 502116 18528 ? Ssl Mar13 0:06 \_ docker-containerd -l /var/run/docker/li
root 15482 0.0 0.0 200496 3364 ? Sl 15:04 0:00 \_ docker-containerd-shim 3d1f5eb6e090
root 15496 0.0 0.0 1524 996 ? Ss 15:04 0:00 | \_ /bin/sh /home/weave/launch.sh
root 15780 0.0 0.0 1524 64 ? S 15:04 0:00 | \_ /bin/sh /home/weave/launch.
root 15872 0.0 0.0 1772 1272 ? S 15:04 0:00 | | \_ /bin/sh /home/weave/wea
root 15897 0.0 0.0 1772 324 ? S 15:04 0:00 | | \_ /bin/sh /home/weave
root 15898 0.0 0.0 14656 2948 ? S 15:04 0:00 | | \_ curl -o /tmp/we
root 15781 10.0 1.5 484556 60296 ? Sl 15:04 0:00 | \_ /home/weave/weaver --port=6
[...]
```
- after initialisation:
```
$ ps auxf
[...]
root 1380 0.4 1.9 879660 74660 ? Ssl Mar13 6:02 /usr/bin/docker daemon -H fd:// -H unix:///
root 1664 0.0 0.4 502116 18592 ? Ssl Mar13 0:06 \_ docker-containerd -l /var/run/docker/li
root 15482 0.0 0.0 200496 3364 ? Sl 15:04 0:00 \_ docker-containerd-shim 3d1f5eb6e090
root 15496 0.0 0.0 1524 996 ? Ss 15:04 0:00 | \_ /bin/sh /home/weave/launch.sh
root 15781 2.3 1.6 503064 64320 ? Sl 15:04 0:00 | \_ /home/weave/weaver --port=6[...]
```
2017-03-14 15:34:47 +00:00
Marc CARRE
673d0af97d
Add failing test catching defunct launch.sh processses.
...
Reproduces issue #2836 , i.e.:
- during initialisation:
```
$ ps auxf
[...]
root 1380 0.4 1.6 879660 60732 ? Ssl Mar13 5:54 /usr/bin/docker daemon -H fd:// -H unix:///
root 1664 0.0 0.4 502116 18540 ? Ssl Mar13 0:06 \_ docker-containerd -l /var/run/docker/li
root 12615 0.0 0.1 200496 5424 ? Sl 14:38 0:00 \_ docker-containerd-shim c5637e5bbdcb
root 12629 6.2 1.6 296400 62312 ? Ssl 14:38 0:00 | \_ /home/weave/weaver --port=6783
root 12910 0.0 0.0 1524 68 ? S 14:38 0:00 | \_ /bin/sh /home/weave/launch.
root 13002 0.0 0.0 1772 1232 ? S 14:38 0:00 | \_ /bin/sh /home/weave/wea
root 13027 0.0 0.0 1772 320 ? S 14:38 0:00 | \_ /bin/sh /home/weave
root 13028 0.0 0.0 14656 2708 ? S 14:38 0:00 | \_ curl -o /tmp/we
[...]
```
- after initialisation:
```
$ ps auxf
[...]
root 1380 0.4 1.6 879660 60732 ? Ssl Mar13 5:54 /usr/bin/docker daemon -H fd:// -H unix:///
root 1664 0.0 0.4 502116 18540 ? Ssl Mar13 0:06 \_ docker-containerd -l /var/run/docker/li
root 12615 0.0 0.1 200496 5424 ? Sl 14:38 0:00 \_ docker-containerd-shim c5637e5bbdcb
root 12629 3.5 1.6 297460 63340 ? Ssl 14:38 0:00 | \_ /home/weave/weaver --port=6783
root 12910 0.0 0.0 0 0 ? Z 14:38 0:00 | \_ [launch.sh] <defunct>
[...]
```
Sample output:
```
test #5 "run_on mct-0.us-central1-a.weave-net ps aux | grep -c '[d]efunct'" failed:
expected "0"
got "1"
test #6 "run_on mct-1.us-central1-a.weave-net ps aux | grep -c '[d]efunct'" failed:
expected "0"
got "1"
test #7 "run_on mct-2.us-central1-a.weave-net ps aux | grep -c '[d]efunct'" failed:
expected "0"
got "1"
3 of 8 tests failed in 62.012s.
```
2017-03-14 14:39:34 +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
Martynas Pumputis
b1a66012bd
doc: Remove invalid statement about missing encryption in fastdp
2017-03-09 15:38:13 +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
Daniel Middlecote
104d2240ec
Move container lists to scope they are used in
2017-03-08 21:43:21 +00:00
Marc CARRE
9bec84da5b
Merge branch '1.9'
2017-03-07 16:40:46 +00:00
Marc CARRE
85fa976a25
Add release v1.9.3
v1.9.3
2017-03-07 14:38:42 +00:00
Marc Carré
e3a37c8d71
Document required GitHub OAuth scope.
2017-03-07 13:47:11 +00:00
Daniel Middlecote
fd28740108
Only check running containers for existing addresses
2017-03-06 22:10:45 +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
Martynas Pumputis
7c84e24f48
fastdp: Do not reset heartbeat timer for non-confirmed connections
...
It is possible to receive FastDatapathCryptoInitSARemote control plane
message before Confirm'ing a connection. In such case, resetting
heartbeatTimer leads to null pointer dereference, as the timer is
initialized during Confirm'ation.
In this situation, skipping the reset is non-harmful, because
Confirm'ing will reset it.
NB: the reset to 0 should only happen after establishing the connection
on both ends.
2017-03-02 16:59:48 +00:00
Mike Bryant
26b566b541
Use a keyserver port that's better for firewalls
2017-03-02 15:49:22 +00:00
Martynas Pumputis
16bbee2831
Merge branch '1.9'
2017-03-01 15:08:52 +00:00
Martynas Pumputis
125f3cf6f6
Add release v1.9.2
v1.9.2
2017-03-01 14:11:20 +00:00
Bryan Boreham
96f7c6ebab
Merge branch '1.9'
2017-03-01 11:33:25 +00:00