LAB 3.2 / 3.3 worker node joins cluster but is stuck in NotReady state
I've followed all of lab 3.1 and 3.2, but when beginning 3.3 and running the kubectl get node command, my worker is stuck in a NotReady state
When I run kubectl describe node I get a Ready False condition with the following reason:
container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized
running kubectl get pods -n kube-system shows two pods that are not ready:
cilium-operator-blahblahblah 0/1 Running 12 restarts
cilum-blahblahblah 0/1 Init:CrashLoopBackOff
Trying to diagnose those using google is proving to be a little over my head at this stage.
I am going through the labs on VirtualBox VMs running Ubuntu 20.04 server edition, my host is Ubuntu 22.04 desktop edition
Comments
-
Hi @paulkx,
What is the size of the vbox VM (cpu, mem, disk)? What type of network interface is configured for the VM? Is promiscuous mode enabled to allow all traffic to the VM?
Regards,
-Chris0 -
Hi @chrispokorni,
The VMs are both 2 cpus, 8GB ram and 25GB of disk space.
I think the network interfaces might be the issue - they both have a default NAT interface and a manually configured Host-only VirtualBox network (No DHCP, statically assigned IPs for both)
I have set the controlplane to use it's static IP from the latter interface as it's controlPlaneEndpoint, and have set the podSubnetwork to be the ip-range of this interface in kubeadm init config file.
I suspect the problem is here somewhere but I don't know enough to know what could be going wrong.I don't know about promiscuous mode but I'll be googling that as soon as I've posted this
0 -
Promiscuous mode was set to deny, but is now enabled but no change to the error
0 -
Hi @paulkx,
Try with a single bridged adapter per VM (it is a configuration that consistently worked for me, while there may be other solutions as well). Static IP or DHCP should be ok.
On the network adapter tab, simply check promiscuous mode and select "allow all" from the drop down menu.Regards,
-Chris0 -
That seems to have fixed it, thanks very much @chrispokorni
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 4 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 983 Software
- 375 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)