Marc CARRE
1c797ca901
Upgrade to latest version of build-tools.
...
This brings a fix to the Ansible playbook which enables locking of `kubeadm`'s Kubernetes version.
2017-04-06 13:49:51 +01:00
Marc CARRE
520a72c8e6
Lock kubeadm's Kubernetes version.
...
Without this commit, `kubeadm` typically upgrades whichever version of Kubernetes is installed, sometimes leading to conflicts in between components' version.
This fixes the issue behind #2876 and should avoid build failures like [weave/8373](https://circleci.com/gh/weaveworks/weave/8373 ).
2017-04-06 13:49:48 +01:00
Marc CARRE
98fec7e5aa
Revert "Disable temporary 840 smoke tests"
...
This reverts commit b687484dda .
2017-04-06 10:43:56 +01:00
Bryan Boreham
038aac41fd
Fix weave-kube doc table of contents
2017-04-05 13:56:17 +00:00
Martynas Pumputis
c54fe016b1
Merge pull request #2880 from weaveworks/upgrade-build-tools
...
Upgrade to latest build-tools.
2017-04-04 15:44:05 +01:00
Marc CARRE
9c9b46479d
Upgrade to latest build-tools.
...
Adds better support for CentOS, for Kubernetes 1.6 (default: 1.6.1), and makes Docker installation role configurable, among others.
2017-04-04 15:13:41 +01:00
Bryan Boreham
28c290074b
Merge pull request #2876 from weaveworks/issues/disable-840
...
Disable temporary the 840 weave kube smoke test
2017-03-31 18:55:59 +02:00
Martynas Pumputis
b687484dda
Disable temporary 840 smoke tests
...
To trigger doc publishing
2017-03-30 17:45:20 +01:00
Bryan Boreham
fd731beb87
Merge pull request #2871 from weaveworks/weave-kube-formatting
...
Fix formatting of code snippets in site/kube-addon.md.
2017-03-29 11:53:07 +01:00
Marc CARRE
35cc653737
Add links to URLs and relevant resources.
2017-03-29 11:28:49 +01:00
Marc CARRE
1254d680ed
Fix formatting of env. vars. in site/kube-addon.md.
2017-03-29 11:28:42 +01:00
Marc CARRE
23c0b6a04b
Fix formatting of kubectl apply snippets in site/kube-addon.md.
2017-03-29 11:28:36 +01:00
Martynas Pumputis
ede1ec970c
Merge pull request #2861 from weaveworks/weave-kube-1.6-docs
...
Update weave-kube docs for k8s 1.6
2017-03-29 10:36:49 +01:00
Bryan Boreham
fbab5a7280
Review feedback
2017-03-29 08:37:28 +00:00
Bryan Boreham
a92cfc1ffe
Added instructions for Kubernetes 1.6 changes
2017-03-21 15:28:41 +00:00
Bryan Boreham
178cf85183
Add release v1.9.4
v1.9.4
2017-03-21 14:30:35 +00:00
Bryan Boreham
272161b00b
Add k8s-1.6 daemonset to release script
2017-03-21 14:23:13 +00:00
Bryan Boreham
56155d0819
Extra checks on return value from IPAM plugin
2017-03-21 11:39:36 +00:00
Bryan Boreham
c711826996
Blank out container ID when exec-ing a CNI ipam plugin to get bridge address
2017-03-21 11:39:36 +00:00
Bryan Boreham
eef6965590
Clean out weave CNI plugin before tests
2017-03-21 11:39:36 +00:00
Bryan Boreham
4926cb6f9a
Add test to check that bridge IP is not the same as container IP
2017-03-21 11:39:36 +00:00
Bryan Boreham
d9ca54e777
Don't use Printf without a format
2017-03-21 11:38:35 +00:00
Bryan Boreham
1f6a6349a9
Remove useless 'break'
2017-03-21 11:38:35 +00:00
Bryan Boreham
8f27f8f442
Clean up some tests that were not checking results
2017-03-21 11:38:35 +00:00
Bryan Boreham
681109ba71
use net.IP.Equal to compare, not bytes.Equal
2017-03-21 11:38:35 +00:00
Bryan Boreham
99c691745a
Check error return on udp dial()
2017-03-21 11:38:35 +00:00
Bryan Boreham
1af5699948
cancelOp was cancelling the first op in the queue
2017-03-21 11:38:35 +00:00
Bryan Boreham
ef7571f1ef
Can't catch SIGKILL
2017-03-21 11:38: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
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
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
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
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
Marc CARRE
85fa976a25
Add release v1.9.3
v1.9.3
2017-03-07 14:38:42 +00:00