Bryan Boreham
ebbf3d4244
Add release v2.1.1
2017-11-17 14:17:31 +00:00
Bryan Boreham
ceb36d1891
Typo
2017-11-17 14:15:10 +00:00
Bryan Boreham
4caa850853
Merge pull request #3176 from weaveworks/issues/3175-fix-install
...
Fix 2.1.0 install issues
2017-11-17 14:14:41 +00:00
Bryan Boreham
96cecf1796
Pull images before running inside weaveexec container
...
Now we don't bundle the docker command inside weaveexec, we need to do
an explicit 'docker pull' to ensure the images are there.
Also set the weavedb tag to :latest to remove a warning from docker
2017-11-17 13:51:10 +00:00
Bryan Boreham
51c7af8fb4
Set IMAGE before using it
2017-11-17 13:31:46 +00:00
Bryan Boreham
347466aba2
Add release v2.1.0
2017-11-17 11:10:52 +00:00
Bryan Boreham
bee1c44859
Merge pull request #3173 from weaveworks/reclaim-tweaks
...
Rearrange peer reclaim checks in weave-kube launch script
2017-11-16 17:05:46 +00:00
Bryan Boreham
f07238c8bb
Move info log to after error check
2017-11-16 14:31:40 +00:00
Bryan Boreham
3b499ce27c
Rearrange peer reclaim checks in weave-kube launch script
...
This is to make it behave better on fresh start, and in the case where
the manifest has not been updated to give it permissions.
2017-11-16 14:14:54 +00:00
Bryan Boreham
4dda216398
Merge pull request #3172 from weaveworks/issues/3170-fix-upgrade
...
weave-kube reclaim: check for upgrade case
2017-11-15 17:59:54 +00:00
Bryan Boreham
f0e511510a
Don't print a message on flag not found
2017-11-15 12:35:19 +00:00
Bryan Boreham
570ab0b10b
Avoid deleting persisted data on weave-kube upgrade
...
Add a feature to weaveutil to get and set flags, then use this feature
to mark the DB when this version runs
2017-11-15 11:26:43 +00:00
Bryan Boreham
214cf6cb2e
Flip result code when checking for new peer
...
This avoids mistaking an error condition for the result we should act on
2017-11-15 10:11:02 +00:00
Bryan Boreham
07459f0cec
Merge pull request #3149 from weaveworks/fix-2797-loosing-ipam-ips
...
Fix 2797 on Kubernetes - Cluster goes down because all IPs become unreachable
2017-11-14 15:31:06 +00:00
Bryan Boreham
c67bc704e1
Temporarily raise kube-peers log level to debug
2017-11-14 14:16:01 +00:00
Bryan Boreham
3501ad45e6
Cope with a Kubernetes node being deleted and coming back
...
Add features to weaver and kube-peers to find the peer name and check
if it is in the list, then in launch.sh delete persisted data if not.
2017-11-14 14:15:31 +00:00
Bryan Boreham
70a13c9c12
Make kube-peers logging consistent and add -log-level flag
...
Also tag kube-peer log messages with "[kube-peers]": in a standard
deployment they end up interspersed with weaver log messages so this
makes it easier to pick them out.
2017-11-14 14:06:34 +00:00
Bryan Boreham
a552f194b4
Code to reclaim IP address space from removed peers
2017-11-14 14:06:33 +00:00
Bryan Boreham
267bd8b51d
Pseudo-code to clean up dead peers
2017-11-14 14:06:33 +00:00
Bryan Boreham
71b39489da
Maintain a list of peers in a Kubernetes annotation
...
This is prework for a feature which will remove 'dead' peers
2017-11-14 14:06:33 +00:00
Bryan Boreham
ed8d92cfc6
RBAC to read and write ConfigMaps
2017-11-14 14:06:33 +00:00
Bryan Boreham
f431ee289b
Refactor: create config in main function
2017-11-14 14:06:33 +00:00
Bryan Boreham
44692b997c
Merge pull request #3169 from weaveworks/issues/k8s-netpol-testing
...
Extend NetworkPolicy smoke tests
2017-11-13 15:30:48 +00:00
Bryan Boreham
21086a0b2a
Merge branch '2.0'
2017-11-13 12:51:29 +00:00
Bryan Boreham
d7119169df
Add length to log message for too-big DF broadcast frame
2017-11-13 11:06:34 +00:00
Bryan Boreham
5b1ca02ecc
Merge pull request #3151 from weaveworks/issues/3105-k8s-17-netpolicies-whitelist
...
Implement Kubernetes 1.7 NetworkPolicy semantics
2017-11-07 16:31:01 +00:00
Bryan Boreham
e148b72284
Merge branch '2.0'
2017-11-06 11:48:29 +00:00
Bryan Boreham
16db921349
Merge pull request #3128 from weaveworks/k8s-notes
...
Added 'things to watch out for' section in Kubernetes instructions
2017-11-03 10:59:35 +00:00
Bryan Boreham
4c235b3648
Merge pull request #3160 from weaveworks/2017-11-02-update-gopacket
...
Update gopacket to latest master to benefit from memory optimization
2017-11-03 10:32:35 +00:00
Bryan Boreham
62dbe03193
Don't log nil errors in CNI DEL
2017-10-17 16:13:48 +00:00
Bryan Boreham
ea0e3a14e0
Merge branch '2.0'
2017-10-17 10:17:25 +00:00
Bryan Boreham
4a1a1e83c8
Update Python 'setuptools' module to resolve issue
...
Symptom of issue was this message:
error in cryptography setup command: Invalid environment marker: platform_python_implementation != 'PyPy'
2017-10-17 10:17:06 +00:00
Bryan Boreham
ee48700b40
Merge pull request #3141 from bjhaid/upgrade_client_go
...
Upgrading client go and vendoring its extra dependencies.
2017-10-11 16:08:00 +01:00
Bryan Boreham
0791ce8ab0
Merge branch '2.0'
2017-10-11 10:49:13 +00:00
Bryan Boreham
3d5f80630d
Merge pull request #3142 from weaveworks/fixnotes
...
Fixnotes
2017-10-10 16:10:00 +01:00
Bryan Boreham
276d0b621b
Add release v2.0.5
2017-10-05 11:57:23 +00:00
Bryan Boreham
2c143612e2
Add back EXEC_IMAGE so proxy can exec itself
2017-10-05 11:01:57 +00:00
Bryan Boreham
be412812f9
Remove unused variable assignment
2017-10-05 10:45:51 +00:00
Bryan Boreham
bfed7c24f8
Merge pull request #3129 from mkumatag/ppc64le_suuport
...
Add ppc64le support
2017-10-04 17:29:30 +01:00
Bryan Boreham
fe859952e0
Merge branch '2.0'
2017-10-04 16:05:07 +00:00
Bryan Boreham
86361c5b60
Merge pull request #3137 from weaveworks/lint-nonsense
...
Remove explicit error check at end of functions to placate lint
2017-10-04 16:59:01 +01:00
Bryan Boreham
35c017a787
Remove explicit error check at end of functions to placate lint
...
It's sad because this changes a regular pattern into an irregular one,
which will create spurious diffs if more work is added at the end of
the function. Still, this is easier than fixing the lint runner to
ignore the report.
2017-10-04 13:40:13 +00:00
Bryan Boreham
79d65bc98b
Report errors from rewriting /etc/hosts
2017-10-04 13:32:52 +00:00
Bryan Boreham
c16653a396
Mount iptables lock file in weave-kube ( #3134 )
...
Mount iptables lock file in weave-kube
iptables uses the file `/run/xtables.lock` so that if changes are
under way, another instance of the iptables command can wait till it
is finished.
We need to mount the lock file from the host to the container in order
for this mechanism to work at all.
Note we rely on kubelet touching the file before running any pods -
see https://github.com/kubernetes/kubernetes/pull/47212
2017-10-03 14:52:49 +01:00
Bryan Boreham
ba16135b3a
Escape a minus that is being interpreted as a bullet ( #3131 )
2017-09-29 14:16:13 +01:00
Bryan Boreham
df688cfb53
Added weave_ipam_unreachable_percentage metric
2017-09-26 15:55:38 +00:00
Bryan Boreham
88679d66fc
Improve wording
2017-09-26 15:53:14 +00:00
Bryan Boreham
a02fb753df
Use the configured Docker host for the proxy, not the default one
2017-09-26 09:44:46 +00:00
Bryan Boreham
98b002f7c0
Remove unnecessary 'Version' in proxy
2017-09-26 09:44:46 +00:00
Bryan Boreham
e251bfe807
Move use of command-line params to after we know them
2017-09-26 09:44:46 +00:00
Bryan Boreham
eb88893312
Rename configureProxy to newProxyConfig
2017-09-26 09:44:46 +00:00
Bryan Boreham
a362bf68bb
Merge branch '2.0'
2017-09-26 09:41:29 +00:00
Bryan Boreham
3c53aa66b7
Improved wording after review
2017-09-26 09:41:11 +00:00
Bryan Boreham
c97d4731dc
Merge pull request #3113 from weaveworks/plugin-v2-troubleshooting
...
Add instructions on troubleshooting the V2 plugin
2017-09-26 10:40:29 +01:00
Bryan Boreham
a69546c9ee
Reworded on review feedback
2017-09-26 09:39:04 +00:00
Bryan Boreham
49f7e38133
Removed stray repetition of anchor
2017-09-25 16:38:07 +00:00
Bryan Boreham
2e7f44feee
Added 'things to watch out for'
2017-09-25 16:36:57 +00:00
Bryan Boreham
b8d7af3822
Don't call 'docker pull' inside weaveexec
2017-09-16 18:51:58 +00:00
Bryan Boreham
3c9c968174
Merge pull request #3110 from dtshepherd/issues/2957-rm-docker-binary-from-weaveexec
...
Remove docker binary from weaveexec container
2017-09-13 13:38:07 +01:00
Bryan Boreham
dc7acd6c70
Remove db file for v2 plugin
2017-09-08 13:23:26 +00:00
Bryan Boreham
d63a21363e
Add instructions on troubleshooting the V2 plugin
2017-09-08 11:11:44 +00:00
Bryan Boreham
a330dd4970
Improve "What is Weave Cloud" link
2017-09-07 19:39:50 +00:00
Bryan Boreham
c0388c0136
Improve "What is Weave Cloud" link
2017-09-07 20:32:24 +01:00
Bryan Boreham
aeca987a4c
Merge branch '2.0'
2017-08-25 15:25:55 +00:00
Bryan Boreham
3aff5f2467
Add release v2.0.4
2017-08-25 14:57:02 +00:00
Bryan Boreham
0c63a8d0e5
Merge pull request #3100 from weaveworks/wip-3098
...
fix: Test for ipset comment support
2017-08-24 17:29:44 +01:00
Bryan Boreham
03885d4b40
Merge pull request #3070 from weaveworks/update-kube-addon-doc
...
Update kube addon doc
2017-08-24 09:49:58 +01:00
Bryan Boreham
40e78fea99
Add a screen shot of Weave Net status in Weave Cloud
2017-08-24 08:38:05 +00:00
Bryan Boreham
ecba88e445
Clarify the wording of weave-kube troubleshooting
...
and note that statement about deleting old pods applies only to pre-2.0
2017-08-24 08:37:57 +00:00
Bryan Boreham
29c9b2c064
Move 'weave status' up beside the other troubleshooting
...
and put it in the table of contents at the top
2017-08-24 08:35:11 +00:00
Bryan Boreham
ff1cd7c008
Merge branch '2.0'
2017-08-23 11:18:52 +00:00
Bryan Boreham
6a871d13a6
Add release v2.0.3
2017-08-23 11:08:24 +00:00
Bryan Boreham
c2a224b436
Merge pull request #3096 from weaveworks/wip-3095
...
fix: Missing nil checks
2017-08-23 11:28:16 +01:00
Bryan Boreham
dd8d4b1d9b
Merge pull request #3097 from weaveworks/issues/3095-better-test
...
Extend weave-kube smoke test: add a policy with blank 'from'
2017-08-23 11:27:43 +01:00
Bryan Boreham
527bcffe3b
Extend weave-kube smoke test: add a policy with blank 'from'
...
Per issue #3095 this crashes the commenting code.
Also added check to see if the pods are still running.
2017-08-23 09:42:51 +00:00
Bryan Boreham
4b5299d124
Add release v2.0.2
2017-08-22 11:28:19 +00:00
Bryan Boreham
294c16c186
Merge pull request #3060 from weaveworks/docker-install-role-override
...
Make Ansible's docker_install_role overridable
2017-08-22 11:50:38 +01:00
Bryan Boreham
4b720bffdf
Merge branch '2.0'
2017-08-18 14:02:58 +00:00
Bryan Boreham
7df458fcdd
Merge pull request #3093 from weaveworks/issues/3092-port-number
...
Supply the weave port number to bridgeConfig
2017-08-18 15:02:26 +01:00
Bryan Boreham
608b8f0a06
Supply the weave port number to bridgeConfig
2017-08-18 13:13:18 +00:00
Bryan Boreham
089a993299
Merge pull request #3088 from weaveworks/issues/3054-honour-no-dns-in-proxy
...
If DNS server is off then disable proxy DNS registration
2017-08-18 14:10:28 +01:00
Bryan Boreham
bc4c31e48b
If DNS server is off then disable proxy DNS registration
2017-08-18 10:25:10 +00:00
Bryan Boreham
5c210c90b5
Merge branch '2.0'
2017-08-16 16:37:29 +00:00
Bryan Boreham
a6cd456f8b
Merge pull request #3080 from weaveworks/issues/plugin-v2-modprobe
...
net-plugin: bind mount /lib/modules
2017-08-15 12:05:33 +01:00
Bryan Boreham
2ede1066e9
Remove unused WeaveDomain
...
(left over from a22b88ed89 )
2017-08-14 13:56:53 +00:00
Bryan Boreham
28ea18d3a6
Remove localhost:8080 fallback for Kubernetes api-server
...
It was a hack for a badly-configured Kubernetes install: it shouldn't
be necessary, it will only work on an unsecured install, and it
generates confusing error messages when something is really wrong.
2017-07-19 22:59:34 +00:00
Bryan Boreham
fac669156e
Merge pull request #3046 from weaveworks/update-weave-kube-docs
...
Update weave-kube documentation
2017-07-19 15:40:52 -07:00
Bryan Boreham
102f4ad4a4
Merge pull request #3064 from weaveworks/wip-2621
...
Add comments to iptables rules and ipsets
2017-07-19 13:01:09 -07:00
Bryan Boreham
efde637e1c
Merge pull request #3056 from dlespiau/20170711-weave-instant-help
...
Make help instantaneous in the weave script
2017-07-14 11:54:32 -07:00
Bryan Boreham
448518d500
Merge pull request #3057 from weaveworks/wip-npc-race-test
...
Fix weave-npc race condition
2017-07-14 11:11:06 -07:00
Bryan Boreham
b562cc9b98
Merge pull request #3055 from weaveworks/issues/2603-document-weave-kube-commands
...
Add operations section to weave-kube's docs.
2017-07-14 10:05:34 -07:00
Bryan Boreham
7b6a21f612
Merge pull request #3066 from weaveworks/label-weavedb
...
label weavedb image
2017-07-14 10:01:54 -07:00
Bryan Boreham
fdbffce93a
Use modified docker-py to mask change in Docker error message
...
Before this change, when using Docker 17.06 we get:
tests/integration/container_test.py:121: in test_create_with_restart_policy
'You cannot remove a running container', err
E AssertionError: 'You cannot remove a running container' not found in u'You cannot remove a restarting container
The modified image simply checks for "You cannot remove a".
2017-07-13 14:00:23 +00:00
Bryan Boreham
afac7c4d09
Change test 610 to use a Weaveworks container
...
Previously we used 'alpine' which had no 'CMD' line, but that changed
upstream, so generate our own trivial image for this purpose.
2017-07-13 13:41:53 +00:00
Bryan Boreham
3fdca717c1
Upgrade to Docker 17.06, including newer tools submodule
2017-07-12 16:00:26 +00:00
Bryan Boreham
6b4c6c84b4
Add back HOSTNAME env var for weave-npc container
2017-07-03 16:41:07 +00:00
Bryan Boreham
15c512388d
Don't contact peer discovery back-end unless we have a token
2017-06-28 13:34:49 +00:00
Bryan Boreham
bd44b20b4a
Merge pull request #3039 from weaveworks/do-not-merge-args
...
No longer merge proxy and remaining args
2017-06-27 15:17:39 +01:00
Bryan Boreham
e25da3c619
Merge pull request #3042 from weaveworks/latest-yaml-from-launch-generator
...
Update YAMLs to be what the Launch Generator serves.
2017-06-27 14:58:41 +01:00
Bryan Boreham
3499dbfe09
Merge branch '2.0'
2017-06-27 10:48:05 +00:00