Closed anpep closed 2 years ago
I can confirm that the problem persists even after uninstalling/reinstalling multipass.
same. got time out on macOS 12.5, m1 Pro chip
❯ multipass launch -vvvv --name fit -c 8 -m 4G jammy
[2022-08-02T11:04:54.159] [debug] [qemu-system-aarch64] [67456] started: qemu-system-aarch64 --version
[2022-08-02T11:04:58.479] [debug] [qemu-img] [67458] started: qemu-img info /var/root/Library/Caches/multipassd/qemu/vault/images/jammy-20220712/ubuntu-22.04-server-cloudimg-arm64.img
[2022-08-02T11:04:58.490] [debug] [qemu-img] [67459] started: qemu-img resize /var/root/Library/Application Support/multipassd/qemu/vault/instances/fit/ubuntu-22.04-server-cloudimg-arm64.img 5368709120
[2022-08-02T11:04:58.504] [debug] [qemu-img] [67460] started: qemu-img snapshot -l /var/root/Library/Application Support/multipassd/qemu/vault/instances/fit/ubuntu-22.04-server-cloudimg-arm64.img
[2022-08-02T11:04:58.510] [debug] [fit] process working dir ''
[2022-08-02T11:04:58.510] [info] [fit] process program 'qemu-system-aarch64'
[2022-08-02T11:04:58.510] [info] [fit] process arguments '-machine, virt,highmem=off, -accel, hvf, -drive, file=/Library/Application Support/com.canonical.multipass/bin/../Resources/qemu/edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on, -cpu, cortex-a72, -nic, vmnet-shared,model=virtio-net-pci,mac=52:54:00:04:2a:5a, -device, virtio-scsi-pci,id=scsi0, -drive, file=/var/root/Library/Application Support/multipassd/qemu/vault/instances/fit/ubuntu-22.04-server-cloudimg-arm64.img,if=none,format=qcow2,discard=unmap,id=hda, -device, scsi-hd,drive=hda,bus=scsi0.0, -smp, 8, -m, 4096M, -qmp, stdio, -chardev, null,id=char0, -serial, chardev:char0, -nographic, -cdrom, /var/root/Library/Application Support/multipassd/qemu/vault/instances/fit/cloud-init-config.iso'
[2022-08-02T11:04:58.512] [debug] [qemu-system-aarch64] [67461] started: qemu-system-aarch64 -machine virt,highmem=off -nographic -dump-vmstate /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/multipassd.sQHYeQ
[2022-08-02T11:04:58.545] [info] [fit] process state changed to Starting
[2022-08-02T11:04:58.547] [info] [fit] process state changed to Running
[2022-08-02T11:04:58.547] [debug] [qemu-system-aarch64] [67462] started: qemu-system-aarch64 -machine virt,highmem=off -accel hvf -drive file=/Library/Application Support/com.canonical.multipass/bin/../Resources/qemu/edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on -cpu cortex-a72 -nic vmnet-shared,model=virtio-net-pci,mac=52:54:00:04:2a:5a -device virtio-scsi-pci,id=scsi0 -drive file=/var/root/Library/Application Support/multipassd/qemu/vault/instances/fit/ubuntu-22.04-server-cloudimg-arm64.img,if=none,format=qcow2,discard=unmap,id=hda -device scsi-hd,drive=hda,bus=scsi0.0 -smp 8 -m 4096M -qmp stdio -chardev null,id=char0 -serial chardev:char0 -nographic -cdrom /var/root/Library/Application Support/multipassd/qemu/vault/instances/fit/cloud-init-config.iso
[2022-08-02T11:04:58.547] [info] [fit] process started
launch failed: The following errors occurred:
fit: timed out waiting for response
Hi @anpep, @RanKKI, you're probably being affected by the firewall issue. You could try to see if disabling it or putting it in debug mode would fix it for you.
Let us know if it works!
Hi @anpep, @RanKKI, you're probably being affected by the firewall issue. You could try to see if disabling it or putting it in debug mode would fix it for you.
Let us know if it works!
Aha, it works after turning off the firewall.
Good, thanks for letting us know :) yeah that's a painful issue right now...
I'll close this as duplicate now. Please reopen if there is something else involved.
Duplicate of https://github.com/canonical/multipass/issues/2387
Hi @anpep, @RanKKI, you're probably being affected by the firewall issue. You could try to see if disabling it or putting it in debug mode would fix it for you.
Let us know if it works!
Thanks @ricab! Unfortunately, the issue persists even after:
The logs stay pretty much the same, though. I would say it's maybe a macOS 13.0-related issue, but I had it working last week with no problems...
Oh bummer :/ Have you tried setting the firewall to debug mode, as linked above? Do you see any relevant info under /var/log
Oh bummer :/ Have you tried setting the firewall to debug mode, as linked above? Do you see any relevant info under /var/log
I did not read that bit, it worked like a charm after that. Thank you!
Also, @anpep have a look in here, particularly the "generic networking" section. Does anything in there help?
Oh crossed messages... thanks, good to know!
Oh crossed messages... thanks, good to know!
No worries 👍 BTW, is the debug mode a permanent thing or should I run that every time my OS boots? Thank you!
I am not sure, but I suspect you would need to edit a plist file somewhere to make it permanent.
Describe the bug I've got an Ubuntu 22.04 VM that worked perfectly before but since a few days ago it won't start on macOS
To Reproduce How, and what happened?
multipass shell
Starting primary
shows on my terminal and eventually fails with a time out:Expected behavior My VM to start and pop a shell
Logs
Additional info
multipass version
multipass info --all
multipass get local.driver