Routing broken following Ubuntu 21.10 Upgrade
See original GitHub issueI was previously running v1.19 under Ubuntu 21.04 without issue, but following upgrade to 21.10 the cluster was pretty much hosed. Since then I’ve both microk8s reset
and snap remove microk8s
and installed the current edge release (v1.22.3).
The cluster starts but the calico controller gets into a Crash Loop with errors like:
2021-11-04 12:32:04.139 [INFO][1] main.go 88: Loaded configuration from environment config=&config.Config{LogLevel:"info", WorkloadEndpointWorkers:1, ProfileWorkers:1, PolicyWorkers:1, NodeWorkers:1, Kubeconfig:"", DatastoreType:"kubernetes"}
W1104 12:32:04.140304 1 client_config.go:543] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
2021-11-04 12:32:04.140 [INFO][1] main.go 109: Ensuring Calico datastore is initialized
2021-11-04 12:32:07.208 [ERROR][1] client.go 261: Error getting cluster information config ClusterInformation="default" error=Get "https://10.152.183.1:443/apis/crd.projectcalico.org/v1/clusterinformations/default": dial tcp 10.152.183.1:443: connect: no route to host
2021-11-04 12:32:07.208 [FATAL][1] main.go 114: Failed to initialize Calico datastore error=Get "https://10.152.183.1:443/apis/crd.projectcalico.org/v1/clusterinformations/default": dial tcp 10.152.183.1:443: connect: no route to host
If I try running any extensions (which I realise is a bit pointless while calico is broken) I see similar “no route to host” errors from pods trying to contact the Kube API.
I’m pretty much lost at this point. I suspect this may have something to do with cgroups2 but I’m speculating. Any advice on troubleshooting this would be much appreciated.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Routing broken following Ubuntu 21.10 Upgrade #2709 - GitHub
I was previously running v1.19 under Ubuntu 21.04 without issue, but following upgrade to 21.10 the cluster was pretty much hosed.
Read more >Failed upgrade to Ubuntu 22.04 (from 21.10) left system in ...
I first tried to update via the GUI software-updater. This stopped at the step "Getting new packages". Because of this I aborted and...
Read more >Upgrade to 21.10 failed! Please help!! : r/pop_os - Reddit
Hello all. I tried upgrading to the latest version using apt dist-upgrade but ran into this issue and do not know how to...
Read more >Fixing upgrade problems Ubuntu - Oh no! Something has ...
I recently upgraded my laptop from Ubuntu 21.04 to Ubuntu 21.10. Unfortunately the upgrade failed, but I managed to recover and complete the ......
Read more >Ubuntu Manpage: route - show / manipulate the IP routing table
DESCRIPTION. Route manipulates the kernel's IP routing tables. Its primary use is to set up static routes to specific hosts or networks via...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue after upgrading my Raspberry PI to Ubuntu 21.10. When I looked at the installation steps again to reinstall MicroK8S, I noticed the following note:
Installing the extra Linux kernel modules fixed it for me.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.