Beta release: Multipass

It is built around a networked RPC (gRPC), so we’ve always considered networking it. Running instances over ssh never occurred to us and I’m not sure we’ll follow that (imagine moving the images across the network all the time).

Hi.

There is a rather big problem with multipass concerning storage management:
The VMs are stored under /snap but should be stored under ~/snap.
I only have 100GB of storage under / (which is no full) but 300GB under /home (almost 200GB free).

The system partition should be reserved for the important data like programs and system updates.
Storing VMs on the system partition means that important disk capacity is lost and installations and updates will fail rather sooner that later.

Please fix this.

1 Like

I installed slang (system.devel as well) but unfortunately i get the same error as before:

multipass launch daily:18.04
failed to launch: qemu-system-x86_64: error while loading shared libraries: libpcre.so.3: cannot open shared object file: No such file or directory

Try installing whatever package contains libpcre.so.3 on your machine? It still is a bug in our packaging, but that should at least get you going. Let us know please if there’s anything else missing.

So I only installed libprce and not libprce3

Solution:

sudo eopkg install libpcre3

After restarting Solus, multipass does not work anymore. I have experienced this problem 2 times (yesterday and today after starting the system for the day), so it seems to be reproducable…
The error I get when trying to run multipass:

>> multipass
cannot change profile for the next exec call: No such file or directory

After refreshing the install, I can get to the help screen, but trying to list or start instances results in a different error:

>> multipass list
list failed: Connect Failed

Reinstalling multipass fixes these issues, but only till the next reboot.

Can you check what journalctl -fu snap.multipass.multipassd.service prints when you snap disable multipass and then snap enable multipass?

From the error above it seemed like AppArmor confinement got confused.

Journalctl highlights 1 error:

Feb 12 22:02:56 notebook dnsmasq[3476]: cannot read /var/snap/multipass/common/data/multipassd/vm-ips/dnsmasq.hosts: No such file or directory!

Whole log:

Feb 12 22:02:50 notebook systemd[1]: Stopping Service for snap application multipass.multipassd…
Feb 12 22:02:50 notebook multipass.multipassd[3210]: gRPC listening on localhost:50051
Feb 12 22:02:50 notebook multipass.multipassd[3210]: Received signal: 15
Feb 12 22:02:50 notebook multipass.multipassd[3210]: Goodbye!
Feb 12 22:02:50 notebook systemd[1]: Stopped Service for snap application multipass.multipassd.
Feb 12 22:02:56 notebook systemd[1]: Started Service for snap application multipass.multipassd.
Feb 12 22:02:56 notebook dnsmasq[3476]: started, version 2.75 cachesize 150
Feb 12 22:02:56 notebook dnsmasq[3476]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
Feb 12 22:02:56 notebook dnsmasq-dhcp[3476]: DHCP, IP range 10.122.122.2 – 10.122.122.254, lease time infinite
Feb 12 22:02:56 notebook dnsmasq-dhcp[3476]: DHCP, sockets bound exclusively to interface mpbr0
Feb 12 22:02:56 notebook dnsmasq[3476]: reading /etc/resolv.conf
Feb 12 22:02:56 notebook dnsmasq[3476]: using nameserver 192.168.2.1#53
Feb 12 22:02:56 notebook dnsmasq[3476]: using nameserver fd00::e228:6dff:fe74:459b#53
Feb 12 22:02:56 notebook dnsmasq[3476]: read /etc/hosts - 8 addresses
Feb 12 22:02:56 notebook dnsmasq[3476]: cannot read /var/snap/multipass/common/data/multipassd/vm-ips/dnsmasq.hosts: No such file or directory!
Feb 12 22:02:56 notebook multipass.multipassd[3457]: QProcess::workingDirectory “/snap/multipass/111/qemu”
Feb 12 22:02:56 notebook multipass.multipassd[3457]: QProcess::program “qemu-system-x86_64”
Feb 12 22:02:56 notebook multipass.multipassd[3457]: QProcess::arguments ("–enable-kvm", “-hda”, “/var/snap/multipass/common/data/multipassd/vault/instances/SnappyDev/ubuntu-16.04-server-cloudimg-amd64-disk1.img”, “-drive”, “file=/var/snap/multipass/common/data/multipassd/vault/instances/SnappyDev/cloud-init-config.iso,if=virtio,format=raw”, “-smp”, “1”, “-m”, “2G”, “-device”, “virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:3c:46:e4”, “-netdev”, “tap,id=hostnet0,ifname=tap-efaa7cda50c,script=no,downscript=no”, “-monitor”, “stdio”, “-chardev”, “null,id=char0”, “-serial”, “chardev:char0”, “-nographic”)

Hi,
How to launch instances with multiple network interfaces to selected bridges ?

Hi @admin0 I see you found as on GitHub, I’ve answered there :slight_smile: