question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Microk8s snap fails to install on upgraded Ubuntu 20.10 machine

See original GitHub issue

Hi,

Install of the snap fails on a 20.10 (prerelease) amd64 machine, recently upgraded from 20.04:

https://paste.ubuntu.com/p/CwjrxxqJyj/

Since the snap fails to install, there’s unfortunately no way to run microk8s inspect.

This is a ZFS system, in case that makes a difference.

Here’s a full dump of what journalctl sees during the install - note that while I usually run UFW, it’s disabled for the course of this attempted install, to rule out firewall issues[1]:

https://paste.ubuntu.com/p/yzSQP9V2nR/

[1] That said, the 20.04 -> 20.10 upgrade does switch the system from legacy iptables to nftables, and I notice the install process does insert (legacy) FORWARD rules…

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:15 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
barrypricecommented, Sep 29, 2020

So this doesn’t appear to be an nftables issue after all. I think the next useful step should probably be to set up another 20.10 VM with a ZFS root, and see whether it installs correctly there - and then repeat in 20.04 VMs upgraded to 20.10.

I’ve set up a 20.10 VM by manually installing from the daily 20.10 Desktop image and selecting the ZFS root option during install, then upgrading all packages, and then running snap install microk8s --classic. But that seems to work fine with no errors.

So this must be something to do with my having upgraded from 20.04, I’ll continue trying to work on steps to reproduce in a VM.

0reactions
balchuacommented, Oct 29, 2020

@ktsakalozos i saw that the PR to load the cni later has been merged to the master, will the latest/edge have an arm version?

@desrod i am checking with the canonical team whether the arm version is ready.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Microk8s snap fails to install on upgraded Ubuntu 20.10 ...
Hi,. Install of the snap fails on a 20.10 (prerelease) amd64 machine, recently upgraded from 20.04: https://paste.ubuntu.com/p/CwjrxxqJyj/.
Read more >
Upgrading MicroK8s
If an upgrade is not possible it is possible to re-install MicroK8s targetting the desired version. Upgrade a single node cluster. Refreshing the...
Read more >
Install a local Kubernetes with MicroK8s - Ubuntu
Being a snap it runs all Kubernetes services natively (i.e. no virtual machines) while packing the entire set of libraries and binaries needed....
Read more >
Install microk8s on Linux | Snap Store - Snapcraft
MicroK8s is a small, fast, secure, certified Kubernetes distribution that installs on just about any Linux box.
Read more >
Microk8s snap broken - Ask Ubuntu
I had pasted a line in the Microk8s configuration that was supposed to enable it to work by changing iptables settings.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found