canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.51k stars 632 forks source link

Start failed: The following errors occurred • macOS 14.4.1 #3546

Closed ghost closed 3 days ago

ghost commented 3 weeks ago

To Reproduce How and what happened?

  1. I start ON the principle of "multipass".
  2. The starting image is ""primary"**
  3. I open the shell. I'm waiting for the image to launch.
  4. After a while, it issues an error: "start failed: The following errors occurred" & "primary: timed out waiting for response"

Expected behavior What did you expect?

  1. Launch the image to connect via ssh.

Magazines Attached .log

Additional information

multipassd.log

ricab commented 3 weeks ago

Hi @Ilya-Yurievich, I see that you could use the primary instance for a while and that the issue you report started after it was suspended. Shortly after, the QEMU process crashed. It is possible that the instance got corrupted. What happens if you run this command manually?

sudo /Library/Application\ Support/com.canonical.multipass/bin/qemu-system-aarch64 -machine virt,gic-version=3 -accel hvf -drive file=/Library/Application\ Support/com.canonical.multipass/bin/../Resources/qemu/edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on -cpu host -nic vmnet-shared,model=virtio-net-pci,mac=52:54:00:a4:9c:de -device virtio-scsi-pci,id=scsi0 -drive file=/var/root/Library/Application\ Support/multipassd/qemu/vault/instances/primary/ubuntu-24.04-server-cloudimg-arm64.img,if=none,format=qcow2,discard=unmap,id=hda -device scsi-hd,drive=hda,bus=scsi0.0 -smp 1 -m 1024M -qmp stdio -chardev null,id=char0 -serial chardev:char0 -cdrom /var/root/Library/Application\ Support/multipassd/qemu/vault/instances/primary/cloud-init-config.iso -loadvm suspend -machine virt-8.2

Do you see a window popping up? What does it say?

Also, when did you install QEMU via HomeBrew? Before or after you first used the primary instance?

ricab commented 3 days ago

Closing for lack of reply.