Same issue in my case, running on Pop!_OS 20.04
:
- as the instance does not have access to the Internet (DNS resolution works fine, though)
- tried also to use this LXD, as being Linux specific (and only? option)
So, installed LXD:
$ sudo snap install lxd
[sudo] password for dxps:
lxd 4.15 from Canonical✓ installed
$
$ sudo lxd init
Would you like to use LXD clustering? (yes/no) [default=no]:
Do you want to configure a new storage pool? (yes/no) [default=yes]: no
Would you like to connect to a MAAS server? (yes/no) [default=no]:
Would you like to create a new local network bridge? (yes/no) [default=yes]:
What should the new bridge be called? [default=lxdbr0]:
What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]:
What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]:
Would you like the LXD server to be available over the network? (yes/no) [default=no]:
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]
Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]:
$
$ sudo multipass set local.driver=lxd
$
$ sudo snap connect multipass:lxd lxd
$
And then:
$ sudo multipass set local.driver=lxd
$ sudo snap connect multipass:lxd lxd
Unfortunately, the result is the same:
$ multipass networks
networks failed: LXD object not found
$
The same error is thrown when trying to multipass lauch
-ing with the --network
flag.
Any idea, please?
Thanks.