-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conntrack util not installed #5671
Comments
@johanneswuerbach Also, it would be super helpful if you could post the logs that show where k8s tried to call out to conntrack and failed. I'd need more information to make a definitive call, but I'm wondering if talking to coreos/redhat is the right place to push this forward? It sounds to me like a problem with the AMI, not a problem with how it was deployed. We (kops team: ie-> @justinsb ) create the debian images but I'm not sure if we're involved in the others. Is that fair and/or useful? |
We are running the latest stable CoreOS AMIs in us-east-1, currently 1800.7.0 / The addition of conntrack to CoreOS itself was rejected previously, coreos/bugs#485 Going forward with this I see currently three options:
We will go with 3. now, but I would prefer to upstream this into kops and would happily work on 2., if this is accepted. Option 2 is also similar, to what is proposed for GCI in upstream k8s kubernetes/kubernetes#64640 |
Ok that's useful context. Thanks for the additional details.
Thinking a bit deeper, option 1 is not possible this evening, but I think it's something that we may want to do as our release process automation matures. |
I would strongly speak against creating custom CoreOS images as this breaks tooling like https://github.com/coreos/container-linux-update-operator, which is the main reason for us to use CoreOS (no more manual security upgrades) There are already other customisation for CoreOS (like pulling socat) and I would just see that inline with this kops/upup/pkg/fi/cloudup/apply_cluster.go Lines 1084 to 1085 in 56ccfac
Overall the recommended approach for CoreOS is running the kubelet itself inside a container, but thats a whole different story. |
kubernetes uses the
conntrack
binary to perform some UDP related cleanup operations like kubernetes/kubernetes#59286 or kubernetes/kubernetes#22573It seems that kops is not explicitly installing the
conntrack
tool, causing those cleanup tasks to never be performed.Examples of others installing it
kubernetes/kubernetes#26839, kubernetes/kubernetes#64640
1. What
kops
version are you running? The commandkops version
, will displaythis information.
Version 1.10.0 (git-8b52ea6d1)
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.3. What cloud provider are you using?
AWS / CoreOS nodes
4. What commands did you run? What is the simplest way to reproduce this issue?
conntrack
5. What happened after the commands executed?
conntrack: command not found
6. What did you expect to happen?
conntrack
to be installed7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest.You may want to remove your cluster name and other sensitive information.
The text was updated successfully, but these errors were encountered: