Closed stephendoren closed 6 months ago
Hi @stephendoren!
Sorry you are having this issue. Could you please provide more logs in order for us to better help diagnose the issue? Thanks!
The 14.3.1
(not 14.3
) may be a key, here.
I updated macOS today, and started getting something similar on one VM that was in "running" state over the update, and had one "native" mount as well. Did not have other VM's so cannot say do much compares. Creating a new VM works.
First, after the update:
$ multipass shell rust
shell failed: qemu-system-x86_64: -accel hvf: Unknown Error
This is also listed as a warning (not an error), in the /Library/Logs/Multipass/multipassd.log
:
[2024-02-09T15:48:29.119] [info] [rust] process started
[2024-02-09T15:48:29.126] [debug] [rust] Waiting for SSH to be up
[2024-02-09T15:48:29.131] [info] [daemon] Starting Multipass 1.13.0+mac
[2024-02-09T15:48:29.131] [info] [daemon] Daemon arguments: /Library/Application Support/com.canonical.multipass/bin/multipassd --verbosity debug
[2024-02-09T15:48:29.147] [warning] [rust] qemu-system-x86_64: -accel hvf: Unknown Error
[2024-02-09T15:48:29.147] [warning] [qemu-system-x86_64]
[2024-02-09T15:48:29.147] [info] [rust] process state changed to NotRunning
[2024-02-09T15:48:29.147] [error] [rust] process error occurred Crashed program: qemu-system-x86_64; error: Process crashed
[2024-02-09T15:48:29.148] [error] [rust] error: program: qemu-system-x86_64; error: Process crashed
I restarted the VM, thinking that might help. After the restart:
$ mp info
info failed: ssh connection failed: 'Timeout connecting to 192.168.64.74'
Edit:
Got the original VM up, by (macOS side):
$ sudo launchctl unload /Library/LaunchDaemons/com.canonical.multipassd.plist
$ sudo launchctl load /Library/LaunchDaemons/com.canonical.multipassd.plist
Also remembered: within the VM, the kernel version had recently changed from 5.15.0-92
to 5.15.0-94
, by apt upgrade
. I needed to update one driver because of this - no idea if these are connected. Hoping to be helpful; sorry if noise.
I uninstalled and re-installed multipass, now it keeps asking me to authenticate the service, as below:
launch failed: The client is not authenticated with the Multipass service.
Please use 'multipass authenticate' before proceeding.
I followed the instruction from this page: https://multipass.run/docs/authenticating-clients, but not working. It seems to fall into a bad loop.
# multipass launch -vvv
launch failed: The client is not authenticated with the Multipass service.
Please use 'multipass authenticate' before proceeding.
# multipass authenticate
Please enter passphrase:
authenticate failed: Passphrase is not set. Please `multipass set local.passphrase` with a trusted client.
# multipass set local.passphrase
Please enter passphrase:
Please re-enter passphrase:
set failed: The client is not authenticated with the Multipass service.
Please use 'multipass authenticate' before proceeding.
Hi @stephendoren,
It appears a different user authenticated first with the daemon. Did you happen to use sudo multipass ..
after (re)installing Multipass? You could try to see if something like sudo multipass list
works. If this does, then you can do $ multipass set local.passphrase
and set a passphrase that you can then use to authenticate with your normal user.
If this doesn't work, then you could try these steps under the "How to recover on macOS" section.
Hi @townsend2010,
Thanks a lot. The problem was resolved by this:
If this doesn't work, then you could try these steps under the "How to recover on macOS" section.
Now my Multipass is working.
Hi @stephendoren!
Glad that got it working for you! Are saying that the original issue you reported here is no longer occurring and we can close this or is there still an issue? Thanks!
Are saying that the original issue you reported here is no longer occurring and we can close this or is there still an issue? Thanks!
Yea, issue closed. Thanks.
Thanks!
Describe the bug multipass cannot start anymore error shows: "timed out waiting for response"
To Reproduce How, and what happened?
Logs
Additional info
OS: macOS Sonoma 14.3.1
multipass version: 1.13.0