-
Notifications
You must be signed in to change notification settings - Fork 670
iptables: No chain/target/match by that name. #2617
Comments
From @errordeveloper on October 24, 2016 17:26 The |
From @errordeveloper on October 24, 2016 17:26 I've tried to re-create the addon, but nothing changed. |
From @errordeveloper on October 24, 2016 17:28 I've been able to get around this by deleting the addon, running |
From @bboreham on October 25, 2016 10:41 The symptoms all match this message coming from We could certainly make the log messages easier to tie to what was happening. Since Kubernetes effectively buries the container log messages by deleting the container and re-trying, it's difficult to diagnose fully, and also difficult for the end-user to cure a part-successful launch. Can we do better? |
@errordeveloper could we get information on k8s/distro versions, cloud provider etc? The evidence points to something external to weave-kube having removed the |
From @raghu67 on November 4, 2016 17:23 I am seeing a similar issue. Here are the details: CentOS 7.2. Kernel Version: These are based on an old version of OpenStack and KVM. if that is relevant, I can find the details |
We have seen more failures with this symptom, and also an earlier failure. I conjecture that there is a race between the CNI plugin and This code in the weave script is inherently racy if someone else is doing the same thing at the same time:
and it gives the right error message:
We are still running |
I had the exact same problem and it took me nearly a day to figure out what's going on. If anybody encounters this problem in the future: The cause of this issue is most probably that your kernel is missing the Related: scaleway/kernel-tools#299 |
It would be great to find a way to probe for the absence of this module and show some meaningful error to the user, as this is very hard to debug. |
@pstadler I must confess to being slightly confused by the history of this issue, as the original error message is So forgive me when you say "I had the exact same problem", but what exactly were the symptoms in your case? It does not seem likely that a missing kernel module would be solvable "by deleting the addon, running Right now I think there are two or three different issues in the history of this one. |
Oh, you're absolutely right, exact same problem is definitely wrong. Let me clarify this. I got the same error message, but when starting weave-npc. I compared the host's iptables with the ones from a running setup and found the missing rules, which brought me to the solution I described above. You're definitely right that this is not related - sorry about that. I thought I just dump my findings into this issue here, in case somebody with the Do you want me to file a new issue? |
Note I added a line to |
Great. Sorry again for the confusion. |
Kubernetes container networking depends on the xt_set capability, see weaveworks/weave#2617 (comment)
From @errordeveloper on October 24, 2016 17:25
I've installed weave-kube on a Kubernetes cluster, after rebooting a node, weave-kube fails to start and logs this:
Copied from original issue: weaveworks-experiments/weave-kube#42
The text was updated successfully, but these errors were encountered: