-
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
Unable to update cni config: no networks found in /etc/cni/net.d/ #10974
Comments
Please take a look at the troubleshooting guide and see if you can find out more: |
Thanks for the tip @hakman. nodeup was successful on the upgraded node
healthy node
bad node
We are using calico as our CNI so this makes sense. CNI plugin files are missing in On the bad node I am able to do kubectl commands to the API server such as healthy node
bad node
Only system pods have come up on the bad node, no daemonsets which includes calico, kops-controller, node-local-dns, etc. Running
Do you have any suggestions from the logs above? |
this may be relevant: #11014 |
I have the same issue upgrading a cluster to 1.19, I did found this instead projectcalico/calico#4237 however I'm not sure how I can apply that Update: I've added |
This should be fixed in kOps 1.20 that was just released and will be also fixed in next kOps 1.19.x in the near future. |
Oh my bad it seems brew still has 1.19 and I didn't check if there was an updated one, I'll redo an update with the updated one to not leave any custom files behind. |
@alex88 How did you apply |
@leonsp-ai I've edited the calico S3 file since I saw that the master node was reading the config from there and then I've restarted the master node. I think kops replaces that when you do |
1. What
kops
version are you running? The commandkops version
, will displaythis information.
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
4. What commands did you run? What is the simplest way to reproduce this issue?
Cluster is currently running Kubernetes v1.18.15 with Kops v1.19.1
kops rolling-update cluster clustername.tld --instance-group master-a --yes
5. What happened after the commands executed?
The existing master in instance group master-a was terminated and a new one started however it never joined the cluster. Investigating the logs on the instance it appears that the CNI was never started
From /var/log/syslog
6. What did you expect to happen?
The node to start normally with CNI and join the cluster
7. 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.
8. Please run the commands with most verbose logging by adding the
-v 10
flag.Paste the logs into this report, or in a gist and provide the gist link here.
9. Anything else do we need to know?
The text was updated successfully, but these errors were encountered: