Whenever I try to build a core22 snap using multipass (via the following command
), the build fails spectacularly.
First, the system outputs Launching instance… which hangs for about 5 minutes, then I get
Failed to launch VM 'snapcraft-<snap-name>' Command that failed: 'multipass launch snapcraft:22.04 --name snapcraft-<snap-name> --cpus 2 --memory 2G --disk Command exit code: 2 Command output: <Long string of raw bytes>
After this, almost every multipass commands (excluding ‘multipass list’) cause the terminal to hang. This includes attempts to uninstall multipass altogether. If I attempt to try the machine, the system hangs on the boot splash screen (more precisely, I think it is hanging while attempting to turn off. Choosing ‘Power Off’ results in the same behavior as ‘restart’). At this point, the only way I can regain access to my system is by cold booting (Not sure it that’s the right word for holding my power button for 15 seconds until everything shuts off).
This feels like a bug to me, but I’m wondering if anybody else has experienced it and if there’s a way to fix it. The snap I’m currently working on won’t build with LXD, so it would be nice if I could get mulitpass to behave so that I can use core22.
Thanks in advance for any advice.