Martynas Pumputis
aa9c032176
Add sanity check to detect when receiving own packets
2016-12-08 11:38:37 +00:00
Martynas Pumputis
baa8f229f7
Detect enabling of hairpin mode on vethwe-bridge
...
Enabled hairpin mode on vethwe-bridge was one of the root causes
for installing looping flows in the fastdp mode.
Also, it confused the weave custom L2 bridge, as the bridge treats
a bounced back packet, e.g. ARP brodcast request, as a local one
(the case for "Captured a packet associated with remote host").
2016-12-08 11:37:52 +00:00
Martynas Pumputis
ab1b99a4d9
Update vishvananda/netlink vendored dependency
...
The updated version includes parsing of IFLA_PROTINFO
which is needed to get info about hairpin mode when
subscribing to link updates.
2016-12-08 10:33:22 +00:00
Martynas Pumputis
0ae13a2650
Detect hairpin flows
...
The introduced "isHairpinFlow" detects whether a flow has been
created due to enabled hairpin mode.
2016-12-05 12:42:24 +00:00
Bryan Boreham
fd34dda6c1
Run test instances on a locked-down network
...
and open up a rule from the specific IP running the tests
2016-11-24 17:17:12 +00:00
Bryan Boreham
f989a82eb0
Merge pull request #2573 from weaveworks/2546-clarify-npc-packet-drop-no-link
...
Clarified and documented Weave NPC packet drops (w/o short URL).
2016-11-24 15:26:49 +00:00
Marc CARRE
d410ecd34c
Document logging of connection blocked by Weave NPC.
2016-11-24 14:04:43 +00:00
Marc CARRE
48569265e2
Add logging of connection blocked by Weave NPC.
2016-11-24 14:02:22 +00:00
Bryan Boreham
71782a6aa5
Merge pull request #2661 from weaveworks/fix-700-again
...
Wait up to 30s for version check error in logs
2016-11-24 10:52:47 +00:00
Adam Harrison
e283b0a1ce
Add release v1.8.1
v1.8.1
2016-11-23 12:25:07 +00:00
Adam Harrison
fa15193011
Wait up to 30s for version check error in logs
2016-11-23 10:53:42 +00:00
Adam Harrison
01c436ae15
Merge pull request #2642 from weaveworks/fix-launch-version
...
Fix weave-kube launch.sh version usage
2016-11-23 10:36:16 +00:00
Adam Harrison
664ba8735f
Merge pull request #2643 from weaveworks/issues/2632-cni-no-check-alive
...
Don't release CNI-allocated IP address when container dies
2016-11-22 16:17:11 +00:00
Bryan Boreham
937036aa64
Simplify default version string
2016-11-22 15:43:17 +00:00
Bryan Boreham
47cdf2b755
Simplify version sed
2016-11-22 15:42:53 +00:00
Adam Harrison
a6edd40de3
Merge pull request #2658 from weaveworks/issues/2632-use-pod-status
...
Make NPC only look at IP addresses on running pods
2016-11-22 15:27:48 +00:00
Bryan Boreham
4219c2c2ab
Only look at IP addresses on pods that haven't finished
2016-11-22 13:49:28 +00:00
Bryan Boreham
e7bde18f71
Merge pull request #2656 from weaveworks/add-jq-to-vagrantfile
...
Include jq in the build VM
2016-11-21 11:53:03 +00:00
Adam Harrison
233a776c41
Include jq in the build VM
...
Required to run the tests.
2016-11-18 17:59:13 +00:00
Bryan Boreham
9cc98919fa
Adjust CNI smoke-test to cope with new plugin behaviour
2016-11-14 19:53:54 +00:00
Bryan Boreham
e42600632f
Don't release dead container's IP addresses if not asked to check it is alive.
2016-11-14 19:53:54 +00:00
Bryan Boreham
49e76d1486
Merge pull request #2645 from weaveworks/fix-test-700
...
Replace iptables block with resolver override
2016-11-14 19:44:26 +00:00
Adam Harrison
965bed7c4f
Replace iptables block with resolver override
2016-11-14 17:11:17 +00:00
Adam Harrison
9b606fb823
Merge pull request #2637 from weaveworks/issues/2617-cni-expose
...
Remove 'weave expose' race in CNI plugin
2016-11-14 15:11:38 +00:00
Bryan Boreham
15d91c558b
Quote version string which may contain spaces, etc
2016-11-14 12:49:00 +00:00
Bryan Boreham
ffc5a78139
Add code-coverage options to weaver version call
2016-11-14 12:42:17 +00:00
Bryan Boreham
f8693074a3
Move CNI config file to the end of launch script
...
So something waiting for the config (e.g. Kubernetes) doesn't try to
talk to Weave before then (this only helps on first install, but that
tends to be when things are busiest).
2016-11-14 12:37:42 +00:00
Bryan Boreham
1629f4f3f0
Loop round iptables commands on EAGAIN
2016-11-14 12:37:42 +00:00
Bryan Boreham
10baab38d3
Extend smoke-test to include pinging
2016-11-14 12:37:42 +00:00
Bryan Boreham
e458c11e66
Weave script calls Go implementation of expose_nat
2016-11-14 12:37:42 +00:00
Bryan Boreham
a07e3301b1
Add 'weave expose' NAT iptables rules inside CNI plugin
...
This avoids a race between the plugin and the script
2016-11-14 12:37:42 +00:00
Bryan Boreham
2b4d13c5b1
Don't error on bridge address already there
2016-11-14 12:37:42 +00:00
Bryan Boreham
ad743b0e96
Merge pull request #2577 from weaveworks/2548-fix-reclaim-after-using-cni
...
Fix reclaim after using CNI; Fixes #2548 .
2016-11-14 11:28:42 +00:00
Marc CARRE
0544901357
Factorise "_" duplicates as a constant.
2016-11-11 17:00:26 +00:00
Marc CARRE
bc94633180
Re-claim IP on start-up when an existing ID has been found.
...
- Rewrote conditions to keep c.ident immutable and hopefully makes
things clearer.
- Added a case to tolerate reclaim after we have used CNI (passed CID
is “_” and existing CID is a real container ID).
2016-11-11 17:00:26 +00:00
Marc CARRE
16415404c7
Added automated test reproducing the issue.
...
test #4 "[
3e52b548e6df304c61ea5bee0af4b3515e025e7e25152c65ecae3d03c71cf52d ==
Unable to claim: address 10.32.0.3/12 is already owned by
fbe411facc8b657c5850591ab56fc40fb56160d43db0d7363a29ba3edad61134
Unable to claim: address 10.32.0.1/12 is already owned by
cf16a2bcdee8dd1ef7e5f0a611127611e67ea734f45d7526678fc3b1fc0c6f5d
3e52b548e6df304c61ea5bee0af4b3515e025e7e25152c65ecae3d03c71cf52d ]"
failed:
program terminated with code 2 instead of 0
1 of 6 tests failed in 6.499s.
2016-11-11 17:00:26 +00:00
Adam Harrison
46eb01604c
Merge pull request #2565 from weaveworks/2537-fix-status-on-version-check-failures
...
Improve 'status' to handle cases when the checkpoint API is not available
2016-11-11 16:14:24 +00:00
Marc CARRE
b03b3fccc7
Fixes 2537: status now prints 'failed to check latest version' when the checkpoint API is not available (+test).
2016-11-09 17:46:52 +00:00
Marc Carré
9414e2979d
Merge pull request #2599 from weaveworks/replace-kubectl-create-with-apply
...
Updated doc: replaced kubectl create with kubectl apply.
2016-11-07 16:31:31 +00:00
Marc CARRE
865664425b
Updated doc: replaced kubectl create with kubectl apply.
2016-11-07 16:18:40 +00:00
Adam Harrison
b060cf30f4
Add release v1.8.0
v1.8.0
2016-11-04 15:49:36 +00:00
Marc Carré
5352ed837a
Merge pull request #2598 from weaveworks/cni-setup-remove-symlink
...
Clean up CNI symlinks from weave-kube
2016-11-04 15:28:44 +00:00
Adam Harrison
d4d54a1ff5
Clean up CNI symlinks from weave-kube
2016-11-04 14:41:34 +00:00
Adam Harrison
ea82a6715f
Merge pull request #2569 from weaveworks/weave-kube-smoke-test
...
weave-kube smoke test
2016-11-04 12:58:20 +00:00
Martynas Pumputis
d356e32bdf
Merge pull request #2588 from weaveworks/kube-npc-docs
...
Document k8s addon & prometheus metrics
2016-11-04 12:50:41 +00:00
Martynas Pumputis
6193d22d2e
Merge pull request #2595 from weaveworks/change-npc-metrics-port
...
Change default NPC metrics port
2016-11-04 12:41:25 +00:00
Adam Harrison
50c9568073
Document Prometheus metrics endpoints
2016-11-04 12:33:06 +00:00
Adam Harrison
9d05ed41b2
Change default NPC metrics port
2016-11-04 12:31:01 +00:00
Adam Harrison
e3f7e0a23a
Merge pull request #2590 from weaveworks/issues/2586-/opt/cni/bin-never-upgraded
...
Add support for atomic and versioned upgrades of CNI plugin.
2016-11-04 12:27:48 +00:00
Marc CARRE
da2f0803ce
Add support for atomic and versioned upgrades of CNI plugin.
2016-11-04 11:54:22 +00:00