Skip to content
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

Networks failed: The networks feature is not implemented on this backend. Linux x86-64 #2597

Closed
jarrodu opened this issue May 27, 2022 · 5 comments

Comments

@jarrodu
Copy link

jarrodu commented May 27, 2022

It looks like I am getting the same issue was @pauljsymonds.

Operating System: Ubuntu 22.04 LTS
Kernel: Linux 5.15.0-30-generic
Architecture: x86-64
Hardware Vendor: Lenovo
Hardware Model: ThinkPad X1 Carbon Gen 8
multipass   1.9.2
multipassd  1.9.2
> multipass networks
networks failed: The networks feature is not implemented on this backend.

Originally posted by @jarrodu in #2364 (comment)

@townsend2010
Copy link
Contributor

Hi @jarrodu,

Since you are on Intel Mac, it is using the hyperkit driver by default and additional networks are not supported nor will ever be supported. In order to use --network/networks, you'll need to switch to the qemu driver:

$ multipass set local.driver=qemu

Please note that if you already have hyperkit instances, these instances will be hidden, but not lost. We plan on deprecating Hyperkit support this year and use QEMU exclusively, but the part that is not trivial is developing a way to migrate Hyperkit instances into QEMU instances.

@jarrodu
Copy link
Author

jarrodu commented May 27, 2022

Hi, and thanks for the quick response. I am actually running Ubuntu on a ThinkPad. It also looks like I am using qemu.

> multipass get local.driver
qemu

Do you mind taking another quick look at the issue?

Thanks again.

@townsend2010
Copy link
Contributor

Oh, sorry, I got confused about it originally being in a Mac issue.

Ok, yes, the qemu driver on Linux doesn't currently support additional networks. The lxd driver does and our intent was to move to LXD by default on Linux. However, I think QEMU will be staying and I'm thinking we should add additional networks for the qemu driver in due time.

Long story short, use the lxd driver on Linux if you need additional networks.

@jarrodu
Copy link
Author

jarrodu commented May 27, 2022

Okay. Perfect.

Just out of curiosity, is there somewhere I can learn more about why Multipass is not going to lxd by default? I am a big lxd fan. Especially, after 5.0 came out.

BTW: I am also a big Multipass fan. :-)

@townsend2010
Copy link
Contributor

Oh, we will still probably move to LXD as the default driver. It's just that we've had a few issues with images that we need to support that didn't integrate well with LXD, but that is getting sorted out. I meant that we'll still keep qemu as an option and not drop support for it.

That said, the lxd driver should work for most purposes and is fully supported by us. Feel free to switch to it and report any issues that you may find.

Glad to hear you like Multipass so much 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants