Open DominicBurkart opened 1 year ago
Running brew reinstall qemu
then brew uninstall --zap --cask multipass && brew install multipass
didn't resolve the issue.
Killing all processes associated with multipass (as recommended here: https://gist.github.com/zulhfreelancer/12817fa5d1579bb640ed00dff8327a4a) also doesn't resolve the issue.
resetting the network as described here also did not work: https://multipass.run/docs/troubleshoot-networking#heading--network-routing-problems
I'm in the same situation.
OS: Ventura 13.5
multipass version
multipass 1.12.2+mac
multipassd 1.12.2+mac
This one has been resolved. What we did
$ sw_vers
ProductName: macOS
ProductVersion: 13.5.2
BuildVersion: 22G91
However, since we don't know the root cause, the phenomenon is likely to occur again, and we would like to continue to watch for it.
Ran into the same issue and the reinstallation of qemu and multipass via brew did not resolve it for me.
❯ sw_vers
ProductName: macOS
ProductVersion: 13.5.1
BuildVersion: 22G90
❯ multipass version
multipass 1.12.2+mac
multipassd 1.12.2+mac
Hey, @DominicBurkart! From the way you described it so far, it sounds like a case of #2387. Is the firewall enabled on your machine? If so, please try to disable it, reboot and try using Multipass again.
You can also try running the following commands to allow bootpd
to run.
$ sudo su -
$ /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
$ /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/bootpd
$ reboot now
But it might not be the same issue as that one, so please let me know if this doesn't work
I met the same problem just from this month.
I tried to run socketfilterfw, but got error Firewall settings cannot be modified from command line on managed Mac computers.
Is there any other method to workaround?
Hi @bitsf I am afraid that we do not have other workarounds except the one that has been discussed. https://github.com/canonical/multipass/issues/2387 This post has more info, but the socketfilterfw
is the distilled information from that post.
Finally, I added /usr/libexec/bootpd into firewall from GUI, and reboot Mac, then it can work now.
my multipass can't start again after several days.
And I find if I run sudo 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:f6:c6:64 -device virtio-scsi-pci,id=scsi0 -drive "file=/var/root/Library/Application Support/multipassd/qemu/vault/instances/primary/ubuntu-22.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 -cdrom "/var/root/Library/Application Support/multipassd/qemu/vault/instances/primary/cloud-init-config.iso" -display default,show-cursor=on -qmp stdio
, it seems failed to start the VM
But if I remove the gic-version=3
, just use -machine virt
or use -machine virt,gic-version=2
, it can start the VM.
I'm not sure if this is an issue
I was able to resolve this issue using the OnyX tool as recommended in another GH issue relating to VM start issues: https://github.com/canonical/multipass/issues/3003#issuecomment-1736353490
I ran into exactly this problem. Looking into Onyx
Same here after fresh install Sonoma on M1. Pretty useless software like this. How do I completely remove everything including all the gunk?
Firewall off statu
~$ multipass list
Name State IPv4 Image
repository-host Unknown -- Ubuntu 22.04 LTS
kube-master Unknown -- Ubuntu 22.04 LTS
kube-node01 Unknown -- Ubuntu 22.04 LTS
kube-node02 Unknown -- Ubuntu 22.04 LTS
~$ sw_vers
ProductName: macOS
ProductVersion: 13.4.1
BuildVersion: 22F82
~$ multipass version
multipass 1.12.2+mac
multipassd 1.12.2+mac
/cc @townsend2010 Is this situation included in the restoration plan?
Hi @yzcyayaya!
I'm having the same problem, how can I solve it?
Could you please provide the log?
Is this situation included in the restoration plan?
Sorry, I'm not really sure what you mean by the "restoration plan."
Is this situation included in the restoration plan?
Haha, it's okay, I solved my needs using kvm from another machine
➜ .output git:(pc) multipass exec docker docker
exec failed: Cannot retrieve credentials in unknown state
➜ .output git:(pc) multipass shell docker
shell failed: Cannot retrieve credentials in unknown state
➜ .output git:(pc)
Describe the bug
All instances are in an unknown state after unexpected restart due to battery issue, and new instances cannot be created.
I assume that I need to delete some qemu images / configurations, but am not sure how to proceed. If possible, it would be awesome if multipass could recover from this issue!
To Reproduce How, and what happened?
multipass launch --cpus='5' --memory='8G' --disk='64g' --name ad && multipass shell ad
).Unknown
and cannot run. The instance can be stopped (or directly deleted and purged), but cannot be started or a shell opened. New instances can be created but not started or a shell opened.Expected behavior
multipass can identify and recover the issue (underlying driver misconfiguration?), allowing new instances to be created.
Logs Please provide logs from the daemon, see accessing logs on where to find them on your platform.
From running
multipass launch --cpus='5' --memory='8G' --disk='64g' --name ad && multipass shell ad
:Additional info
multipass version
multipass info --all
multipass get local.driver
Additional context
In my case, the instance does not need to be recovered; priority is just being able to create new instances.
Similar issues identified:
I don't think any of the solutions there are relevant to this case, where a full reinstall didn't solve the issue.